{"name":"@reach/combobox","version":"0.15.1","description":"Accessible React Combobox (Autocomplete).","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","sideEffects":["*.css"],"repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/combobox"},"dependencies":{"@reach/auto-id":"0.15.0","@reach/descendants":"0.15.0","@reach/popover":"0.15.0","@reach/portal":"0.15.0","@reach/utils":"0.15.0","prop-types":"^15.7.2","tslib":"^2.1.0"},"devDependencies":{"latinize":"0.3.0","react":"^17.0.2","react-dom":"^17.0.2"},"peerDependencies":{"react":"^16.8.0 || 17.x","react-dom":"^16.8.0 || 17.x"},"main":"dist/reach-combobox.cjs.js","module":"dist/reach-combobox.esm.js","types":"dist/reach-combobox.cjs.d.ts","eslintIgnore":["node_modules","dist"],"gitHead":"18b182e30cebca0b89322127bea81b05301805ac","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/combobox@0.15.1","_nodeVersion":"15.14.0","_npmVersion":"lerna/3.22.1/node@v15.14.0+x64 (linux)","dist":{"integrity":"sha512-4WvxqHYEX2aW2FqNqwJtYYYaTOgyMaZ5OYVWP/iyTunrcbyHWZsoCt3CBR6/AfMsiJ7I7yCxX2tLShjFOGAA+A==","shasum":"267e50fc526bc9b9c20d30361277685e69e074f9","tarball":"http://registry-npm.ywwl.com/@reach/combobox/download/@reach/combobox-0.15.1.tgz","fileCount":11,"unpackedSize":136340,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfvnDCRA9TVsSAnZWagAA+7UP/0rmUAaF5R8GJbwzMHFY\n//pBwez7FXjOoq5zeFUozzdii7imuldDU+9VRvL8XyEioDlhIzKExgvNknPp\nyRtvlsK1m78MnnZ4HiZx2ebFmoY8BVml7XMINnzQs4AOE8qpXUlLrNquQGcB\ni3Mvt0dH/tRr9LHHln3d/S3o1ZZ1NCgDwAH8wKulgEoE0tJmx4/VVgqxkAMt\n31uf4LqcSNnqzckL/Xx1MZzyjaBPSe27YTWgxbdAqoMg0imYv2+ww6v/FHPF\nQzAgAVsF6+NaFzvrdKHk3pKUgQKXGdlfX1v7yy2Wbxf1WYKrjgeqUwZdED25\nHe0gBzFuTzlOrrAEQgxd4PG5ODd0RJlHUTLdKaW9d9V9f6V8YNT4zl7DzfKF\nwQkKSNd6IkP8ChTgeJgDpsl7PUdTc1YMc5H11KBgfHf9tXHk2N/ZUH1/2k15\naBCE42j16WGgLYY/iqWJBdl4Csdh6RM7IbyYu/vEywciA53EYDbq98ghFTXs\nPm1Dl9cfgdWAqaViwKztlwcF/hZWA4hyZyaV+RN/96XyWV6IzsMM5SL8/xn6\n2dgLzbRMGvX1WyO4JHMwTdqVjcBpNpy16yXn1IRdpMvR6wU/jkxlzNGaEzqA\ncZVUquiDvscjjXUUIuJlKhrQZMONSPZ05ZFcG160Nokv0oclhscQDjQsPAgk\nuTZl\r\n=Z8LR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmjOGG04tn5M+VonrH0idfBhGd5LOPPF1GTM+onto8MQIgZTv4VYVTo4MopXk/g+1Xp2pjZFUfvxrrqbjc9Qwc8n0="}],"size":33713,"noattachment":false,"key":"/@reach/combobox/-/@reach/combobox-0.15.1.tgz"},"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"},{"name":"mjackson","email":"npm@mjackson.me"},{"name":"chancestrickland","email":"chance.strickland@gmail.com"},{"name":"blainekasten","email":"blainekasten@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/combobox_0.15.1_1618934210312_0.34855345237859714"},"_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":1618934210651,"_cnpm_publish_time":1618934210651,"dist-tags":{"latest":"0.18.0","next":"0.4.0-beta.0","pre":"0.18.0-pre.5"}}