{"name":"@reach/combobox","version":"0.8.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 && yarn compile","clean":"rm -rf ./dist","compile":"cross-env NODE_ENV=production tsdx build --format=cjs,esm --tsconfig tsconfig.build.json"},"dependencies":{"@reach/auto-id":"^0.8.2","@reach/descendants":"^0.8.4","@reach/popover":"^0.8.4","@reach/portal":"^0.8.2","@reach/utils":"^0.8.4","escape-regexp":"0.0.1","highlight-words-core":"1.2.2","prop-types":"^15.7.2","tslib":"^1.10.0"},"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":"81f50310879a4d99f3eaeba3cd95a66303e0186c","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.8.4","_nodeVersion":"13.8.0","_npmVersion":"lerna/3.20.2/node@v13.8.0+x64 (linux)","dist":{"integrity":"sha512-8fvy7fNpuP0B8CKs1peyjHswT50kYuRIPElfsUaTab6Hla++6V/xu3bF57i4NvjRHs6DE1eI8MqZQVKr458DTQ==","shasum":"82e7218acd835befafa104a5a2a5b3fc0a08b0d5","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.8.4.tgz","fileCount":12,"unpackedSize":240103,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeR1TfCRA9TVsSAnZWagAAv4MP/AvB1La2lHKsU4j3lz8K\nFQ3V5viOTnXzaMEolHIoVYR0Xf0lgJWa0NrJKAcrHjzqcBdMDXZ3F4Z7B4Pm\np7cKP5PG57NZwOlT5WdhmNyL2kPeiba4I4pExZkX243fCixc7ucxEGcsHZv5\n0qmpl08VWZcrs0DvE/uK0J1eL4yceWMhdQn6slKbI0H+pQEZXiJUA2epmtK4\nhTRE4VHQVvkmzRyiVrfF+jHVgeZkFpB8B0p7MFbd7tZ6lFcKYho3hxsB8MTu\n2tkow/Wk8UaTI8Ff+38JCXLwH+QO3B8zoHq5huZ3ek5d6XmxJiio4JcglQ7E\nDpPWchokOYaT15S11sqMM01eprOeFPqt6WuICBzJHjcViTZPU9smVHJIeNdO\nN1hJm3cSuk0i0BQn0fbGMn3sUWCtPE+fm8sFaFxU5M0Nn1nQivT3OIqhEZvD\nU2DEP6fGvLgPrjAZGGQNDo552mlDoJoF5H/RaAXxaS98Hc/VDGBCr2bZ0Yjn\nDMWtjH4AwbNbiy4p9m2UbLnmA2ZFR7kvaGnV+A5T9I3znSEXuZkVYs9oLulh\n/N4h19ADh3IGuR6XK67Ap+/7Jx/+OV76o8dt4I6pkD/7hci4yj1UExYVOEpn\n4wRNTvradCtRJljiWVxSYZDHbszU108QyATnQAlwjnN88qtsmukM9XSWLapC\nJdG0\r\n=wwoX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBxGqppu/VCQAPdp8p1F45cSZ96SbZtH97xAwkuYMq7DAiEAhIxMg7HEgcY+NV6R3M5CN8UL2F67jcqYB3l9pwa0j/0="}],"size":65984,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.8.4.tgz"},"maintainers":[{"email":"blainekasten@gmail.com","name":"blainekasten"},{"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.8.4_1581733086949_0.06575921373716964"},"_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":1581733087175,"_cnpm_publish_time":1581733087175,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}