{"name":"@reach/combobox","version":"0.15.0","description":"Accessible React Combobox (Autocomplete).","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","sideEffects":["*.css"],"repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/combobox"},"dependencies":{"@reach/auto-id":"0.15.0","@reach/descendants":"0.15.0","@reach/popover":"0.15.0","@reach/portal":"0.15.0","@reach/utils":"0.15.0","highlight-words-core":"1.2.2","prop-types":"^15.7.2","tslib":"^2.1.0"},"devDependencies":{"react":"^17.0.2","react-dom":"^17.0.2"},"peerDependencies":{"react":"^16.8.0 || 17.x","react-dom":"^16.8.0 || 17.x"},"main":"dist/reach-combobox.cjs.js","module":"dist/reach-combobox.esm.js","types":"dist/reach-combobox.cjs.d.ts","eslintIgnore":["node_modules","dist"],"gitHead":"1449650359c119c1afe25973aa7584e09e2c88bc","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.15.0","_nodeVersion":"15.14.0","_npmVersion":"lerna/3.22.1/node@v15.14.0+x64 (linux)","dist":{"integrity":"sha512-f29iYpQS5mDA4mmc6mWyHKPDRKV5ZnYSyCqSQCvxSF21Dpl2UDj5W+BsV8IKabA07D/qaJBoZOXfV+W95pzGMw==","shasum":"2d0e3dc879405a59455723e7daba89d5baa13427","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.15.0.tgz","fileCount":10,"unpackedSize":120467,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbUSQCRA9TVsSAnZWagAA+3kQAJ5UMPgzCoQv1SfGEo+D\nG+EnSy9ISWpi+nmB4GOCii4tUyPyRgyaz78fmoUrDCMpL2HFJolUTL7byWPV\n+U+l/pYjDjcg5UnBpmV5iqHEU5j/FuD4zDfIAbPsjCjUSSFDIqf6N821fEJQ\nFdzgqOfBd6nDJtCZyATGJP7LBDjhasTx7W7Z/d3ZknOS/YGuAkT5tkD/GtJd\nqs4QdY+V6TAqmu7fTwREGebIuk13czE/t/jnjsLKJMtJVFopEzfIM5VXJ7DI\nvVxRZvbE4OGINzMlSGS+8cyJA66BSJT/cVTQW1Sm3QIRYhEIsA92zAg0jhf8\nEojv5hZI7dnEMcmilc5Y3rnPOUrWHc2UqYHKgtDwamj86qHEnHsmR2GSJm1f\ndjM6iqraQIWFtZsT92+AjSV5M3woLppXSC0br2cA7oYNlfM/nkZp1rhkBiUk\njs8bqoKRPkCC5P/YD7j0mwOgVuZL/3uSNbw8zvEgaJOhPG4bWZqQsrxiKpkE\nRnreWI4ugZmqUR5XQn4OCSBCFi5p+MAQdPH3xX0y40OOriR3J7nu3nLluCsm\nJOxu3GUHAWOAiAF6MHl0Lq+8IJN2n/C9gB18liTuK3H6Dxt5SXMqiej7FDcR\nSL00lI2n+jzU/zAFN9NF1aXN7861UgueK2aS0YhTIYi9wDXXYLIIGfz4lpvV\nPYRR\r\n=SYhs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGkBuSYUBKAXsHRyd74Iv58e0lPEpxS0jiAf/M/uJ0qVAiEArkS7U3zazW1hJijd7+x5j/C1gZmN6wv0+tDZ0Q6wYwc="}],"size":28976,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.15.0.tgz"},"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"},{"name":"mjackson","email":"npm@mjackson.me"},{"name":"chancestrickland","email":"chance.strickland@gmail.com"},{"name":"blainekasten","email":"blainekasten@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/combobox_0.15.0_1617773711827_0.9255021173085527"},"_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":1617773712004,"_cnpm_publish_time":1617773712004,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}