{"name":"@reach/combobox","version":"0.6.4","description":"Accessible React Combobox (Autocomplete).","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","main":"index.js","module":"es/index.js","scripts":{"build":"node ../../shared/build-package"},"dependencies":{"@reach/auto-id":"^0.6.1","@reach/popover":"^0.6.4","@reach/portal":"^0.6.2","@reach/utils":"^0.6.4","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"},"gitHead":"c20cdf7f2dd6b9eabe5461138daf320e2833aa41","_id":"@reach/combobox@0.6.4","_nodeVersion":"13.3.0","_npmVersion":"lerna/3.19.0/node@v13.3.0+x64 (linux)","dist":{"integrity":"sha512-O0oaj1uwbf8ZXpywu25JRBTEHk9tkKb3ScX9C9lZvEvOEnfT9lGdt3khatjZLEKaIqqr76SrAOtuVbHgfeulXQ==","shasum":"bb9daeee79a6dcc8612533a623242d5488e06f1c","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.6.4.tgz","fileCount":7,"unpackedSize":92537,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7/CoCRA9TVsSAnZWagAAPMQP/j6jUGaoBV0FKHn3YztF\nZXC/ebtqUd+ZM9pCNZZVcSi54kpZxgVWyi+CzFVq96jA3EKSQmm/GoFkYTWz\n+fKLdKmikLAULR+6cq36ykIzsvH3WZ6QeKs7u690LOCLmE4d4kOLJMz5Uo/r\nIGsJMg8HaHPfNG9DsOPh+pOBvEXte/9PZkfNaKtqO6AHpHLVwktMfDsGH/tX\n6sCnEd2nF+/ZVcwEhGq6qbWCBG68ZeCYsqkwaOuhpQ/3ev6NVetBNK/e6ycw\nZiy6jhSjYJxIQiOhcMmlo9g8dM/ctZ7t6+Z8XRNAkO7o1B9dA360skmIwSPd\n3B06ddtnUPSdn2PEO0rZqQftkm61umMFbd81YYN36Tn8B47vs50nR5vDXtN8\nPvfl+loMBJMUXqZ7o1gILgwTNQaGmjnmKB/IgNrU/yvN4P6RXlFcSEOtw39B\nZ0voEC/9Cu1QIkdmGVSecaT4HiMTVkNq8TfCVdwz+96qeT8CiIsTGzRR0o25\nLM+iq+1elkLjdfVmY9KxU4hTq7BS62Ua+C0DDX3SOLbB+ufxaD2JmlmAZbjl\nPifgCJ0VuA7D8mfu2AVfiAgs6JneyHaScPLrNsZVZWbUb99dOVhzfd4Qhmet\nUiSNKpAAZQpcp6VVlho64JVSr22657PGiWTFQBXzQlWREODemcFvmyODa2kq\nmTxr\r\n=aWLi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE4IaXC/ZE1SZ1rnvAfnGOfshtNAwI75/B55DV7aLcTWAiEAxCTe4e3npXA1p075m63eCanhFIY4cZQgGQOnYOv0joo="}],"size":15175,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.6.4.tgz"},"maintainers":[{"email":"chance.strickland@gmail.com","name":"chancestrickland"},{"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.6.4_1576005800185_0.1172205650080036"},"_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":1576005800374,"_cnpm_publish_time":1576005800374,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}