{"name":"@reach/combobox","version":"0.15.2","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.2","@reach/descendants":"0.15.2","@reach/popover":"0.15.2","@reach/portal":"0.15.2","@reach/utils":"0.15.2","prop-types":"^15.7.2","tslib":"^2.3.0"},"devDependencies":{"latinize":"0.3.0","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":"353f409a296a648c4fe2c2d06b14a39b7b6dc3e1","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.15.2","_nodeVersion":"16.4.0","_npmVersion":"lerna/4.0.0/node@v16.4.0+x64 (linux)","dist":{"integrity":"sha512-FjF1Tm7rvAI14joBD+2kco9Hlrmsum2ps0Atd4+UJpKAhQFZ2zmxi4oK1WeFavm4LQwuzAV2MFL+7Oe0TgrsUQ==","shasum":"a85bd6269477b882bf98dda8973512271083fdfd","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.15.2.tgz","fileCount":11,"unpackedSize":137900,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2hSKCRA9TVsSAnZWagAAJXkP/AjkYwEVMCQQPVI/gMD3\n/8e1MZwrlFc7qYbXl/+86RT8QIlBqpY4RdIz+tZmVm6w2nKrpS8kkobIc6dD\n2uNUY+PRQXh+wVQqjqgqSenHE/24ctn/EyUvpdH9C3/ftwPwDWwFqxSsxlAf\nys+TI2k7P4j5SPp9POVqoxbOlCWclrx5nWGs8NhYGeY9ZgW2Fh2mo7oPbKvT\nqAYBI+AaC+K1i4WjJailNWgI0vzk2NN/IHCd+xCGhWC/PFSJ/JcEsKG1v2Kz\nmYa0Zra/LfPGsnKpux0CheWtwfJKF5y+m55iZqJVIIPZUv7u+1393nsEQbs9\nozBNiqWZDN8uRX3UGpgawaNXPCO+8D8vnHq6UAJzXn7n/yNrjJR/65IoQz1D\nIeshdvRnmzQ/m6xpfVLkNlNU0WHmqgyM6XLb3K3eXRPkiuvD98tDj2D0FQMW\nRjUXWTor/O0IRI5mMFNyv1g15C95BoR7L2syOgybdHBA/XgPx/nogS/By7wb\nH/Thr9oGpmRlJ/GvElpqL66bTpIF8a1eLUS7ZPekh4f7S2N3XmkXztqccRo1\n3Ego3G5pK9Z29C0lmJJ3MpCtOzRzQO+/fnpMgS1xtMxEvHVz0Ayco6Ewd/9H\niOkRe5VgWpKQsTkcclWoCDR/7aD8LCJMfvyEMuz0v8jLiyP6nOF9YHDr4YKj\nuZor\r\n=x8FZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFQLi2qjaw931JjjtCP1UpjiM7jz+S73dnBL8qBAN3XqAiBgeXqRJnRTX9XW1a8ir5LttF95MeSxfI0VNbmAVPHSQA=="}],"size":34096,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.15.2.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.2_1624904842077_0.12296476403845857"},"_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":1624904842245,"_cnpm_publish_time":1624904842245,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}