{"name":"@reach/combobox","version":"0.9.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"},"scripts":{"build":"ts-node ../../scripts/build"},"dependencies":{"@reach/auto-id":"^0.9.0","@reach/descendants":"^0.9.1","@reach/popover":"^0.9.0","@reach/portal":"^0.9.0","@reach/utils":"^0.9.0","escape-regexp":"0.0.1","highlight-words-core":"1.2.2","prop-types":"^15.7.2","tslib":"^1.10.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/combobox.esm.js","typings":"dist/index.d.ts","gitHead":"19b5b1ec7682dfed613512f1592958a47d43ad4d","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.9.1","_nodeVersion":"13.11.0","_npmVersion":"lerna/3.20.2/node@v13.11.0+x64 (linux)","dist":{"integrity":"sha512-K45Yda0sCJ/yB/WN93ujuTt2dfLycl/MTMJ5sNMK9c4KgT585nrL2K/LKVtkRF9k4Ken6brdVE4zP7/mUBL8+w==","shasum":"3f2f708f8f8eedac70818e946af9bcb875a9c515","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.9.1.tgz","fileCount":12,"unpackedSize":240963,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJect3NCRA9TVsSAnZWagAAYXQQAKHZaspOHFXHNRtURSdW\nkTN1uIO10gT7LN1WFdXaB7OslPWK52qms3NrfMkPePp8RyK9yklKEc7x3K/t\n+MaGeYqb9nBM/k7Rl+blheno6aQFPlSLUzCH5q3dZ2RpVN0/QYy3Qafga6RX\nWjNUUvSxvAL+V/1n6iuc77OLLrbU/mFKCXrgwkpgO8oeBovrCvOgW9/QccMq\ncfQ1fJnS27bS1UVS3suevIZpGeAFSvvkXcc54WhCJpPA4WBp3ZAq8S5KeYHz\nv/ep1edS/PZTfp585ow19fMb8fIhhr5FVZjk4SpMMcUy4uGVTIkuDsr/rd/p\nIO1zT2/NMxii2oHbLKqR4XWgqXQPlmYteS2hzHz0HR5a0hqPYDRV/hS3OL/8\nvItvPpSGViKgwi7n2Hayhl6b9iG2R/7PTsS67RaAuNQWdMbnuN1CXNtQlnTi\nfbjyFitTtHeZLsVMsVjDxz/LVId6EWRBCsQAJ5t9btA6X15ZvdS1ntfiHtP5\nBv9jg8aYcfUOymAwb4MXnl3kmZ5NscJ/kaJA1nyKYHTfnKL3QAssEykqY4rR\ndQSuexIFd/Nh3jvMvorGpl09U2+bixGZ3b9wwSqUAec/ckmqGQull1jpnb5Q\n0C94XI4szn5i+KKzcECpFsP0DT0C3p4DjWDYkuQYej5PYFCmijflfTj+WMh2\nXmjj\r\n=ZvOt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhjI7ZWYFMbFryztjDbxb9Jcl9kvnLe3zAFrDGGwOKvgIhAL+jXUQePW2I7mHDcaX2zwJmLgw4Xi3mmMBRgQB1DfBZ"}],"size":66100,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.9.1.tgz"},"maintainers":[{"email":"blainekasten@gmail.com","name":"blainekasten"},{"email":"chance.strickland@gmail.com","name":"chancestrickland"},{"email":"npm@mjackson.me","name":"mjackson"},{"email":"rpflorence@gmail.com","name":"ryanflorence"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/combobox_0.9.1_1584586188601_0.7236942855629247"},"_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":1584586188829,"_cnpm_publish_time":1584586188829,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}