{"name":"@reach/combobox","version":"0.7.4","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.7.4","@reach/popover":"^0.7.4","@reach/portal":"^0.7.4","@reach/utils":"^0.7.4","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":"f460709e283a60dd5ea62952b7feaf88546a50ff","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.7.4","_nodeVersion":"13.7.0","_npmVersion":"lerna/3.20.2/node@v13.7.0+x64 (linux)","dist":{"integrity":"sha512-pmxtevP8jBmxd6iBQ09oz2YOJDDGm6j0LFdE8NJ8xFEjNNe2trQuFxqatIvw0CZ5oRtXO+Wfh98AClfy3pcqiQ==","shasum":"8f954242fc7d1120866c458861258b9a9f99e732","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.7.4.tgz","fileCount":12,"unpackedSize":232693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeK4j+CRA9TVsSAnZWagAAXk0P+QAPx7nsuOaB7yuZcfde\nTZ/Ouyj5ZcGAD8hF3jy17RWCxChuuNLxfFfE/sAybafwY1+UuLxUHzevEHEo\nqk6LGijpvYaW8QRJ0mm7z+4nJ2dMPID5zmIqsp62nmBKunc6eRW10d6dwNBU\ngsWuNm7c2KBPbuiDSZAKj/uhDwZpowZGuIuNebx6sObeGjU5WIASe3JtR3XX\ntE/M7aMwQYP6tDaoQ6xw5sZfeOo7yvnPp7lmLvIZlg+7LwR68XsXnAIRe1gs\n69wes7PZ5EpIqvugLlyK2KrRdSfPeTkApMJqTy4OEXOBSid4ioyySCLJKCnJ\ni4WN7PCLQoEiCezpo7HCejsHckyUnRAtwU1LNx2aRu0ktRcTsv5pGe0bsWul\nyYzcIM7aB59wXQyFAsKodGC2V1uiV4BdzEObEQov2Fs/XFmxpEy1EDRCbMef\nytN+ic7oA3BSyTJW3R35yQlSF7ZwEsdp0GXU0SFeiPqEcZN5F2NaoZtAZ+3W\n6Jb/A/PwOSF2JeSm+zFX84QCPIbG476hMcmZH/Sme0KSYQJSad0Vy2/+wS6t\nJXMCKfwWn8clatFOT490Uc4Ff0Vpmkl2EoJzA9i4PAIgRccTHdgzmOzi+AUc\nPhnb4i89kbCk9dCPaiASnrozO5Jw38ds5h3Ha6mKdMmM1U4DRnaH0Z7S044p\ns+dP\r\n=eWtv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFEEJPo1WumiYt6gcW/PykDpIcR5BHrI4tXk595sDmmwAiAQEPNEPRkqsa2wCJc7AEJOSeCknMQRiUCTNH8P6FENsg=="}],"size":64177,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.7.4.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.7.4_1579911421783_0.6365295447735386"},"_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":1579911421984,"_cnpm_publish_time":1579911421984,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}