{"name":"@reach/combobox","version":"0.18.0-pre.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.18.0-pre.4","@reach/descendants":"0.18.0-pre.4","@reach/polymorphic":"0.18.0-pre.4","@reach/popover":"0.18.0-pre.4","@reach/portal":"0.18.0-pre.4","@reach/utils":"0.18.0-pre.4"},"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.4","_integrity":"sha512-0CV6iTRUj5xmBF+Sd1XnYzRaBp5Orc5JuHr3tiG9o/8YQ/Cy1tIoxWyD9l8z3ILyu1/x42Gz7Q5yBAPQFDuu/w==","_resolved":"/tmp/0b5820cdd8f6a1d7edd47d2c53436884/reach-combobox-0.18.0-pre.4.tgz","_from":"file:reach-combobox-0.18.0-pre.4.tgz","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-0CV6iTRUj5xmBF+Sd1XnYzRaBp5Orc5JuHr3tiG9o/8YQ/Cy1tIoxWyD9l8z3ILyu1/x42Gz7Q5yBAPQFDuu/w==","shasum":"76487047e554614396a69d05a59e78b24020dd1d","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.18.0-pre.4.tgz","fileCount":11,"unpackedSize":146142,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCluEAAAjfcZmB6ZvBJnJbtEwjOFSPxphjK2cYZpyX3LAIgAWMOZ+gW94JmZoN80IMRKOKGANt3ZHy+hUZ5geLk9aM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRh/IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo6nw//VO9BPTa4ap2WqG7sFOlm2nQW8OjQDNThhsipJkj9o0XMcDUS\r\n0OnyAJN7leUH6RqLtontRT5VwfUlJyyZizZZFAfpgSNL1hJMh+ZEqZrA7OEF\r\nIjSoo8XYqYP4BME/WZ1F+qm0a7SStyti3pWBbAzFps9gyPPOOh08SbtdGfPT\r\nt5i/Anr64LPfvYEkI4JElxiIULFC/Fa8lxShZCCBHvSZgb4k69TGH7OE4Rkb\r\nkmFiUPy5qOwZEBCZPheRG6Hp2o+bfJM7oeC1m8jOxIEj5ww2w/eZSLpTw8pF\r\naPYDS1mTjiy4wPk8Dhw6o6OGRDuKorqQQ5rDF5Cs3kfjwrYajs2RCBp1Rmc/\r\nSzqgO4iXHk2XlV4NKSvfPbZPAbt7FFQT37inL5ADI3U08e0hJd6BZhkuQg7I\r\n24gpCSV/0TZvU7RZMTDdzlWm8YqaQVK24kuFHAKZuWLP0DR4nEYuraj+/y/B\r\nUbpzf5HBNv2hpyDPwKOoP7BLr2YaJH7wfDXMQLND2l2cWufWtB/4Q+9pBI3c\r\nH2gEoUsT3RbSg+Uca3iL8GQkhCzx0kXOmcZWIiAfyTBsGpGokNQjPx0grNHj\r\nMr+qoF2KqjXdsQOjigFXG393zYQ3h6hdaDdSiO5f6A437afYBPVD8BQ3R1C4\r\nB86aiDj4YUbkqmVcD0GlFEl9vkUiwF9N32E=\r\n=ybVH\r\n-----END PGP SIGNATURE-----\r\n","size":37254,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.18.0-pre.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.18.0-pre.4_1665540040526_0.29059426058604854"},"_hasShrinkwrap":false,"publish_time":1665540040666,"_cnpm_publish_time":1665540040666,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}