{"name":"@reach/combobox","version":"0.1.1","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/auto-id":"0.2.0","@reach/popover":"^0.1.0","@reach/portal":"^0.2.1","@reach/utils":"^0.2.3","escape-regexp":"0.0.1","highlight-words-core":"1.2.0"},"peerDependencies":{"prop-types":"^15.6.2","react":"^16.8.0","react-dom":"^16.8.0"},"devDependencies":{"jest":"^23.4.2","match-sorter":"^2.3.0","react":"^16.8.0","react-test-renderer":"^16.8.0","use-throttle":"^0.0.3"},"jest":{"testRegex":".+\\.test\\.js$","testURL":"http://localhost"},"_id":"@reach/combobox@0.1.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"dist":{"integrity":"sha512-2bS4hVWVurmwVp6KWP2bRWm4tenmaVy+WkvkRAA5T+0Lp0vMrld/hxLuh7tUXqLmLIf07vOYLA+lHJwcOprMjQ==","shasum":"1853042c384993f0e22f426d1d9a55857a7d2325","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.1.1.tgz","fileCount":5,"unpackedSize":82572,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdClftCRA9TVsSAnZWagAAu04QAKMhM3vE59uQMxfT+7em\nB4cg96T1hcN+sZHcRWXo0fM11To2RsNjSDaSARUjyUkLh6BvNvADMU1eiS8C\nQBYp4DwyXMDmB0W3VzDA3h/J8VOLeBJxqr9Lc4r28M/A69LSsJLDjgGq/VER\ne9pVNewhcKlL0nqwjBdnBHhgJZLyosPd6EaCgsr5gB4p1sIVmGTpejYRSYp7\n4tuV8QuaUkOdMNmKqyYOCICk3JI+kzIBrKbX3QxelamTq5jRs+mfngURzgwt\nf/GCOggwr5VRy9syWA0+TUOLN4GB+mZ80N2FRcc0db6PvQISpbQ45+Y+5Hbl\nDqeXvXGHDZV5AapfMlr4LD5naRkLdZRfZHn4lc+lg+RlpTpDCIUtu1rfu3cn\nUOEAUKPxC/iG93G04HGqF6MZ3s5yIQj0T5som4T9gvYbq25FmfjnBUwIoTUg\n/vFnlsJEmxfmKS17VSt0TnCm5VuTRng8On5kSf5/5BbaI+IqHAYTtXTUWLUL\nhfHYYG5vAbPnXUfWmyO/oEehELtTRtbQhu6bnZ+hV3axfzbZyQ7kymXQVkI8\nQsUkxPEZIL91b5hKEd0Bt8MdlZ1Oe6ka6ZVT5IB4GVKPnrKypNEaRSro2Fp5\nJPQspNnPFO5l7gECpakZsqvF9yEorVasYEu6jzVrGXVF3P9jdzB1PmBe++xh\nQtzF\r\n=awXE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH6E+dlfLgRoR6FS0fe5u5G2qhu+UMTSYvwarfKZb1ZCAiEAsks6lVp9gB9+xP9fkailwgieFauH5/t8DcSOCmMEvVk="}],"size":11815,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.1.1.tgz"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/combobox_0.1.1_1560958956886_0.7891711251944855"},"_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":1560958957128,"_cnpm_publish_time":1560958957128,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}