{"name":"@reach/combobox","version":"0.6.2","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.6.1","@reach/popover":"^0.6.2","@reach/portal":"^0.6.2","@reach/utils":"^0.6.1","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"},"gitHead":"00e73c5da6d25f50194612f74de71156fde2a80a","_id":"@reach/combobox@0.6.2","_nodeVersion":"13.2.0","_npmVersion":"lerna/3.18.4/node@v13.2.0+x64 (linux)","dist":{"integrity":"sha512-/OxGerqFsnUDF1iNtXpkX1GGlqmV99iVO7+SzaqyqNuz//fYu/01zPgfGYpiIb5f65sT5w7ZOa8DmQkD6KeMxg==","shasum":"58b9f4ebfc4691ad330d22bab946cb3ab3895f50","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.6.2.tgz","fileCount":7,"unpackedSize":92537,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2I9WCRA9TVsSAnZWagAAoecP/12kdRNEzNL8HEb8EUpe\nVgDjea8yfLPlID3u1PtNguUi668GLr84n7E428yYEgcTAkhlnb0SsGEHt5rg\nBidhYreumX2xCrCFWYZzxhXhdLnR1dDF0LknyLlyF1qVKZuwdHdP+Kt/BM/m\njD+O3Np9+oj5+DLr2BxN99EKb7V2WjhGmgTtgDmXEQgG4qxRmGrloRYF2oo0\neOWMKuZ/mQ2NGbPPQNa9S2Q3jBlpSHki1am9+CkRnTXBghk5JJT7BsbhO0d/\n4jlehvS/k5AClYH4/qjAx4Idd9RB/h8w8j14IQ20nWkfcatg2bnqJ3NMP8PO\nWAimz56OiGoWheRfUHbjR6E1WYfRN8G+drf0lAaujxBm6P6jlm3Pm9Yiv8C3\nkOZofFKRSsOV0XWcq6e3CzUBhpmTFJPWW0+lu02BxGNrX8tNZtzOYtreLRBE\nSBhYStRUml0kHCSMGJ7HddPhEOQMTDuXUBLS79z9qCnrjusY1o7RJEjMKqFH\n01iS16yoEz6c2H72n8m/WGo0Nkq2d65QWfnMaZBYlWKxa9/N97qdAwUjGBd9\nPxBfVe/OYthIESKHAvNU7BJSKVCJtsHXvI55bbWVmMgSE/uA2V1DBI/lDqdR\n3lxeWQe0grPl1ICBsDu2MjzFAjU3zOU3ZwncwMiFywAdzxR0iGQpL+oGlHHl\nSUIp\r\n=vF1W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGYypiG9GiKGwqpH3Dt8xlTmdFG/ELkn7CQ7rKDCX/eOAiAD6XEcI+KOx6oa8zysZjrCxAs4XvwYZMdLORZYrsNt0g=="}],"size":15172,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.6.2.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.6.2_1574473558530_0.09333056002545126"},"_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":1574473558724,"_cnpm_publish_time":1574473558724,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}