{"name":"@reach/combobox","version":"0.1.0","description":"Accessible React Combobox (Autocomplete).","author":{"name":"Ryan Florence","email":"@ryanflorence"},"license":"MIT","main":"index.js","module":"es/index.js","scripts":{"test":"echo \"Write some tests you bum!\"","build":"node ../../shared/build-package","lint":"eslint . --max-warnings=0"},"dependencies":{"@reach/auto-id":"0.2.0","@reach/popover":"^0.1.0","@reach/portal":"^0.2.1","@reach/utils":"^0.2.3","escape-regexp":"0.0.1","highlight-words-core":"1.2.0"},"peerDependencies":{"prop-types":"^15.6.2","react":"^16.8.0","react-dom":"^16.8.0"},"devDependencies":{"jest":"^23.4.2","match-sorter":"^2.3.0","react":"^16.8.0","react-test-renderer":"^16.8.0","use-throttle":"^0.0.3"},"jest":{"testRegex":".+\\.test\\.js$","testURL":"http://localhost"},"_id":"@reach/combobox@0.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"dist":{"integrity":"sha512-i/IlTG3kfXeMs3HR1nY5n765ceyfNSrHKXJyd9c5iCiNn7//cFBpqydanKWQlmQsZ6uTZYO5qaMWUo5i6Ybx8w==","shasum":"91e31074e0524f951da09ca6e3c980b27dec9414","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.1.0.tgz","fileCount":6,"unpackedSize":128648,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+ox8CRA9TVsSAnZWagAAkD4P/A8dLfqk+qBA8KsObpV9\nj/VX4zUxmLDM36XmxfR7AgsxbnPJveWB5YLE0AboQOSqswxiAjhv81xbb5QK\nP0a+tiqj5Y29n/F6pSKTc/g76Auo2m6vrozdBY8Y+GK2HXGmFoPXKYRMQVRr\nQgggvAsZQlQSpgnJJUUOaxJ5LBKmEzJQce0olD4/wnN/v0Dy+7qZrC/QnbqZ\n713Mu8bOA/LMEUXdSJqz0rrtIpws77f9uoMl0OGVQMlhlvMwhYgieQIT0Yal\ntqLXkmvbnFrIpCNWRZp2bHsj+dplzKy1vYR4srhPZCF0PI5gw5UPIIOqt3GV\nuQcfAw8gat1VjGvIL8SJ0uBkE6+BZ95ge/jGk1MTWn2aa8b+0AdnLwwyUW4K\n7AARDi3PXxoYO77We6LClD52X/MBdQjLPdPVKOjZF03YQNotRKlef+YVvkvO\n1vhlOVAwWLGCKrKuUFn0L62r7N49JRNrrOIAPrsjzjvkZ+RnEGZgn/gdOJeL\nMERbBCb6+8V8iYkeupr1uAls+gfXulWBq2+TsT0iq7w69XLKkD+vpAO4Ch1O\nFcHaNPGls81qgxrOPlVGOYTThJTlS/Etf7kDY2tJWHB/r8qPimO1SoNehEby\nD5hS6oilvFZogwUQ+zd1mZIhh9adyfTl/RojZJ9fAMH9eMPKlDLGkgUctVnF\n/rR8\r\n=5bVI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKVev1/Bf6oaHNERCODLfDAFVZXG5Rdc5nlOZIO40UjwIgWN4IOWakXpZe3z+0n28e7bwiwVF3fpLZOT7lcU17VFU="}],"size":22616,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.1.0.tgz"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/combobox_0.1.0_1559923835964_0.17901785852768604"},"_hasShrinkwrap":false,"readme":"# @reach/combobox\n\n[![Stable release](https://img.shields.io/npm/v/@reach/combobox.svg)](https://npm.im/@reach/combobox) ![MIT license](https://badgen.now.sh/badge/license/MIT)\n\n[Docs](https://reach.tech/combobox) | [Source](https://github.com/reach/reach-ui/tree/main/packages/combobox) | [WAI-ARIA](https://www.w3.org/TR/wai-aria-practices-1.2/#combobox)\n\nAccessible combobox (autocomplete or autosuggest) component for React.\n\nA combobox is the combination of an `<input type=\"text\" />` and a list. The list is designed to help the user arrive at a value, but the value does not necessarily have to come from that list. Don't think of it like a `<select />`, but more of an `<input type=\"text\" />` with some suggestions. You can, however, validate that the value comes from the list, that's up to your app.\n\n```js\nimport {\n\tCombobox,\n\tComboboxInput,\n\tComboboxPopover,\n\tComboboxList,\n\tComboboxOption,\n\tComboboxOptionText,\n} from \"@reach/combobox\";\nimport \"@reach/combobox/styles.css\";\n\nfunction Example() {\n\treturn (\n\t\t<div>\n\t\t\t<Combobox>\n\t\t\t\t<ComboboxInput aria-labelledby=\"demo\" />\n\t\t\t\t<ComboboxPopover>\n\t\t\t\t\t<ComboboxList aria-labelledby=\"demo\">\n\t\t\t\t\t\t<ComboboxOption value=\"Apple\" />\n\t\t\t\t\t\t<ComboboxOption value=\"Banana\" />\n\t\t\t\t\t\t<ComboboxOption value=\"Orange\" />\n\t\t\t\t\t\t<ComboboxOption value=\"Pineapple\" />\n\t\t\t\t\t\t<ComboboxOption value=\"Kiwi\" />\n\t\t\t\t\t</ComboboxList>\n\t\t\t\t</ComboboxPopover>\n\t\t\t</Combobox>\n\t\t</div>\n\t);\n}\n```\n","publish_time":1559923836091,"_cnpm_publish_time":1559923836091,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}