{"name":"@reach/combobox","version":"0.7.0","description":"Accessible React Combobox (Autocomplete).","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/combobox"},"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.7.0","@reach/popover":"^0.7.0","@reach/portal":"^0.7.0","@reach/utils":"^0.7.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"},"gitHead":"c6c10662e6eaf229594e4d6e6a38d8c9baa35ffa","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.7.0","_nodeVersion":"13.5.0","_npmVersion":"lerna/3.19.0/node@v13.5.0+x64 (linux)","dist":{"integrity":"sha512-KF0yVkIP2Oegnh9c3ChhLBkTzUtnqiWgu9M244aph072g0pD6IWuMA5QKPDW4+uMhjceMJzUKueD3EcNqdwtYg==","shasum":"d0a67911321384d940a6f638c10c3b5cc26a33e1","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.7.0.tgz","fileCount":7,"unpackedSize":92937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/vD4CRA9TVsSAnZWagAA0HQP/0OP7ZlSvPpzraGT6KMu\nEkt4OGhGHzpNoN72h8P3v3DbypmuMmT/v5EfuJg3HAsZCApKc5RBLo1g5mCo\n/2I99wa+BV8Ar8pTkan/nEG7uY669hJb3drST7c3Cb/rpln1V2ZHfdcG4RZp\nYbjpdUAjE9gFv4l3VMMJKat0m3MNk72vuRzGZaHh9uYYLkRn0Pr6mDT6JxM3\nrn2OSVBSE96JKXF6s6qwERecyswPmKgEX8cNxrLmoc869lc8qvRLis2xtsQs\noTqPaqCSd1ysOvd4yg6hRA+L4Q1qe/sQ7oqf4qDdOES/49gob3zKpoRnSaZ2\nM3kBV7VfU3ZjuZeAoSpXyE0P1A7/fxi/MA2KmvIImdFz1i9zJ1r0ioxxWvqR\nLZaD0S4JhE7K/KDkhjNZ1cTyry8tEc4Tiq8NE3QdoE/ZHOncXr3seHp5AgjS\ni7KGWVBK/VxQLIGgciB2LAJtpLPpopiVRaQ+uiRxH+KqDL5+K8Y8wnVuSPby\nYW98+KMoKsXmf5zI60zt+VkIMSQkyjs96PtSHprO4pBGfdl/SpsVMgdVrBTL\nSqcGb0xul9JJHQBJkg0gJyGDkhKcuMmbOZ1Pjhu32U1lhHnVrC9rPusGVbpx\nWpSDrRr0Na3dVgIlV7K5qQ1Hu5bUrQx082Fs70wMYuaWVs3vpJVX1UEMnsvG\nOalp\r\n=Qa3P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBEUoOMZsdmWKXrOwMMuJ1KijOv/7WAavW+nNTDmcJKQIgGA4w9RqSUsLWKcQgbkv/xG9brRTHP2qpxi+RR9tqirE="}],"size":15277,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.7.0.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.7.0_1576988920454_0.48254029678246324"},"_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":1576988920610,"_cnpm_publish_time":1576988920610,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}