{"name":"@reach/combobox","version":"0.0.2","description":"Accessible React Combobox (Autocomplete).","author":{"name":"Ryan Florence","email":"@ryanflorence"},"license":"MIT","main":"index.js","module":"es/index.js","scripts":{"test":"echo \"Write some tests you bum!\"","build":"node ../../shared/build-package","lint":"eslint . --max-warnings=0"},"dependencies":{"@reach/utils":"^0.2.2","@reach/portal":"^0.2.1","@reach/auto-id":"0.2.0","@reach/popover":"0.0.0","highlight-words-core":"1.2.0","escape-regexp":"0.0.1"},"peerDependencies":{"prop-types":"^15.6.2","react":"^16.8.0","react-dom":"^16.8.0"},"devDependencies":{"use-throttle":"^0.0.3","match-sorter":"^2.3.0","jest":"^23.4.2","react":"^16.8.0","react-test-renderer":"^16.8.0"},"jest":{"testRegex":".+\\.test\\.js$","testURL":"http://localhost"},"_id":"@reach/combobox@0.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"dist":{"integrity":"sha512-/6p1heoNB9FLizdrfbukHdLx3Nt+HbZCa9Lg8J2gHg9KNDlTAVAcY/F9zaT9H6sN7Ek0+oc9QRAotqAbE14Spw==","shasum":"4107dd8b77f25bef32731efbfc5389203679186f","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.0.2.tgz","fileCount":6,"unpackedSize":108396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5XNlCRA9TVsSAnZWagAAnhEP/RiWHhjoHvFsiLUKMd/f\nL2of29x14wtk4k4yV7x70QspBDVHJyMhIZF7DIigo1pGp2U4KKmN8cUklgJH\nXQX9poRM6QzK7uIRAkU/SBx1AwQhPTt0WMU4f+j0JTXeoe3nzaLwFQwZz9s8\nVxHL0gh+CTNPYD9MWdNewQk1z8MfPTEytmAyl0tMw8SGHAE6h9YKSLRSJAaP\nv6Ro726m1/TK4SS2jK8D4Cx9jcKt9Ff8Jm66NVQow4+oOpIBWlcBM1dJbT21\nCMr8W14WZtyTEchQh1FX25gmOGwc/5ZjieqbJ3ylDknT6oHCZhKfmPSmNytw\nNltjdJqWzRyGmFf6rWYSCB7Z8YH68/98A8wgNErctILL5cXG5lT0eF90rgiu\niseRUZ2bfmMQbbonHBZj6dfSySM3xjQrSIIUu0+vm/fBz00hYoE3oYItWL+A\nf+9zXamHpraPJ2CsKtyZEuweKdir8HuuodtjVirU8D/0hUQTLMAsuY120Kvg\nKPVaQ/Q5v/9RaQRerC+CiY77xKmXcPs8XUw6b1AjP6Zv4vmO4Gg2vcXzfLE2\ncMN+erzMkTvbMAVUu6ThZQh2nihtrPUBti+8BQbAfB9A/Hl/gBd10reWuo2v\npcQrEYff6+Dy/Bg8VSvy/DNMIY3KcU9REA+MFIvyhn5cMwLwgAUX6K1676J7\nFAiE\r\n=5Ryw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHsyhfhixjpN1qP8Ar2s6XCBFBRWQ8PYKCebvtGZTE7aAiAQj1IStyFA5X6rh3DbX3/UPMSjVQo+Pq9v8E5NxUaRNw=="}],"size":18785,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.0.2.tgz"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/combobox_0.0.2_1558541157242_0.20641742489263715"},"_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":1558541157362,"_cnpm_publish_time":1558541157362,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}