{"name":"@reach/combobox","version":"0.16.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.16.0","@reach/descendants":"0.16.0","@reach/popover":"0.16.0","@reach/portal":"0.16.0","@reach/utils":"0.16.0","prop-types":"^15.7.2","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":"e4c6093db14e3cc24c26794a002dbd8c866c0387","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.16.0","_nodeVersion":"14.17.4","_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (darwin)","dist":{"integrity":"sha512-ikZNdEwv4inB0TVqGdKW/mXNK4QlAhhaaH7u899bathMuWuVi8tgKdaqKWI76S1sQYaNfczqx+0/17g/AE/Q8Q==","shasum":"b7bc564b708b9d2f9fc0b7f2c803b5d089eeb21f","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.16.0.tgz","fileCount":11,"unpackedSize":138913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhB4WOCRA9TVsSAnZWagAA+SsQAJrtjbh+VLnnoHHslbX+\nJQntMXo7pk39xydBMeabr7HzXSmbewSgTvJvNH1ogvXLxIeDSCHqbE4+dqAN\nEuWzpRbdaB+v0/NpZt9BbPIhQiFcrsDd4x8hsdeImO+nuh1zNWGt3EqQWSpq\nmk0HS5d+i6mMUJpGOpJ1DA/7nz9BFk4KTJUw0S/q5RlCi+z647ICakpOf/qj\nn/nbs1fRo5rHFjkb0T+H1Npz3iHZF5IUcUvHREXTFC74SSlAFN091tNkFZec\nwPv6ykoX/Sg7OJYiqYlZUO5piJlZnXEN+6X1HOcXFIzSnSO2vCz8OowvGA5/\np+Pny5M6zQOKAoTGK+Je8U6pvHIxgLaKMpHkvcMJZKQrb2iiJooc1WPcmr8I\nH5xsyR91MkKomDs9I4Ipb2poMDOaJIC1YQylfwuHQj9cheCuidAVCire4Ct6\nEFdaix9WpwwO7nc4E/qC8HFz44bV7Mn3/Kreeofp7/WG+q37KnBi6LjyKWu3\nssK0hZscGZUaK9l1AGEh03hUd/gGBrNozOl91SMMnxR/I+6jsJkeoExRb9uT\n0AI5yKoMsKrNxQRV3fLILOzR6QY0/+GIPj6ZKpPYlWfkAEPKC+3z7Qw6C24n\nbYvSc4jkXGzDiV+tgboRLmganpm0QXJBColn1XeawRCabmY5jifj287/28zt\ncL8s\r\n=iaDV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1bSFiI1m0GVQ7ijQgA0eib6gQsPu8+hoi8DwWgSSOsgIhAMpKMjvk6YvsrBJuRvlZX4KcQ+CmjbAffRQJqjKT48TS"}],"size":34291,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.16.0.tgz"},"_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"directories":{},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"},{"name":"mjackson","email":"npm@mjackson.me"},{"name":"chancestrickland","email":"chance.strickland@gmail.com"},{"name":"blainekasten","email":"blainekasten@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/combobox_0.16.0_1627882894690_0.6543233991972175"},"_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":1627882894826,"_cnpm_publish_time":1627882894826,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}