{"name":"@reach/combobox","version":"0.0.4","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.4","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"dist":{"integrity":"sha512-9+HgcdIPb7ep4NCPJ5lYE+gW89JDqvF5ZuQtG0z70nbQHZ4XFeFoLA2lisusQicqn/I48apHXDHP9GMqLG67wg==","shasum":"ce5940d4a39cd2cb1716ade399cd417c35732426","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.0.4.tgz","fileCount":5,"unpackedSize":83585,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+X4rCRA9TVsSAnZWagAAEmoP/2boVH7OIUl/RF8i4JLX\nfW2ZMk/no1Znl43RyopztJhSSClKxpTpr34ijXb1sR7KVlQ9ot3q3ahvWhbU\nioK+3OOkjuPux35KAkwlxX+hNPGCSt51ue9lciUj0Nl6bxExHHMK/BPYi7lu\nNFzqlkXYcne7zBYHXgYPmsR6YBJ/YnRv+M5e1pXl4Xjv0Q6BsrccKbpPLbgv\nPmKUyrxOA0A9JuAcCGD6YhN1E+Fk3ZODp8N5kj8+W7UyiMDj5pEkncFCnfIB\nV1MBDIyu12EbN0T2iOb/XvWN3jY8GS7yWt8ppB/cccRY1/dBhI6eNBAPkpZY\ncDtIl9TAbWgSARkcU+jxvgQd6XRhGIbrfegrVVDMsyQBQobGWBEdksVn5u+w\n+P3ZUuWZ7njX+Uorm/xQvYqTi4kMg46yX9hEWq6O56kIvnULSjWmt1OawqZ5\n3jh5alkMGsbkz0KB+1/P453qDz4nOEEyVfx/r4as3uFFUqrwDYWQ+osLVPap\nVxm7wQa1fQ6+844kwewP9ROGFjwna6+Tv97XV6FmYQNMCTjlIjxbN5QOxibR\nKX1yCzAify4YkhfKyyr7jbSXC4xkr3r9RRq/vEK68aA8HNXzdGV4jmrZFIMZ\nd8O8oDzc5bGgy19Ttrzwqp4Dm8KuzUizC32NgxrQX34k4rHgFDgMFACKKdSx\nmx70\r\n=2Q4P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBkVZqSfQ2eT5IMOdZVI1+6r+M59pjHrrsf2PAutYpjIAiEAmmFqZkpH8rYC9WQLzjvx1w/0UW1faotLiTydtdBdjPw="}],"size":11943,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.0.4.tgz"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/combobox_0.0.4_1559854634470_0.000041968558392113664"},"_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":1559854634589,"_cnpm_publish_time":1559854634589,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}