{"name":"@reach/combobox","version":"0.16.4","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.16.0","@reach/descendants":"0.16.1","@reach/popover":"0.16.2","@reach/portal":"0.16.2","@reach/utils":"0.16.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":"85e6e764c7acc336fd3f99eca80c3fa180882260","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.16.4","_nodeVersion":"14.18.1","_npmVersion":"8.1.1","dist":{"integrity":"sha512-j9TANKr72Q1/K1Ez7C0qJ2E/JRKrkwUYyxMUTRp9Jiegcx/aW7RGv58ogipAB3fi0WrVklJgCAXAqtVocZ8kvA==","shasum":"0a6ad32e383211ac089f8dfa084a0b527f02e4d5","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.16.4.tgz","fileCount":10,"unpackedSize":142637,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhk/TiCRA9TVsSAnZWagAAcgsP/3oAVs2ibH2eWe6qjbXU\nDbGhvVE4IhsjsdW3D8c2bImyjwrRS/+pb/JOreFwn9W+mEiZLVLDkYtVjNKW\n+hWW1NX5nS+PogaSMGo7qpx7EB/7rhvAyEwV9YigQFO0D9B0TcY6r2LkvyOc\n08uMC3Jyl5Zfl5eX4u5FDdK7upXUpY3tZ2t9D0Cnb2EqjP7I9kga3C6KMdkE\n6BO1MxzvcDYn3uWEx2CRd+SVX6/wFJtgtY1pDM9Bg4rHBTdoj289Q03FZHym\nd14Wv6UXxIKozEG23Xf9z560NWrHSNbnZmSq3NvWJJ1ezzsUzoBgpe04lM4q\nz9nBuWOBL841xp+Quc3eh0thCmvqQlFb7Cqfn0If/Ak0qhLfddUXdlRRCYwc\nF5AXDoHg21NuNb8SZypbodc/6U1Lju6/0Okn1kZN8jW6TBDu3Aee/Uvg/msA\n2izelRNlPAG2nrIU748/jkbpjUbmO8ZUNY58nJRpjH8sDL6RAq3a5JdAlCEy\neaQ5raFS6/PtTrxUNQsW+1v36cNDDeI+/8/EuWsSJcNhfbHf1KODCo+jUfp5\nTl60LCfI7d4ez01Z9eGB1ItG0iMJ4Bc4w5o9IzuAF7qakvhAkyFTSWL/XJwG\nRokpPyPRH4I5MXK9n/nlkWnWVGDVL2guwps4Bv6O0m5VJLSlJAIeo5tsmmQF\nQJkD\r\n=WFpa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEiQmPTwLW7S1HHp8YDun3v5mzuv586IYm/fIGJij8WzAiEAvJPec4jSms44LyfY4iZ66xG0M7oG2SuMyvBS5JYI0mE="}],"size":34443,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.16.4.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.16.4_1637086434142_0.9920714497954071"},"_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":1637086434348,"_cnpm_publish_time":1637086434348,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}