{"name":"@reach/combobox","version":"0.8.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":"yarn clean && cross-env NODE_ENV=production tsdx build --format=cjs,esm --tsconfig tsconfig.build.json","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.0","@reach/popover":"^0.8.0","@reach/portal":"^0.8.0","@reach/utils":"^0.8.0","escape-regexp":"0.0.1","highlight-words-core":"1.2.2","prop-types":"^15.7.2"},"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":"7702c46373c7f11adc21184e7def9977203e9326","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.8.0","_nodeVersion":"13.7.0","_npmVersion":"lerna/3.20.2/node@v13.7.0+x64 (linux)","dist":{"integrity":"sha512-suFSOUn4c1yNr9qhnyseS+uhQQcnbifyiW78AFFt7QtKQSXLyuB2tLd+sdCFOzhg07zsaMzq4QRDjG5TFtMT3g==","shasum":"dcca664b47ec9b4f70865e60bf380b063d2cef63","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.8.0.tgz","fileCount":12,"unpackedSize":226918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeM15NCRA9TVsSAnZWagAAs9oP/Rlvj30xxH+BR4T4Zd4T\nXgRh+ZY3vyCpUDEpVMjREqgCeTsKpwJukVRJBFM+Zfy5p2IvXlh3Z3Ak7g2l\nK2jEpS1eoztG+cGxjdK8pGvH46K0LdWCZOE1oE1vC3ApDzMZmJ4mSAbAGSxJ\na/ysQMVyYm0K5eEFRx0ckTQXr/g3VIO2/R4bROky8Ct0tsx4bJz54aTVD93z\nmIkY1cRcQ6+YUSqa8C9dFYhP/SL+Cin02a55q7XZc5dQh6/tIPQ9g8rVV79d\nA/qdjMsfgaCmKM/0dLrTdyIX5WJ0sLGmx5Mf8o8JvuukqCQmJswqNe36WJU/\n3VpvFblQFLzud8MKyUf6d9aSmnrQQtnUe9os7u/fz+l7VhBzkavkqlUYGmkq\nXgsgI/T9zfsryqHD0R1BO67/2ZFXTXe3QZcshMRNRWkDsJfwuxkiYDs6Z7ni\n24z+Q8iF5PxSymWvsqwhA4yaa4Xtg1Rk9TnF2wgJfHvRHS3tmk2fOq9+TGng\nTPmSKnKkoD+HOqenoWuUn2wsoRi6ggvDgW0r1/XCb6CRMCkEqfbphm/r/aU7\naRcoP3/wxR37fQWe4MqeRYWWfE2E/mTy1U4nR4J+GzhWo5fZQ8c40rB+UlED\nQYJo+TyeAXaexv5NfRy31z5D5abYsYWDaPbultTAF0oQMbcsMYVF9Tzdfr6x\nJpqG\r\n=PM02\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIET+vAEfyOA9vvV2lPH7K9rXh17t8Ny19/dolzNeY+8TAiEA7a9gN/XnUf19sJeuB3JcbcODjZtDZgMFv41x9MvlV8U="}],"size":62525,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.8.0.tgz"},"maintainers":[{"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.0_1580424780904_0.5140096359343553"},"_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":1580424781053,"_cnpm_publish_time":1580424781053,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}