{"name":"@reach/listbox","version":"0.1.0","description":"Accessible React listbox input.","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/listbox"},"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/descendants":"^0.8.5","@reach/machine":"^0.1.0","@reach/popover":"^0.8.5","@reach/utils":"^0.8.5","prop-types":"^15.7.2"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/listbox.esm.js","typings":"dist/index.d.ts","_id":"@reach/listbox@0.1.0","dist":{"shasum":"3eb8df139fa0809ca0cb339ae0b9616710255233","integrity":"sha512-9TncMsiN++VcOlrVou7snyVIQoQlpL1q6+ekLc7N5PfjzHJlnuPbfE8F6QdASfvFOwPD4mYurOJO4LqtvJFXtQ==","tarball":"http://registry-npm.ywwl.com/@reach/listbox/download/@reach/listbox-0.1.0.tgz","fileCount":14,"unpackedSize":441618,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYnurCRA9TVsSAnZWagAAPCkQAJa1jKRmv3KB+FktwWy0\nWfS/h8sqBIH+eyNqRBxbhGsXoEEmMxIDwZQWijiOJQyMVMZYdz5PZ4I43Dmi\n8VgN5pj45d7MMXrk2hH9BZMAbbEFmLKCMAnWiHntecrjJT+yNfZpn1gxxg7B\nvwb1NDjKMJP8y7bP2z0FTU32J2KtBfHrBAjFLuI0uXQS5rV9b4RLGkVjIUFG\nsaDpUnWOE0Ef+2/mVoqA/6BWbjZaPBeY9ecjifQBbEQtXCruq9LMLU8+cGlC\nmJGBL/XxogMeLtI7P7+nZoKhXGoCbyClY9u6CEm7RFzsvDHVJTmimVkzrov5\nGs4rY9GT8FY/IL6/i0En9nRW0z97MLk6TE0lsOp7BoXbr8f9p9My57n+s/AH\nML+qKmhAKwYUHl8thgP7/l3fbDJm2ko3a8zQlUc6uPSjTkdC7pfI2x9X4d3D\nHrhW1+yH0g9svUmuu4L6+YQ+UJfzXhDz+Q9zHsXcO6bnz+EU4DfKhgzIsh6g\nZXWp0dU/VpOqrb4Hgrdb/be0qtAthFcGtVbu6WdvuL/SAnr7JjgZOCEfInoQ\ndAKweaUu6tyG1FaNfTL4xLFQgbwFG3lOgU3r+rAw6ajFGfc0HOWSTrImf81P\noTzlI7Yd6fUWCjKWiKFvAkd15x82wVS6USrJ6yzIu5l/q1q2yvEKGkr1uWTR\nd5Pu\r\n=OvMg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVqlqvWyTgMl3rTIiCP8e52eF2EdBic8LTSe3UYs474QIgOeX0zQZobjHf3vQ/Q5rc+zakRkYse78MmFd6gx7+mig="}],"size":98641,"noattachment":false,"key":"/@reach/listbox/-/@reach/listbox-0.1.0.tgz"},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":"chance.strickland@gmail.com"},{"name":"mjackson","email":"npm@mjackson.me"},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/listbox_0.1.0_1583512491307_0.7574304659290227"},"_hasShrinkwrap":false,"readme":"# @reach/listbox\n\n[![Stable release](https://img.shields.io/npm/v/@reach/listbox.svg)](https://npm.im/@reach/listbox) ![MIT license](https://badgen.now.sh/badge/license/MIT)\n\n[Docs](https://reach.tech/listbox) | [Source](https://github.com/reach/reach-ui/tree/main/packages/listbox) | [WAI-ARIA](https://www.w3.org/TR/wai-aria-practices-1.2/#Listbox)\n\nAn accessible listbox for custom select inputs.\n\n```jsx\nimport * as React from \"react\";\nimport { Listbox, ListboxOption } from \"@reach/listbox\";\nimport \"@reach/listbox/styles.css\";\n\nfunction Example(props) {\n\tlet [value, setValue] = React.useState(\"default\");\n\treturn (\n\t\t<Listbox value={value} onChange={(value) => setValue(value)}>\n\t\t\t<ListboxOption value=\"default\">🌮 Choose a taco</ListboxOption>\n\t\t\t<hr />\n\t\t\t<ListboxOption value=\"asada\" valueText=\"Carne Asada\">\n\t\t\t\t🌮 Carne Asada\n\t\t\t</ListboxOption>\n\t\t\t<ListboxOption value=\"pollo\" valueText=\"Pollo\">\n\t\t\t\t🌮 Pollo\n\t\t\t</ListboxOption>\n\t\t\t<ListboxOption value=\"pastor\" valueText=\"Pastor\">\n\t\t\t\t🌮 Pastor\n\t\t\t</ListboxOption>\n\t\t\t<ListboxOption value=\"lengua\" valueText=\"Lengua\">\n\t\t\t\t🌮 Lengua\n\t\t\t</ListboxOption>\n\t\t</Listbox>\n\t);\n}\n```\n","publish_time":1583512491473,"_cnpm_publish_time":1583512491473,"dist-tags":{"latest":"0.18.0","pre":"0.18.0-pre.5"}}