{"name":"@reach/combobox","version":"0.10.5","description":"Accessible React Combobox (Autocomplete).","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/combobox"},"scripts":{"build":"ts-node ../../scripts/build"},"dependencies":{"@reach/auto-id":"0.10.5","@reach/descendants":"0.10.5","@reach/popover":"0.10.5","@reach/portal":"0.10.5","@reach/utils":"0.10.5","highlight-words-core":"1.2.2","prop-types":"^15.7.2","tslib":"^2.0.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/combobox.esm.js","typings":"dist/index.d.ts","gitHead":"86a046f54d53b6420e392b3fa56dd991d9d4e458","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.10.5","_nodeVersion":"14.4.0","_npmVersion":"lerna/3.22.1/node@v14.4.0+x64 (linux)","dist":{"integrity":"sha512-UrvdELLk+rnxK0o2e+jWmw6b7dteBWAylX4CEHE9KJuBbdwZ1PJY3YIAwJuvWM13Lcll2Pk7OlFJqRT90r2mRg==","shasum":"60e442ee7d1c63022cc3079e1aa4713aa1d398d4","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.10.5.tgz","fileCount":12,"unpackedSize":253262,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe89pYCRA9TVsSAnZWagAAcZoP/1EAZ8WEolLQQ5aTcq7N\nyrtyHx2LJAzQ/z+vmNjpsIflIBnNkA5voRPKH8dhQdu6tlVgB8c0AmvE/pg2\nr5ZIdlbsISyeG/ISDHpUEqVXw8LZbBHIMk+izWIOONucaKdKGLq/v+tWBnkp\nPK1tQ1q4rjOd2pckvBpNqpXeRKdHAWh1lw+L4ZHFO3nFno3RzkR0smY2lfBq\nm7T5F+rPWpCCxJpb4aUSNwo2G9Fstc/895JbYFUHhsm/YQ8ZrLvQhxlINTwe\nDdVG9MAQT/l5MSu+BLg6t1oDtIeVPR8gYZquISB/8b4ev2CEl0Sgz5PPuPSU\n9O6FuI7X8nkrb7Lg75Rd2PYwiB09Tm6axikXnlNyHNWgtoqceU46RVFb96eL\nzXJvhZMw8I6N384TrWJprY+wRx3DsRXuKbAhhN3lr5mLaLV9Xq9rnCflavtJ\nbMPEudx7H4daURKW7rmq0ohU/UmmLsOnm/f2109/4am2ffS/kdoq8rrWUbvK\naAzmcsmD5Bx7d15Gomc/rxn12CgCwRiT6Cab4yKLQ/clro19FoblkKoMWnBs\nRrCRTk+xxwRHQYbKLv/uo0Le0YvpV9Do25hwvfjnzaQ+r3OS7iKrPoHF9GPk\nJ+B73rg03anwYboSgl35XXKSPeGD+Ux5rJFNMUJPz2fW1l7rmAz2Ptqv/D3w\nqFSc\r\n=yPsW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDPZwY9K6lKlCxekHenQGoqVzBfAx7zAM1nfRQ2cRygwIhAMcRsI2MCco1Fr/D0zbHN4JstM1Fnsz1LdeP+d/2VHXZ"}],"size":69733,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.10.5.tgz"},"maintainers":[{"email":"blainekasten@gmail.com","name":"blainekasten"},{"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.10.5_1593039447921_0.5176319779834995"},"_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":1593039448057,"_cnpm_publish_time":1593039448057,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}