{"name":"@reach/combobox","version":"0.10.2","description":"Accessible React Combobox (Autocomplete).","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/combobox"},"scripts":{"build":"ts-node ../../scripts/build"},"dependencies":{"@reach/auto-id":"^0.10.2","@reach/descendants":"^0.10.2","@reach/popover":"^0.10.2","@reach/portal":"^0.10.2","@reach/utils":"^0.10.2","highlight-words-core":"1.2.2","prop-types":"^15.7.2","tslib":"^1.11.2"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/combobox.esm.js","typings":"dist/index.d.ts","gitHead":"9e4b9adab7fd3085b1fb4b54882a2231308b7416","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.10.2","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.20.2/node@v14.2.0+x64 (linux)","dist":{"integrity":"sha512-Lpoom/D6ns2PdQngWf3iSdXL6qODQnpWg+z/I5bNoG5xy2ZTsKxRXzBIkdqDPWDwmOE8GYKa8If0esKVjcdRKA==","shasum":"d0af23a858a9bcda14119be84216c6680d659103","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.10.2.tgz","fileCount":12,"unpackedSize":253069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuYgmCRA9TVsSAnZWagAAC70QAIwFQeprbQiDMoLyQyEH\nC5KMdpV3RFfjy/nlf0htW/X25Leog+LP4VBn1JUG3yWWhNQg/DZza3YWn8CV\n+VkdE/iAkF51efLvGtZRF6xPLbMYeQFcr6n9OV2E5y5KTBNPir1AvqSyOj2C\njzgSRdeCNvrdYEqYg+SDr3wAewSZFT5N1MGNHN+gVB8wXbBzzW2Z0/gAaYr/\n70SD6L6yPhYf9gfO+QCdnH3vQuj53CFf65dyT0BW8A46fPXMJlX6PwHA9K2w\nungvuYNM7evpunVz9Il5k01kk425+zyoefwOd5Q1qH9GjHmVk7BjYvwxfhKC\nhpsZdR9xNR2SvRwsex1Boi94WvOkaID1+06zOStKWPWzq4EKC7Zgx9xAyXLV\ngQd3cb5vNQo/QPUJh0jbD4yptbyCDDrm+hz0m6h/E4zsRpMBverY+BrfPH35\nzq6eMZfYu58+1/hHRh5ujcCCOVhYy3hVscyp8pZbye946MNcd7TMSrOndXGZ\nWLk2TJcweXaOIWDASss+HD+L9kLpkHClXlE3Gf/jsr/+chf4Uw71quo188ub\n5/DNHOOKLjhoDoU1SuSf/vUHmzGmHbzlzsHKczchfv7LcbQfC6Ew6jGa2Oyi\n8MQlNb+w82BQiyz/0jdgDNHEIJ0/dbIoOiVdVtIDqD/lRtzAtGNktRUPwcJX\nZvrM\r\n=6cx0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIChUh0l3omH70WamqIGvs55IoZ8RzAbQjW5hKE0v7ePaAiEA3+MxxBLtevyEzSijZSfPGUQy3vQTdaGoQbxC8ocveP4="}],"size":69754,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.10.2.tgz"},"maintainers":[{"email":"blainekasten@gmail.com","name":"blainekasten"},{"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.10.2_1589217318188_0.15031612415234008"},"_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":1589217318324,"_cnpm_publish_time":1589217318324,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}