{"name":"@reach/combobox","version":"0.0.5","description":"Accessible React Combobox (Autocomplete).","author":{"name":"Ryan Florence","email":"@ryanflorence"},"license":"MIT","main":"index.js","module":"es/index.js","scripts":{"test":"echo \"Write some tests you bum!\"","build":"node ../../shared/build-package","lint":"eslint . --max-warnings=0"},"dependencies":{"@reach/auto-id":"0.2.0","@reach/popover":"^0.0.2","@reach/portal":"^0.2.1","@reach/utils":"^0.2.3","escape-regexp":"0.0.1","highlight-words-core":"1.2.0"},"peerDependencies":{"prop-types":"^15.6.2","react":"^16.8.0","react-dom":"^16.8.0"},"devDependencies":{"jest":"^23.4.2","match-sorter":"^2.3.0","react":"^16.8.0","react-test-renderer":"^16.8.0","use-throttle":"^0.0.3"},"jest":{"testRegex":".+\\.test\\.js$","testURL":"http://localhost"},"_id":"@reach/combobox@0.0.5","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"dist":{"integrity":"sha512-2kGT/lshqgRL3rVI7sQC+O/Ihb509P+Ce1TCal6xmfsyauGTC2BjeUOzeD8UwEY2XvTDhB6XCrmVixDi314TFg==","shasum":"01b9020141f93d3a501b60d0d56e891ae4f34d6b","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.0.5.tgz","fileCount":5,"unpackedSize":83433,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+n7sCRA9TVsSAnZWagAAqfsQAJCDY8u4XSpjLCCQL4DQ\ncvV6j8xbIroOvFjbYmMB56eVP1TMgDKwmea+YnClcmKx5bFjkh96eVQ4NnPq\ns/SpgnV6KPmxj0cj+R+tE0KhLy6Ume7U+yL4c03DR12DA7WjDYe4hsJscyRy\n9DYhYDFWYC/QKYwfQDRyNtm+04qePeIbcIwYatkN0gl6S6PyDsa0ZZZim+TY\nuZdTz/sS5zdsindorqecXSEsUXFYyKkL9UuPI5XU7q4sWJWCuFxZWrmzN77e\niNkbmGarfY5DXqdsargQmR3tlfJRRsH+0+jBUjSrFiEvFgzBM2QK6/XKj/H1\nn4FAHW2FCgZ/Z32C/4Xy353S9dxRZoDBxOstV+FUE6JCq9kCqyVCBNXWZK4M\n7VuXTMu1oHsBpWHH0Ao9wmTVqX+ShauHxrAbBV2BtvD82nMJPofvqiSA+cOi\nI3iyYlCnUEveknCLn9a+cyeN8+4n1gcngc8kGzO5qneglbewVRToKASdJN5D\n0rp7kdaLmUvwlNJd/qbtnX4ECC3TWRKRUB3KDoQZBn+d63bU6Jeqcrd0mExu\n1wNyWxYZsRYpug2jZVzCZSEsZWJQj9f06HpPq6Ht/U1eduJQmYvyUSp3eJg3\nvucVTs5NgM4EPrYLfGeu4xmZhQS7xRX2wObEhAE5hPeraOu7A/reB3eA9DnJ\n3pMs\r\n=lA0a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNBxEKJ1wEh1d/HydKwrG8zIdmuJF5TKgTz2T8WEyP2gIgV0jcr02d8nn1Gp5wImiW4Pw3XbtsYqVYCWP9y3YliH8="}],"size":11925,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.0.5.tgz"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/combobox_0.0.5_1559920363833_0.37238757218261753"},"_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":1559920364015,"_cnpm_publish_time":1559920364015,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}