{"name":"@reach/combobox","version":"0.13.2","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.2","@reach/descendants":"0.13.2","@reach/popover":"0.13.2","@reach/portal":"0.13.2","@reach/utils":"0.13.2","highlight-words-core":"1.2.2","prop-types":"^15.7.2","tslib":"^2.1.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":"9e2a19717eb581722e9af99b0f8f3d976de9a55f","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.13.2","_nodeVersion":"15.9.0","_npmVersion":"lerna/3.22.1/node@v15.9.0+x64 (linux)","dist":{"integrity":"sha512-onfUd3qG0j46dmdrXcr7+a7d0mabLMZEDDAy1qlWA8OzyuXnce0asRxmUHhIXtCKiJa0tOOIWL3+6UG4nC9wuw==","shasum":"f0a38c685a2704f6a189709e63cd7e25809da1e4","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.13.2.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\nwsFcBAEBCAAQBQJgMrQVCRA9TVsSAnZWagAAnyQP/2z6Ajp9Li1E9Yb3GgX7\negVef0qwuUrFFZVRqf0lsHHoknVp8XEVzPyzLdrlZJmzVSXfrezPbCo3xMts\nU8Rt44vaivflRcBTI38r1pM5UfkyxbgPVKT7cU8Xl0yhTQtye3ShsKSKV4Nl\nnCnSyUh/V0UHsZ/GXq5UW56lQanXH3Y2B/yZWTTkKHZpByUyV+C4jge7xVmY\nZsiyY8s9RmULaJPLMBmmXJNuJ/4eiFWIUzGMmtvICk5SphB7AYX1xXBVJ4R1\njedGfH7P9neVYXzzzLLhIaMW6zo7v2GyERR2mrzAbMPoGlxF/jzdlewekoQf\nhkACKJhMzmmXzP7FLUXRckGqCtxYPMZ4jTl05Y6DLcFebSYEpXrNPChTwawf\naWO4KJ7TPW3qcr/BRcbb2ll3/15Ti/9POYu0icPflynP57/qg88Bz1iHb23M\nh5bLrYeEPWalHU6FNJ5d+oRWiHjdKlZS5zxm1yEAll8CsKkMaeuKUN+vJ9bU\n6uL027DT2Me5DdLgv9xFCbaMJUoIWzHJCdCOVY5JMsGjlM7vfIrNYFcY7GWO\ntkRcikaR+ojRTWMtfEoRuBbQKlFClrR/ObNg4VTvryJTIFXZzwtVBCAaYBUw\nzGS18akoV50NdqpxlJRrkfT/4HMZbZW90XnloHSXE82GORbUb0q5suRlg3xP\nlx50\r\n=OJ3u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDWBY/PJvEGI/Q4QLogE5Ub4QlGlTr6Z9OiUKuPnvRk/AiEAyifLPVYPOfSrOiQTUDA3/H+FNRkM/TDkqsJOUHHC9Ww="}],"size":28526,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.13.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.13.2_1613935637329_0.9183382427623996"},"_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":1613935637433,"_cnpm_publish_time":1613935637433,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}