{"name":"@reach/combobox","version":"0.8.3","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":"yarn clean && yarn compile","clean":"rm -rf ./dist","compile":"cross-env NODE_ENV=production tsdx build --format=cjs,esm --tsconfig tsconfig.build.json"},"dependencies":{"@reach/auto-id":"^0.8.2","@reach/descendants":"^0.8.3","@reach/popover":"^0.8.3","@reach/portal":"^0.8.2","@reach/utils":"^0.8.3","escape-regexp":"0.0.1","highlight-words-core":"1.2.2","prop-types":"^15.7.2","tslib":"^1.10.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":"5bf1ce48db867c6b3c88e19f1614a6a725e829a0","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.8.3","_nodeVersion":"13.8.0","_npmVersion":"lerna/3.20.2/node@v13.8.0+x64 (linux)","dist":{"integrity":"sha512-lMcnlz/JqIvVWx0zVwf6P4W4sis0WZPmuZ9EXbtJtGmghGPQqbbxFLs1YkDktzBvxMbxyGOsT95/43L/bIuBtQ==","shasum":"9c7e574cab85bde47fa072d99446785531ad74b8","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.8.3.tgz","fileCount":12,"unpackedSize":240396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRzdJCRA9TVsSAnZWagAAlUgP/RHSlnYPOAGmO37IzGb8\nmD62C29ENjuHIG6liYYAOH9SUvilR7LpjI+3bqer0D+XA74cCD/stNU94dk0\n16oo0mJbgiRIQv4hr62h7v5MAwe3KLfUJ5mKa/SynkVAUFh7fK504j92lRZg\n8dhNo3+tiTsQS4oGrQdmfE777qnPznYLkqAV7WuLYZR8W6esgsl95xxqAyCF\noTdVtU9Q1eaG3Gg3SIEPh7uWQYYukH9+a42Iykj64W8GVOoCJpV7UDWeYCNG\nc1YyGYXqIVCDDgi0pk0Ov1bNetM+CSc8haHo1ADRBLkoQMgGlYqba3g3S8h6\niCKNbOFcfkhVt8mkyOgsW4011s/nNfD9QjABtzF/5gYZYRdiYfwLPmDmesgT\ndaX09dunZtc4VPej8YQWEwUz28JsiS/sJE8Xe2uDNpXiYgMAb+7Xvzrjo9+2\nPNz8yssn6tl4pZ328zjt2rc7WmotDOT0o5AMxc9w1YulHrws8rgI/Xsl0Rjq\nbmIPmTnL8Sh9lYsSdYQ2dJmfVuQK/HIBKeFieNA+zXV74cT+YaSE6ltxIeH7\n39szXFav4cL9H43tY2M25dtcpheF5EKYzdDvqI7xXggyqEV4a0HaRieSjfXA\niB1bjH+hcXnfM0BmrkfDPgyhC+DZgbW+p7TkmNnI9yi2ztgTz5KmtWEKhVav\nnp1f\r\n=LP41\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBNsw9JREVjOR6Ae2QsNhZXgXwq66hsCfOPPM7CbpEHKAiBqZDHg2uCLNc62T/TNxguY1p1/d7lNlqJRKwUX+BrYGA=="}],"size":66091,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.8.3.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.8.3_1581725512601_0.47295741763113375"},"_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":1581725512741,"_cnpm_publish_time":1581725512741,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}