{"name":"@reach/combobox","version":"0.6.1","description":"Accessible React Combobox (Autocomplete).","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","main":"index.js","module":"es/index.js","scripts":{"build":"node ../../shared/build-package"},"dependencies":{"@reach/auto-id":"^0.6.1","@reach/popover":"^0.6.1","@reach/portal":"^0.6.1","@reach/utils":"^0.6.1","escape-regexp":"0.0.1","highlight-words-core":"1.2.0","prop-types":"^15.7.2"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"devDependencies":{"match-sorter":"^2.3.0","react":"^16.11.0","react-test-renderer":"^16.11.0","use-throttle":"^0.0.3"},"gitHead":"c1e249448a3672ccc65698218f0f38ef9814ab90","_id":"@reach/combobox@0.6.1","_nodeVersion":"13.1.0","_npmVersion":"lerna/3.18.4/node@v13.1.0+x64 (linux)","dist":{"integrity":"sha512-o6flF5iv8xDXE3P5grVvvov5gRFXNKQOU27HqY5K6TkHrvwGfozwFn4wTNSOlW8aPV7bHKAZONMXXMnmOQafNQ==","shasum":"8602bccc4ad2564fb0e84ff6d15d7c4e1d0533e6","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.6.1.tgz","fileCount":7,"unpackedSize":91996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzxdZCRA9TVsSAnZWagAAtcAP/3mQD8WPre8rFgZ8ZnnO\n00ugF7n3ki9CA8u5sbTMrX4j2r/6VqWsOhhxtBKeRU0pb+Qj5eFa+2v4Kz3D\neLbeDE6YJ8Mdq3LPyp0CnFPYPLdM8lUH81Sy0VPvExYqY1rwnkSmbfi+QXUb\nWJyrI9yqHVEJ8QOLnQivPGYnnvKLhCK1k5wRCTU5f0evaxI3O2xpXotI4eid\ni6WL8jRqbHYT4WQU4xf6dfjkVmigJ2SY1GxIIeunne6+E5f9ahCU99jJUM5m\nREspC5skRY01++UgipSyuWQrBj5EkTqtzQ/S5W2WHX6IspygLAflQEB+Oook\nzwQ+ibUHGoffjMz+W3bFKoqa/5xCg8GigvtwtBzNVsjnitpnSoLvG2FF18rn\nxbf090TIdJjArSRDEzxrpvqIiIOKS+VcP2ZYFzeNh4vJ6Nfe5n20AHaERo5A\nrES8WTcmjCVHb6NQMpF6KQhPxvytKuhgyZrP28XfdnYcCWIvA2BYaf44F+am\nwGE/2RqxGJDuniHhMM4olkJO68/vQcHOg6AzY9B5DzTjYuzzNp21vp7o61J8\nOFd/VxH+Ww6txE5O8F2koMtA2jWpP+dwvQQpQNcYhvrfuybMc10HjQAOKDq5\nLWJs34e8auTYh+NQHp9dI2P3FS0emCgCo2sPmzFtaa+iGFqbzsBTr+dU00Zu\nWfcU\r\n=yFz0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOuFmDGx6Yag2LHE1vQeKMJZ8k/NrEB/EJsbdkJaKzsAIhAPDkuGPYVPK2s02+Kq+1LqMjIHQ0wukD4ZAMBxmJZPEX"}],"size":15133,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.6.1.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.6.1_1573853017084_0.6347518500816691"},"_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":1573853017259,"_cnpm_publish_time":1573853017259,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}