{"name":"@reach/combobox","version":"0.18.0-pre.5","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.18.0-pre.5","@reach/descendants":"0.18.0-pre.5","@reach/polymorphic":"0.18.0-pre.5","@reach/popover":"0.18.0-pre.5","@reach/portal":"0.18.0-pre.5","@reach/utils":"0.18.0-pre.5"},"devDependencies":{"@reach-internal/dev":"0.0.0","@reach-internal/test":"0.0.0","@reach-internal/tsconfig":"0.0.0","latinize":"0.3.0","match-sorter":"^6.3.1","react":"^17.0.2","react-dom":"^17.0.2","tsup":"^6.1.3"},"peerDependencies":{"react":"^16.8.0 || 17.x","react-dom":"^16.8.0 || 17.x"},"main":"./dist/reach-combobox.cjs.js","types":"./dist/reach-combobox.d.ts","publishConfig":{"access":"public"},"module":"./dist/reach-combobox.mjs","scripts":{"build":"tsup"},"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","readmeFilename":"README.md","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.18.0-pre.5","_integrity":"sha512-qa2ItsoOhWklH3PJirJFpqGoQDXjgUrw20GyJdHq/lwTfTuyEdBsyjuMzx13yli6L2WtY8XSvdR01K6gxU7aWQ==","_resolved":"/tmp/6172ca40681526b9a01f77cecfefa58a/reach-combobox-0.18.0-pre.5.tgz","_from":"file:reach-combobox-0.18.0-pre.5.tgz","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-qa2ItsoOhWklH3PJirJFpqGoQDXjgUrw20GyJdHq/lwTfTuyEdBsyjuMzx13yli6L2WtY8XSvdR01K6gxU7aWQ==","shasum":"bc5958e8c15dc86626cc1032b9c0cf18acf0456f","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.18.0-pre.5.tgz","fileCount":11,"unpackedSize":148481,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDO5J+/ukJ2W3fz4PtnPIBgDvGPa84JL4eD1h/agdyKrQIgVnkRQEZVOsa0dr2L7wSbimlB00CzqYjab8mEsSsWaLI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjR0tuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr3pw//Vgz/sF3dwB6mBCQFkwcgNd51NWCjGRFScFdvof9omMJQQnsT\r\nrcMyv9mA7vDPQhZXGyxMD//WUkdkwUxo7QrAlRrqns5jYmYTN7zRAJ9k9L/P\r\nurGiNwvvUUZKykpdCPhiUhHRiQRljekOjU2CM3S+TbEaatkKVXlp+UgNtpNA\r\nu2phyORUOVe5ZYArnXeQxgCgttofQ0/4GoDR4rP9rLSRqfQ6YIe0oaUcGpyz\r\nb0+pfXO5aEjWl5SQtBUb23AdfwljLz2P0dI2xZz5N5RppgpGleBYrlzXAg9U\r\n3pWaqFgLr+R99l+MCvQK/++9XSuz61Wi0U4SkAnPfUqO6ux2XfDEgM94j/KQ\r\nfIUoGbVOun6WD26V6UT7Ar0Y5FxR/oFtjUcVqECU8VYdd9kHa/ODYJP94LJn\r\n6K+Rh0XYQwTXsc7GzKhxAlMZdvP2MclQG/DqcGYidhXdqIjC/KeQvo4EcvT9\r\nqQdtHSkhRUhU++BQFBHz1/kUo06KhNf6HfWDpgQLFcaSCn1jVJG/r+BbdeqM\r\n4LIcwcKBxgFC5t/V06neLf56LX27wxu7qL/Ig07qifWyaAeRLejXbf3/AFij\r\nR4vA++hvPfQP7DwpoTl3eLJg+LMGkisZl2CqdeUmTLvcEkPzdoKIooPAeZqo\r\n7S8sFB826C+bArQX0KJBgwmykd7BH5NOoVU=\r\n=PGUb\r\n-----END PGP SIGNATURE-----\r\n","size":37878,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.18.0-pre.5.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.18.0-pre.5_1665616750735_0.6715469712538902"},"_hasShrinkwrap":false,"publish_time":1665616750938,"_cnpm_publish_time":1665616750938,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}