{"name":"@reach/combobox","version":"0.0.3","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.1","@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.3","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"dist":{"integrity":"sha512-mu+MKk0s7xxQb3t1r8p40LmC2AWD+fh7dCXyIyUNfcbsAqJRoUb9Z0nrlYV4N3iYnKtbupDbzzu66Mjf5XT92Q==","shasum":"a894399fe700e99a39ca301614b8442a32f678ea","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.0.3.tgz","fileCount":5,"unpackedSize":83566,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+XPjCRA9TVsSAnZWagAAOrsP/0sXs9h9LvB1+8SSTttM\nVkVrYetkFprTO9xBTnadbK/fEoKA3hud8moAed6osYdHDItBt5S5X76kakb2\n+RAh5d5WjygySg6OkLHFesycDBD6zkjcYz14SvYiTYNnZSMFLvcFf5yMfBE1\nxud0DHCJos0zostco6iLuEOFrDPMtQpQizC9KLX8mD0nQoBPhjbL0KHb2TYe\ni9xyxIf9WtTNhByLdeB7ITRTIH69NJIrkiiq5nQr3yyJOkZoCaK+JPoPnHOB\nJmK2T/q3Hr0ta7EIBwyayss1SEng/a5SvUE2GakpQHoeRvQxSliRSUNGX/1G\nQKnnhjAsRUW8XcWmoDBMARGZP98dPj86dJy3IJjrfDOel+BEdsCDNy+3lEBo\n9n8W7u8QXI39vJQtxlMjj4/5uZZDY1IzWAwftNbV+jsld7DQGMFeklhTxCtU\ndiV5Ix+Khlfvi8bA1epDMV3yAtBByKJaX3NgokDZIQ9vcL/vHsS3WUwLtJ91\nQWUCGr47MhTIkm9PhBqLxWH88FbAeddfXrzvvu5Hpnjl83egkZ2S8HvECtnr\nUACCVAT17d/0Re2kuay57JxbsTBtLZcl3NL0HDiTpsKuGzHui3C/6av0+pnM\n57D7L8lTZHmynULQ9UaOEkQRec5X0CgmcIEf3FIV/aMBMiw8UpWaaNj+jcY2\nS6st\r\n=555I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4wIvBpw6hMv2tPkXRu9zWiLHpi6HW3ZZkdIAzehRw0wIhAJQK/6YoQx5haqMk45wvhwK+flo8QsNLUMKL/SfSFyLZ"}],"size":11948,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.0.3.tgz"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/combobox_0.0.3_1559852002701_0.22471221987896262"},"_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":1559852002855,"_cnpm_publish_time":1559852002855,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}