{"name":"@reach/combobox","version":"0.13.1","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"},"dependencies":{"@reach/auto-id":"0.13.1","@reach/descendants":"0.13.1","@reach/popover":"0.13.1","@reach/portal":"0.13.1","@reach/utils":"0.13.1","highlight-words-core":"1.2.2","prop-types":"^15.7.2","tslib":"^2.0.0"},"devDependencies":{"react":"^17.0.1","react-dom":"^17.0.1"},"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":"24995121ef36d6d1768bb3bdef6e3353d905a167","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.13.1","_nodeVersion":"15.9.0","_npmVersion":"lerna/3.22.1/node@v15.9.0+x64 (linux)","dist":{"integrity":"sha512-cLS/AYjBwnSVTAfQ5txetUEtwLNrNExO/BeJMgPFrQsP2PEHINefPNRHxPWjoZS6IKiYleQbJLdlfhfqkJj+kQ==","shasum":"bbd0e6b994589ee115fd252e146ed98072899f55","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.13.1.tgz","fileCount":10,"unpackedSize":117705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgMq6dCRA9TVsSAnZWagAAIzYP/0IHLxM7il0YaPGjM4Ph\nJVbfy1gg+EZ7Q9RgbvtDpuecrvN/dyXH7xuy49aNeBMw3281ZUXtB0femiPB\nMlXRSITQpbBrvWd7WN0qkds9VhthLtQC3YH2oVZTbzpSGErO1ewAM0XXCzeU\ncEAJvPUIBbiqH9R8pct1LwW8qIY0CmqMO5kvF1oCImLMhcvuCS2T5iRcyW+b\nDGc32aA5Rly2jdLPknMlMw+7ugij1ZmbFNbLV8uZoQND+NGfY2MGoxtMRrqL\nL5gEtHDJfgGcjtLRWGk2ql1P+1X46W0tD4DqDOVo8UssDOZBqc7b6BQ7V4oE\n3DJIgPwPjxxFFEUOX7lrV9cvo037q+mW8mDImjz1YWiItErE3qTlwrxv+ogI\nFCEqj/e70fRbn8CfSjMOuv/sqbYeQzWq2+4N4tWHfnRGZYhYIVq3sTSQGBNS\nhAPyehDbXmOAUn8loZga1+/xzzpiljApZ2aCRAORn7fr50KXbK5Fo09ryFCk\n2kS0DFz/h/PnxF/vhnoxqED3cpqHKKZABzCl2NYAxsSRvf0JVh9XD9hksHFw\nK790UaVFSpqIaoahgt0RoQAW5n3gwUkMBd5/Nx1A7ccPdMhKn9gGAM/haOJU\npGjUJfJi7obeumwtlURmWbE3IpjDmsBXbtuZNNvBp5Yiyc35h+xeHtgo4vSF\n9Y3b\r\n=vnqw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID6SA7UBRya6UI9czst04SPRRSPwm3hl8q7JcUuElJhoAiEAuppyvk7DqX1FEy7TmNx19Tu85tb+2lIYP9Vos1iAwEc="}],"size":28527,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.13.1.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.1_1613934237201_0.7409581097818523"},"_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":1613934237359,"_cnpm_publish_time":1613934237359,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}