{"name":"@reach/combobox","version":"0.14.0","description":"Accessible React Combobox (Autocomplete).","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/combobox"},"dependencies":{"@reach/auto-id":"0.14.0","@reach/descendants":"0.14.0","@reach/popover":"0.14.0","@reach/portal":"0.14.0","@reach/utils":"0.14.0","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":"80f6ca5f8d25a10887e2bd34d60094402b9bc0a7","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.14.0","_nodeVersion":"15.12.0","_npmVersion":"lerna/3.22.1/node@v15.12.0+x64 (linux)","dist":{"integrity":"sha512-vE+g8OUdZ0xMVWglMKdfESBaKCSs+5+WPVRknQuP3UB9079n5ZpFYMC1SJHLW5p88KiV2bD49NCZGSiEAcPZaw==","shasum":"7749ae8741c4dee76cebb93dbaad14fcb0abb6c9","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.14.0.tgz","fileCount":10,"unpackedSize":117729,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYO7ICRA9TVsSAnZWagAAwZcP/iJ6CO9FxOBfiAtJY0I2\nzlUGuymaXkxx5aMCSPip+5Y555CrJYQGPhYCRMUH5eRETlw8luAeiEW422a3\nU5/73vMsNGHR1jJ6OkvZzcpZ68twngD7qyEq5+k5mKQcpPRpXqm0CF88MNPC\nMdRJZfesopnd5+d9zXeYOTpckpkolIJ0MXdbwGSUYiG20CPUgnptkW8CDif8\ne1/MZpredEn9y8hdeKw3dtDF8d2FIgSxgYe8GAnm0tdEhefOh48HbdyrSL66\nxUEPlo5YQyUGBuvEu7I+caJMYKI+Zd5XGJY7CCHldkbgPzUvA7MRUQh8UdMN\nF5hXCi4lIEgY5FvDhf8D0XdyKNPE2vKPgfjxOoyXX2bPYjsU1GpZyNgXHaOi\nyWXXapGQeRo2Hi2ETa5Y6x+cEBK5sB1b/U1gDapmgN4vUgnKV8ozWJEzKTrJ\nR7D5lKx0af/D5KilGsE0j83tCkYyumaSRq5vaoxCWxiF2QlWQg5Vorp0hwPD\nlB91D+z6ylGhqbTz5ssycv62+0NAZCJpPonR9XVA69YizaAWkRnysNxOphoU\nibEE7xEyKcsJbhxUU/F8tG44+ag062dSdhSjYPQHnl7NDaaEDFNHPtfFrKJZ\ne320/IokP47d1rXKjN2xGK9OUjwYdhp6pVb2prKdpVrT7BbTFm6t/mYqtJUx\nl/DW\r\n=rfQ3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA5AXlOBDqt2VWhoUypXoPgS0QG34hvDPGitZsnAz4DSAiEA24HrylDRKhiSNQCyb41WgDktU4hdK/tA+GRmMD7tJ5w="}],"size":28538,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.14.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.14.0_1616965320188_0.10571131930291955"},"_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":1616965320376,"_cnpm_publish_time":1616965320376,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}