{"name":"@reach/combobox","version":"0.0.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/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.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"ryanflorence","email":"rpflorence@gmail.com"},"dist":{"integrity":"sha512-ZXT4r6RI7NOo7jW3+WxnAgxzNRjGsI1HquDpRM9RqnWkV1BsBXQsmrX/OTD1jO2ScnH0PrOnrAfqFjnbMEJc1w==","shasum":"986a118792416dbca739dc3ea1803d9aba37c9c3","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.0.1.tgz","fileCount":5,"unpackedSize":71887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5FKPCRA9TVsSAnZWagAADL0QAInh9iXR/Foz/zbLz73X\nla5iNeKr4tZpZ4Ly+Qy0vE5vuRu+fIXP1ItMeUcHh47qxhRF5oC/EFke29cF\nJYk0iZxzDJyC7Rvy7YR0eROLJpTJJQsD3xI1JFgSRiT6BLEM7aCVbZ+Hc0xa\n7W91brxqPE1cUXOd5JahkCNMD7RH+AA5gYKnQxP5oDURvr5RWWswMFW7mMgP\nyBn2No9nNKGT+fonceHcztRyg59XAIoSR9VtaNJK0SOadsr4XVo7QHrX6baE\ndeWl/TacmsRD/A1QkwLVDDLDbOQKrr368gWsbZPXW1MHHf2s3zQ5ml/ltAri\nSYIgq0Hz/5JtihyD52urzIfsrdf4GKRCU7C8e2eyvwj0fxv3Es5lGUrnRdUU\njkyBi9Gz0ga4yYX+E+DeIVNAEzfiNgybV9saN0wHU1YxYexyd/qulra4BYx3\nXFnFJ2iHIvVJpcLVCxD4d3Jj56BDvmFP7EW9WHMBV3EPfddXXoaycR58uTil\n0dqgf8pWyVkFao+ua6H+ZlRAgZeBoPMPI6dkB8Gbg1UhgWBg4o4KfiFKLgJp\n9O8osd7PcNz31yvQ6/zQC5WB3VYQYOp5cKlWEOY11mtvwedbQ4YVCYhvoGB+\noFeqfzScLrbRPe1iiBLP7mv+6YKmPzXTck8lHkNVIeL3yw7nHE/iiRNUgle9\n7Ad4\r\n=t2yc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB3VQJk2RpymJjCSoqQKWnHrCx2CJm96bowOaKf/UNV1AiEA++MGVb52XPjruKP/hJDL6tju2OgbVDw81fU7qImgLuo="}],"size":10530,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.0.1.tgz"},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/combobox_0.0.1_1558467214523_0.08978466990108447"},"_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":1558467214692,"_cnpm_publish_time":1558467214692,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}