{"name":"@reach/combobox","version":"0.18.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.18.0","@reach/descendants":"0.18.0","@reach/polymorphic":"0.18.0","@reach/popover":"0.18.0","@reach/portal":"0.18.0","@reach/utils":"0.18.0"},"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"},"bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.18.0","_integrity":"sha512-x60PiPOIB4azeyh+FZ/svh0kXZRCneGCXVLL6htWs1VmaKq+TWR/48V03yQX5cSKjvRM8UFDVn47mpcg5ZSFtg==","_resolved":"/tmp/f9188045ce4c5e355c2bf33bf652bada/reach-combobox-0.18.0.tgz","_from":"file:reach-combobox-0.18.0.tgz","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-x60PiPOIB4azeyh+FZ/svh0kXZRCneGCXVLL6htWs1VmaKq+TWR/48V03yQX5cSKjvRM8UFDVn47mpcg5ZSFtg==","shasum":"8b3879b7c2dc426cddf0941b041d1ddc6d9adee6","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.18.0.tgz","fileCount":11,"unpackedSize":146480,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB7V/h+hrW7ytulF24aq7ptUVyTrOhMRoKQLgbQ7/rKmAiEA9SZNtmierxPp1kERYzzyHe8KsXEjcge26hUbBs5C+U4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjR1YSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrcrxAAmz90XKmn7C5IV2X5H8MaH7rKkdvhdbgs8+PXFbC9H93tsI2k\r\nSjCs3eLIwgbAmifbjyAp+GhEy3R4cn0gm1mU3s0SV8oG56n9ppzq1vZw3my9\r\nirUDVeK7laCm+RysM9CuW1HccKkHbVWmc5k9pUGZFkBCFCqBS0keJlgiA6PT\r\nSdd/8yY/BYuwcFN0ORX9LENT28andMl7ryoJo9QIseF3F9/peCVSYQtmZzYZ\r\nL3nleKFJcnxRp+2QL/tbSeGCrV97yymitzadDFjRbck0d/7bz9T1dAcIoVvU\r\nF5ASGNYKOrA6txr3NImDTj5AnaFuVD16bAz0UJa9Ezu47bb97ahwpuC2is5S\r\nVrB/2Wgn0n5A10mfJeUmbomEYgsQDdftTHryMtVDqx3zjWo0eg1KuZ43RhNR\r\nCP8YCSQW9Q/4DUWtZxNxeCdh06VNN1Q8yzi+sGpELTSwLGlyy+mZlF61RFXx\r\nNkGFmdGhHF3p6Y8+L+eYEvMgdlTFLq8aNCf/zaNBx6+I8/rFJMnDxhYGKR5o\r\n1nqRI4GI6v1qSquLLIz9iVP4iI9Vo6uJzp1AuAiJs/oxrymmj6C77V40MlRG\r\nthMlkVZ8N0wzfZVh9m5OcoCmHi/MuFtB+zPUmRuWFp27YK58k9zgtObKr+sd\r\n79gsohagTwQMIcgMxYTBBtlo84QyM9YsobQ=\r\n=tYmv\r\n-----END PGP SIGNATURE-----\r\n","size":37458,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.18.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.18.0_1665619473843_0.9870678079432531"},"_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":1665619474055,"_cnpm_publish_time":1665619474055,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}