{"name":"@reach/combobox","version":"0.13.0","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 --transpile-only ../../scripts/build-package $npm_package_name"},"dependencies":{"@reach/auto-id":"0.13.0","@reach/descendants":"0.13.0","@reach/popover":"0.13.0","@reach/portal":"0.13.0","@reach/utils":"0.13.0","highlight-words-core":"1.2.2","prop-types":"^15.7.2","tslib":"^2.0.0"},"peerDependencies":{"react":"^16.8.0 || 17.x","react-dom":"^16.8.0 || 17.x"},"main":"dist/index.js","module":"dist/combobox.esm.js","typings":"dist/index.d.ts","gitHead":"c5234721d372e2ab2a7745475007605e78d18895","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.13.0","_nodeVersion":"15.6.0","_npmVersion":"lerna/3.22.1/node@v15.6.0+x64 (linux)","dist":{"integrity":"sha512-YEJXnXPyq3EaHaxymdR7vYj9IJBs17y+bKea9b5Jmba0tTq3ITLTfMFycdRkUQ6CKg2EthUAe0kAG4qAnwNmeg==","shasum":"16bbdae42fc84f28025e6aa8552f1035cb15a365","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.13.0.tgz","fileCount":12,"unpackedSize":265403,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgD23FCRA9TVsSAnZWagAAR+QP/1ajaXhy7bKMM13Fv2j1\nyR9deQyDcO5f0IimefPjsED0XvOeLMA2cSdSR4Frf3gpoGfngu8NkUutAm/i\nV8dq6n4gaBcnc+3GOPznRggJwvUpPcEQmhoJlzNixKl7LECOFlKEYTyqxWb1\nGTSbX+dvjaog5h0hI9ZwdZP75lPQ74iqTHTBFyJ2bEWDMkxUQNmLL5AEfKxm\n6gpCEcm+O59zzyoNz5IEXEGGHHRX46oti3PKW5R64N2gImeGXe9GW3KsoweY\nF13iGN3MewRSnJZsaPglIhVig2+9qcOgAAf8aL4IUknWWVIKVlgCcD4KAoHM\nNF2kaahUCJuIKAYx/XHbtDobFmCsMkQNOU+109QuXaBCSXI9Rn1Y5R7bqIlK\n6il7E/hnI8VFM9lAUr7qkOAHin3eoj+oh1iaL726ZkUagqTLnyQLlOuq3dHf\nzGh7vGjlY5B0GDz/rBLPU+FMY/VphiXvlHeE/2XHl+sL4jsmeWP1baeBTUw+\nJRTk4lb5BjExJyNLH5pQSEMiiJEMMN2GvH9NYuXmZuou9/wwKwgtwiOukwoq\nxvnhHBgA/Eu9h+Lx29Jui+DzshYQyTd/TsHBoQ5PVBX5iTU+5juZ0lpiyUmD\n+n3bbBMhcth3iAMX6MLdAv+P7chECOxNwnqN8ce45r1DTKdnIF/NbMM/Q0pT\nciBq\r\n=ahc8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGHsHFsFe6oiUNjNla8k82fkJeFzIlREr8hpV6VOwe8OAiAJQo1+kB2ESjT4+JibfWzL4a+qQYP8AgCGtId576tCsg=="}],"size":72961,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.13.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.13.0_1611623877329_0.5072730044078362"},"_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":1611623877536,"_cnpm_publish_time":1611623877536,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}