{"name":"@reach/combobox","version":"0.8.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":"yarn clean && yarn compile","clean":"rm -rf ./dist","compile":"cross-env NODE_ENV=production tsdx build --format=cjs,esm --tsconfig tsconfig.build.json"},"dependencies":{"@reach/auto-id":"^0.8.5","@reach/descendants":"^0.8.5","@reach/popover":"^0.8.5","@reach/portal":"^0.8.5","@reach/utils":"^0.8.5","escape-regexp":"0.0.1","highlight-words-core":"1.2.2","prop-types":"^15.7.2","tslib":"^1.10.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":"ac419cf63d0827016ca448bf95482bcd4c5f879e","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.8.5","_nodeVersion":"13.9.0","_npmVersion":"lerna/3.20.2/node@v13.9.0+x64 (linux)","dist":{"integrity":"sha512-5052DH9KH/Xr2OLEgT/zg6Od1loZgUy6qEpoU9TuxUJDJ9p/0oiTJLBzj3+MneFP1hJgHqXfo5QRUhFEsrdyVA==","shasum":"dd51efd29515679942bd37e899424f2979d6d1d5","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.8.5.tgz","fileCount":12,"unpackedSize":240673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUDgtCRA9TVsSAnZWagAArWwP/jfkcJA82m/MELlowJtq\nhegjqFZkz4Q6/L8KbXYo27y9RNdKs8KNh09hMHCJQVvd0XhBpCCzV84cE9Rw\nPMOZYnXDHrEGXwwCWvXJyCwviPchz4fMgl4fnJaFnN3rdD9JQyMADr+0n9v5\n/7Gny2VIjW3oKKXUc8IKYnUWXMP8qhDr2lgYXKAa17ojOd8yqWoNJQVX15/D\nQXd3uvU/UaLICutYm7FQlsBSqceadiwIeDMHRshw43QWnQzsA3MILDCEN8St\nCQvXl+pwNNx85AJjqkKovtnhWzkr4WcHYixZFQzKMHtqkIEbRIFKSM+dPbh0\nIlaJ9BDg2Nakmsp1JoyjdbONyl5Mz3gg4fPGeh4+7fAKkHMbXuCoz0OgI6tc\nOFpQSpEYf3FwnG647R6yrtaYEDMNA55acANSFzWmClwYSJtZtpfHoeMGO6CN\nL3yDcP+TGAZDHekNy94HaZT7KdwVtx2fP5G1Sl2Eo8RBbpZP+kFcu4fb4Y6P\n3c4jKpm6ROsh4/3RgShgmtDISqe2NWVnRDWoV9CpZ+3NV4DgszKk0HsmrAFC\nnc0rwNvNs4iAjTGdRMyckIh0oCDePaf4zIrDP4skAX9C/pccJdasznkTjoOs\nYNgEblP9PGbazKud5AUQp0DihWD92J3Mx98qUXF/7U0t9jyBSGv2ZmBB0xw/\nA8sF\r\n=kHYf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFIHVK0osCDWmdutOQphj4OUR/akWXouC8X/ePPXyeAuAiAuBdCAp1AWOY/ZhWoN7y9pUf7AaMu4eJE0txj8ZfsoQQ=="}],"size":65948,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.8.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.8.5_1582315564811_0.47243339534369233"},"_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":1582315564940,"_cnpm_publish_time":1582315564940,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}