{"name":"@reach/combobox","version":"0.11.1","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.11.1","@reach/descendants":"0.11.1","@reach/popover":"0.11.1","@reach/portal":"0.11.1","@reach/utils":"0.11.1","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":"5c6de02db35c1bb69e28d52bf345ea5c5c484013","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.11.1","_nodeVersion":"14.9.0","_npmVersion":"lerna/3.22.1/node@v14.9.0+x64 (linux)","dist":{"integrity":"sha512-w3Uyt1hvlykFadg6NwX4hPuvo3dnQfi6lqGl0HCdAG8NAyY59XT+5v8RXgN2DSZTu1mPYsBvelHoir1BgASoVw==","shasum":"1b1707e0085908d529899dd215d5e3299da4268a","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.11.1.tgz","fileCount":12,"unpackedSize":251930,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTdZYCRA9TVsSAnZWagAAFPIP/0u6Er0ReP+3WLHntnDH\nLyJTNBpXWG4ltUuYV6yNdl2s0N5Uua5jlWiZg54hWFF70F+qFPEtKr8YwDSc\nRMGngzE5fff4aNOyfXFuNuPYSlnS1k2tuWlpTLhMuFIKaf42GwqmQdJscuaJ\nyrevIf1siCiLUwf1lJV3dyhfSBWJuGfZ3lbpAx1lhaBwrg1+15Y0Mc07eJSB\nBG0N6lWNkRSfkkRKtGfnV0nO2J9NZy30Yy8Hd7HR/pNBMNS8sFdo0uBKLY9I\nKSSdhMT+2WthCABR3bYMRmF80I6qGsZLtEqeNmjiNmez/6oihZ1ECpn6IY5T\nitnuYUnIycKRI0vJbhJuMLNal8oru4Hpjnogb7A/QrBjggiD5UXOM99heMjR\nyzoZ/TVFPWGW9rMVrVzfHPtblwIV5jTNTWTkazR/Zrs0XHqlI7+9KUayJctM\nQMx1jW75eW6m/3ghOgyiAgIPgCRpog74a/DPFVRIs5o+ZrDnV0kHMv6YPFNe\nbKCH/x6D2Q11WuRJuRJfTFQkaPY8Uzil5IH6txxzyJ6pwqFJU8bubCQqwLJf\nzJFqZfenfZjHvg7aEXSrJRKYxCzWxdDzTnQEfQalAhUdNXXcNjVG4xOhAgUr\n6UnwPA88s7pZTmWlY35zjFTiyMlB3qROGg0Kajdi8dsXS7WXp+nwy4zgS8RK\ne6NW\r\n=+ANA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID+afyxos0zg/QZ7u3BC9g1lIp/TFSCnKgnt2QegWTkLAiB/e2oH3eoKU/jubHZ5yXJjVyQxu7TQ21wvkxsuY/IYGw=="}],"size":69906,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.11.1.tgz"},"maintainers":[{"email":"blainekasten@gmail.com","name":"blainekasten"},{"email":"chance.strickland@gmail.com","name":"chancestrickland"},{"email":"npm@mjackson.me","name":"mjackson"},{"email":"rpflorence@gmail.com","name":"ryanflorence"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/combobox_0.11.1_1598936664243_0.46644173897323626"},"_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":1598936664407,"_cnpm_publish_time":1598936664407,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}