{"name":"@reach/combobox","version":"0.4.0","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.4.0","@reach/popover":"^0.4.0","@reach/portal":"^0.4.0","@reach/utils":"^0.4.0","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.10.2","react-test-renderer":"^16.10.2","use-throttle":"^0.0.3"},"gitHead":"0f3d2c7e530cd80e1d1bd338182ac89a3ba23999","_id":"@reach/combobox@0.4.0","_nodeVersion":"13.0.1","_npmVersion":"lerna/3.17.0/node@v13.0.1+x64 (linux)","dist":{"integrity":"sha512-CA7421mDbWdHYf3kvAJ14oopqqCYiQ1XfiMneXcJikKRC4r0vAwx2WjAsTz0qfYYqC4S2Tq4b5oawE/x8d16GQ==","shasum":"2680be00d7a5fe422cf7c64a45532b8eaf6f1dbe","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.4.0.tgz","fileCount":7,"unpackedSize":86680,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsKo1CRA9TVsSAnZWagAAmoMP/jK58PgMQq7RbubqNjEU\n0xU6MQWj1naUuTEtGAA+9guQinTUajvkG9bsnSsyMmfTptHLrAIzym/P5aBW\n7PMLiA8x8F2s7qqmvXY8f6Nf6bmoRqrwFtAZYO4/aMb0fkSJanTIaNDKoI50\nQEaNqYPZnnDmFlbDArmlzT0GUZUPN/KHQlbwbwJzlh663ihhHFLt+cUhhdVa\nUHKEKSf/oI7tuKJVLUdZsRMEenn4DZB+Vlpo72AA9vurNjz+Y6XkOppGC/B0\nu5VXivEZc6n1lBWD01tmsw428/ucocIwaa2VR9Uxsut0w5G4ld7nfeW16oFG\nQmzQzfG1mhitd6vO8erVUTpu384bz+rIH6LswY6czCJuKgx9Tj0r79ADEffL\nRAYRzB/fYH0hzdlM0e/NL9lsajE1uJ/KCn6nLMVSVf3HrEkg8f/mp1cuhXZZ\nOMr8ycneoWP0fxsGU6s03pFd3g58jFlAseoVUKOBX/pBPNLy4FerhXMF4bR0\nTCzC61igb/BmbF2UqxJl3l6XlDBPgP+67xOagJkuQgOhoIEbs64P5kxqxNKy\ndRM4FIcSFzv3YRD5UTpS4X36VXnVA0DYOVQhDTn0RO9B4Zv6sovNbX2zT9iH\nwPaAdCzKZ0y05NUKsvaAVj4AD+WUgko7Y/Krr6gOLK4q6ar2PQEIiwXO5wRK\nr7BQ\r\n=J/Z7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDASe+gwtnmULiUMxphNtAofgJFph3Z7BqsLAWIzJo2rAiAmpQHvtxoihkV0bBHwd5OpKCNJLtkq5pUWxFnKGPIQfw=="}],"size":13722,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.4.0.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.4.0_1571858997359_0.3389515332524309"},"_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":1571858997470,"_cnpm_publish_time":1571858997470,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}