{"name":"@reach/combobox","version":"0.12.0","description":"Accessible React Combobox (Autocomplete).","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/combobox"},"scripts":{"build":"ts-node --transpile-only ../../scripts/build-package $npm_package_name"},"dependencies":{"@reach/auto-id":"0.12.0","@reach/descendants":"0.12.0","@reach/popover":"0.12.0","@reach/portal":"0.12.0","@reach/utils":"0.12.0","highlight-words-core":"1.2.2","prop-types":"^15.7.2","tslib":"^2.0.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/combobox.esm.js","typings":"dist/index.d.ts","gitHead":"09eeccda6e4597d21545982c53db5c42beddce6b","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.12.0","_nodeVersion":"14.6.0","_npmVersion":"lerna/3.22.1/node@v14.6.0+x64 (darwin)","dist":{"integrity":"sha512-mCMe3xRqdQUvhF++q7bOmVawQX61oYE634PoBzDmNRw+hjCAo+tYY3kF3LasLl615f2HKBqzAbBwreDphPwtDw==","shasum":"f6036bf5bdcf2fd19b6d7f7d8f99d0e0d1fddc76","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.12.0.tgz","fileCount":12,"unpackedSize":255788,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvvEFCRA9TVsSAnZWagAAMLgP/j6C9EDfuncNAl/1LRnK\nZDAAPBwH9atw3CDUKR6YLf5OSz957NSNP/nXovxITNWSYKkBaCmiE5dbNrcD\n1ZZghkQTrgyz0VyLtQxjN/yAO1A4JvIsSLQhgbVEdywUENyb/Z8AQhpmRRGu\n9XNoEou8fcSLpSsVOz4N/0e2RrWDroCqK7OBc/tBVOGxz4ebJxWBr5Oj3FeW\nHO/zzjLhnIGpiejaWV2EzkZLPTPlFDj+0TZYmKBeNdP2G7vwJGnXwxKZqCdh\n6wvZE6Ri0TB2i46kw4Vhbh7w8EWzthIUyPgW5B97YIiuf5c8fdMNWrCFtJIx\nbvx1uoBkR8A/pTifY+cEZ+58xfoh5rEDWKK6O2YvGeeDTacMqBXfmsAWlQPe\nDz8jt8CYr7DKsgrhUGlZhsPhZxyx8ynTN2JqcQut1b1PsDnpAaQihjn4yAJ0\nP45t2bWXirj5myLc6i/WG7N5X95g0MX8tb6+BpRvdQAYfZk64G0Zy3AKdfIy\n+ZUq6fOXuPgo3L5NrkcYgV5fE1YGQjYqGSEHkuejqGhytPaJQYfWsI0wymql\nr43PYQ6IHzE44rirOss2/Rk2aHGejxi2qyVR4scmYmNuW1iuJa3EtRB59j43\nOBIsphmzhs3FoDFOgK8obIs6bMZJyX6qt497/myJ8oA95y01yZ7vrE8ibiB0\nEfvq\r\n=oMFq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC69LMyOYWNC/98ajuAiPf5K5/0sHtQZWjdUSRq3iEq1QIhANMQaNVrOcaqwXWbM+vkfW/OLX8P7pEvHEUSnLM0A+Hw"}],"size":70936,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.12.0.tgz"},"_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"directories":{},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":"chance.strickland@gmail.com"},{"name":"mjackson","email":"npm@mjackson.me"},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/combobox_0.12.0_1606349061372_0.2307509736448896"},"_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":1606349061639,"_cnpm_publish_time":1606349061639,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}