{"name":"@reach/combobox","version":"0.0.0","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/utils":"^0.2.2","@reach/portal":"^0.2.1","@reach/auto-id":"0.2.0","highlight-words-core":"^1.2.0","escape-regexp":"^0.0.1"},"peerDependencies":{"prop-types":"^15.6.2","react":"^16.8.0","react-dom":"^16.8.0"},"devDependencies":{"use-throttle":"^0.0.3","match-sorter":"^2.3.0","jest":"^23.4.2","react":"^16.8.0","react-test-renderer":"^16.8.0"},"jest":{"testRegex":".+\\.test\\.js$","testURL":"http://localhost"},"_id":"@reach/combobox@0.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"dist":{"integrity":"sha512-9c/+OO8fOXUzLGXIYWmFMQqbeUYPJJhATGhTnt1Tb8dJUbk7IcRw6OH/ro2kUP4VrW7lxxx+SjOkX98Nys3aDg==","shasum":"c28d6baa6e1bab9e24f80cd6d423de839beb335e","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.0.0.tgz","fileCount":5,"unpackedSize":71858,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5FBrCRA9TVsSAnZWagAAXvUP/jyrKK/N/bKsFm9nA4XU\nfAapVqvRXBSywDwGByIskb51vDgu/yu3SODZRGpvjPwARKqIi0CUWVC+/AK8\nTHGuUkr/6AXh72Y9/1O/+AckLgZa7jfZOTs55XPip18BWxEktV2mhrSy6WRA\nqyuePbmeU7nkudNVwp7m/qNcYfTKvOqLA6FMcp1Jg+EHB6p81Dl8CgDvrV7o\nqgBnvznFXLwlABQ6Alvt5tQRxdfc4Nv1Nz+mq4XnpWiFPNr8unnOekFGv4GB\nldLZNDZ9ZtfCxvVx4U1zvQ8PlO1wYpPDbwZjgkrZt/XU5O9BPLBsay9v94zq\nBahUcsazmekc5Q7C2naPzhK935JaXJfzZq/jYaYem8kDvfntlQNe/8jYtg5c\ngEw1H9l3gqENlNIzMPLxhE4X9QpT9y9qcVZlWS0fLHizdC93p1PIUE85bjAK\nl0JfPepYFPVg/2iunL2+qQdvtG3U0cc1DS3zzWaJldenhwrxqNjPetwww4os\nH0v7+HdJfe7S/GaAcZmla0/zTsJn903Ybm0sWNJHpIl5IBo3oC8i7s8CBj1R\nx2EAUa/K82WpEh7gG0GgrL5ZXjx3hromLi+oA7rAW4P4nqy5Vka6/jA+fXDh\nrBaTWWrauzy/0tOmT4I+hne9FTkmdUV8IKUwU7uRVozHC98bZipbHJEfcTgz\nS9ut\r\n=GlvQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDul1rBDMRizlGOecu9Sn3ysCK0Z3IRbw1lyiId73YCJAIgRazTp6r3CchPzUyyp3ONES6WXb8f7Z2JB0Vm9zPctco="}],"size":10512,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.0.0.tgz"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/combobox_0.0.0_1558466667209_0.06496288200402689"},"_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":1558466667411,"_cnpm_publish_time":1558466667411,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}