{"name":"@reach/combobox","version":"0.5.3","description":"Accessible React Combobox (Autocomplete).","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","main":"index.js","module":"es/index.js","scripts":{"build":"node ../../shared/build-package"},"dependencies":{"@reach/auto-id":"^0.5.3","@reach/popover":"^0.5.0","@reach/portal":"^0.5.0","@reach/utils":"^0.5.0","escape-regexp":"0.0.1","highlight-words-core":"1.2.0","prop-types":"^15.7.2"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"devDependencies":{"match-sorter":"^2.3.0","react":"^16.11.0","react-test-renderer":"^16.11.0","use-throttle":"^0.0.3"},"gitHead":"29e599938054fd0601f347f66d8671e690ecf879","_id":"@reach/combobox@0.5.3","_nodeVersion":"13.0.1","_npmVersion":"lerna/3.18.3/node@v13.0.1+x64 (linux)","dist":{"integrity":"sha512-1KwAU9M2BgTxBUh3NkbMyPA6qOYFFHvJpURMmm86B7EUinayM7y72xmAJPUu8NG7OPnztGI8K8wJM8SBX0MqgA==","shasum":"d495d7691433836f640936dca941b290b585ad72","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.5.3.tgz","fileCount":7,"unpackedSize":91719,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwKhICRA9TVsSAnZWagAA4H8P/27ZgVr5L0AzZpifItKZ\niBF2HZuQAmrXbyAY9AdRDpmHCbaNpNLV8JhB3zo1DT/4Y0e6gragEs36YgJY\nePZWLt+HmLfIL4Yi0sOCW7VcfkZiLvpAUZ3+jF8M/hFZJsfdnDg6iIeiJKGF\nXoWPKYp0amULgrBNhU5mg0DkR/Oaogr9g+iULIcqwpM7VahCkazpjt07+Oq0\nS0qaTufhFzHfONOB02489/TbPvb85gh6oetkwUj7dvWdXg/UkOCYBADj+Tve\nCFcYOOUWZL7MYm4S6M2X5yfeZqKuHiwmq7TpoGUelhv11N4g805oEqp7WF4i\ntURTTElDH/bYvZmdbTqBhdCN7mAPVJBiMaeCES2siSVB0Y4K+nCjNQQyklPM\nF2zx5AJLIncrvtD79KNSiGyuv2ULaXsa9ncNJv2Zih33nNRkAMB01liqgNck\n3QCp5xYorOucG/MBrID+2sAKa/hn/gVoYGuTE3Wx88KhSvC9hp5rTJf65omK\nyiCrVutCJaI7V0h7xlVLDpjzPR4SnZ5n44I9rSj4VtB+P5Siqs67JhXPI3Jd\nv7hVYp9oFtmZjqYf4DNlOa7tEywU4adlcIbdjFgGECeSrumCGLybTN+BIPSZ\n//VAaHwDGeUpf8jUr0XAH+o9zoCJOcUC5O/yOeXbY8xl1LXw4mO8GG5i81LB\nkAbm\r\n=mpkr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjRI8opygPYnACfiDWR0Hg+1/nHnUIAEZVkhMJA2pcRAIhAM6Cn0Je2D25+phUbBuy5rhbiOlbWqgJmUO0AGgpik5E"}],"size":15150,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.5.3.tgz"},"maintainers":[{"email":"chance.strickland@gmail.com","name":"chancestrickland"},{"email":"npm@mjackson.me","name":"mjackson"},{"email":"rpflorence@gmail.com","name":"ryanflorence"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/combobox_0.5.3_1572907079719_0.02608380374424235"},"_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":1572907079873,"_cnpm_publish_time":1572907079873,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}