{"name":"@reach/combobox","version":"0.17.0","description":"Accessible React Combobox (Autocomplete).","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","sideEffects":["*.css"],"repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/combobox"},"dependencies":{"@reach/auto-id":"0.17.0","@reach/descendants":"0.17.0","@reach/popover":"0.17.0","@reach/portal":"0.17.0","@reach/utils":"0.17.0","prop-types":"^15.7.2","tiny-warning":"^1.0.3","tslib":"^2.3.0"},"devDependencies":{"latinize":"0.3.0","react":"^17.0.2","react-dom":"^17.0.2"},"peerDependencies":{"react":"^16.8.0 || 17.x","react-dom":"^16.8.0 || 17.x"},"main":"dist/reach-combobox.cjs.js","module":"dist/reach-combobox.esm.js","types":"dist/reach-combobox.cjs.d.ts","eslintIgnore":["node_modules","dist"],"gitHead":"d206aefac2bede58c06a54b18d48eee7537096e0","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.17.0","_nodeVersion":"14.19.1","_npmVersion":"lerna/4.0.0/node@v14.19.1+x64 (linux)","dist":{"integrity":"sha512-2mYvU5agOBCQBMdlM4cri+P1BbNwp05P1OuDyc33xJSNiBG7BMy4+ZSHJ0X4fyle6rHwSgCAOCLOeWV1XUYjoQ==","shasum":"fb9d71d2d5aff3b339dce0ec5e3b73628a51b009","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.17.0.tgz","fileCount":11,"unpackedSize":144284,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkBnuhquRYai/QiXOBMhe5dHSvHEYJGPxHY2Il1+rwVwIhAJo/B54Wima/jMAO9hwhFTiaaWfbgBamZzGi6ZhbFD4B"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiX5wxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp6mA//XKoKUIRjdLmijY8Fm2L+9SDTEvuiTBv+HNzGgiqMZWS3qbBE\r\nIo/UfmaAwdLwNn7fXYHwI8OwrJB95iTdLZZwmCnqL7UyKcvTTqa+fhDPENSs\r\nNnDaaiQCXvvw8V1KUl0fKGt2L74zh5tdC+t4PY4SYyHryBB+L9YL20obZkQP\r\nlBGQzSXir+aAaDKWzx0iAIBo6ek6ayASjd01tjrMHbm7/DYGgUK4DKcGTd0J\r\nNA5YIu4Gsmgv57Bwk/U6ZNUObP2URWVKLjUFnyyIO6/9RTmlFQ47v8NqqAa0\r\nils8HBICs+2+d0pCdXv1i92TdYUx53urVQs9IL813C7o4RiwAMQrjJb4pwIk\r\nZLJBMtzIlMbZvFDQU734Nn8cdwApNQqUNU1y9J2Xwk0nMfEcSsSmbyHTB72o\r\n95iDKtjRSKIPRZPmSyAlR6EKh4AvrfY1u8INO1RHQVWzvr1X2VtMyH3Lq6kR\r\nN6m5CTUhoYcRorEPeMJa53AIgmC3qP8EdMTsNMO4deky6w1MbfQd4epUG/ZI\r\nTTZuLt6YoUog0o7baOGJZCANq8AdcGOlHJt709Dac/4lHI1Ly9v5/2sqj9C7\r\n0jJ371l7I0yjon6EOGYQ2x06DtDQG/8V9qADfUOj+TwOuXsffHnAtWp4pZ9r\r\n3wvTjJ820mMs0tmELmdISyo4d4MNeLDP75g=\r\n=FnrF\r\n-----END PGP SIGNATURE-----\r\n","size":35445,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.17.0.tgz"},"_npmUser":{"name":"chancestrickland","email":"hi@chance.dev"},"directories":{},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"},{"name":"mjackson","email":"npm@mjackson.me"},{"name":"chancestrickland","email":"hi@chance.dev"},{"name":"blainekasten","email":"blainekasten@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/combobox_0.17.0_1650433073309_0.25887382690298066"},"_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":1650433073456,"_cnpm_publish_time":1650433073456,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}