{"name":"@reach/combobox","version":"0.4.0-beta.0","description":"Accessible React Combobox (Autocomplete).","author":{"name":"Ryan Florence","email":"@ryanflorence"},"license":"MIT","main":"index.js","module":"es/index.js","scripts":{"build":"node ../../shared/build-package","lint":"eslint . --max-warnings=0"},"dependencies":{"@reach/auto-id":"^0.4.0-beta.0","@reach/popover":"^0.4.0-beta.0","@reach/portal":"^0.4.0-beta.0","@reach/utils":"^0.4.0-beta.0","escape-regexp":"0.0.1","highlight-words-core":"1.2.0","prop-types":"^15.7.2"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"devDependencies":{"match-sorter":"^2.3.0","react":"^16.8.0","react-test-renderer":"^16.8.0","use-throttle":"^0.0.3"},"_id":"@reach/combobox@0.4.0-beta.0","dist":{"shasum":"671027cdb9ce46fb6b4e02a3079db8450c3f7c2b","integrity":"sha512-+qy49s3DblnaQVSEkZOVeIqvJT5mnoU0CBm5cuyz50GGEPXVqLA7uACNyJxppvIhStSfhWGHi7MlcJ4zxhB7GA==","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.4.0-beta.0.tgz","fileCount":8,"unpackedSize":82968,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdoRkECRA9TVsSAnZWagAAJDoP/RiA9zJxZunfMpk6cEHz\nSGwMaEPi/9nmx5CZ3Q6cYasv1rBrG8cm2FBqqFT8xTvg62abXVBZDq+dszNo\nkgwWSWfcqLxEDa8VpwtHy8AmsKZQH3Jjs4/0KClommfonIauGf9jJNcAlB3j\njRZeu+PRgYJJqIg1/kQ6nvsREuB64C55AF3AFlwqsHvLctXiT1aidvV3O2sI\npGRADnXtbKdAnNAPoEcQbTRoZnG0Vu9PtfmJj524a/qLMBavUUo8ZEP8cjKw\nbWajQ23THqjUNBbVjVLiwggC0WhW2kDfRKf3TCrx0A5uO1LduPMg1snqUKUM\nc4KgADQaqcPwKRBfq5kyfYNcXePe5pB1llKZyRkEVs9KsWqExpYlf20ZKuDU\non7rZ7TT7iObpcaV3QaWx70220AhlYOhvdoN//Tv2wFSztZmKb4Ev0YDV5iD\nc6hxuqJQxCrzZvDkv/hfc646xq2qqvlrL7HAdwMEXOI/fy/uiKbrOzeqiGjk\noe4M4euabxo1qDJy8sQCESCUQHWL+ltPDv5C6OlP+1HKbGjzVyFQzHfp9+1d\nZW4GG07burO748znpaGtVaISCpZfDm+CQEY8x1tWThTwoxqLW+3FxupNUyli\nGJnhk4I2k1WXnV7UsVak1Lqf7YwH5Y8qx+HSoR1DJwbRiGUaY8u+pI/AlC4F\n1rFM\r\n=LKkB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEI+abH83wTYAk6yXvc+NwdeWfJdAG8hKHVP3NK6h0OSAiEA9SHkKMY9L8AwIvuu4P/qxF1cyjTpOy0dvvI5bqgv4DA="}],"size":15501,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.4.0-beta.0.tgz"},"maintainers":[{"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.4.0-beta.0_1570838787807_0.5625585470464394"},"_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":1570838787928,"_cnpm_publish_time":1570838787928,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}