{"name":"@reach/listbox","version":"0.18.0-pre.1","description":"Accessible React listbox input.","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/listbox"},"dependencies":{"@reach/auto-id":"0.18.0-pre.1","@reach/descendants":"0.18.0-pre.1","@reach/machine":"0.18.0-pre.1","@reach/popover":"0.18.0-pre.1","@reach/utils":"0.18.0-pre.1","tiny-invariant":"^1.2.0"},"devDependencies":{"@reach-internal/dev":"0.0.0","@reach-internal/test":"0.0.0","@reach-internal/tsconfig":"0.0.0","react":"^17.0.2","react-dom":"^17.0.2","tsup":"^6.1.3"},"peerDependencies":{"react":"^16.8.0 || 17.x","react-dom":"^16.8.0 || 17.x"},"main":"./dist/reach-listbox.cjs.js","types":"./dist/reach-listbox.d.ts","publishConfig":{"access":"public"},"module":"./dist/reach-listbox.mjs","scripts":{"build":"tsup"},"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","readmeFilename":"README.md","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/listbox@0.18.0-pre.1","_integrity":"sha512-BtQa62P4A9lvll7od3hcgbk2kASowff7xfutQcTSJpD2zERwaeXnR2aUArbfcO/wC8Hmj4o661+J3CX0WslfRA==","_resolved":"/tmp/37a9679c1159164484e4260c4bb3a6a5/reach-listbox-0.18.0-pre.1.tgz","_from":"file:reach-listbox-0.18.0-pre.1.tgz","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-BtQa62P4A9lvll7od3hcgbk2kASowff7xfutQcTSJpD2zERwaeXnR2aUArbfcO/wC8Hmj4o661+J3CX0WslfRA==","shasum":"9f00539562a4b7a630ac608ea44d47efca93f37f","tarball":"http://registry-npm.ywwl.com/@reach/listbox/download/@reach/listbox-0.18.0-pre.1.tgz","fileCount":11,"unpackedSize":234040,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE8iBEeYG8DB34BSAcD1e4I29DpGgMVyhGWWjezYDlgSAiBLuStB9ChkNZB7wgKTSEzBy1cdTrL1W1DWYShcYzQCLA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjROJEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpM7A//frRbO1CiglLoJw3TO+0G1bvhTNPuIMj0U6rBS/LosRamDc15\r\nqME4VMpuE+TWVrUloq68yy0XMlJ+LuKr9mbLXDyvdTVuSwn0mlUJaaCBY8fg\r\n/SmCKFqenyzDPnM8rklTVeeSrls1r69RrL6EoN3maz9yxmQRAxHPjaAxT0Hb\r\nA+LrYA8FoHtj2SOe5+xhXx6nyiUdsKsq4R3K/MbLM+f7W6xT5R/wbqyWsUu9\r\nLbSBMvALpyXW7VEgJ6sujxCz1hyNlHxXLdQCL6vtxYJfho3a07bEag8Dc9cg\r\nlY/YrHnhE6ANA/uXFlBCiUUC5bqWskRt6pHqQogYGUhI9IVEq1dOX51WPYDz\r\nMQArjnnnDRx32b3gPDgL+IpJetNyajguRQ8lG5ni/FAqfoir4hKbjfj7OWqy\r\nu2jub5/7wl4lUyuBb6RQ3y1HVdOYY3w6cyNxPvVLrQ3RAyZxUglrTMjCGBq3\r\nArZaGF8CvWMt8CbjK+WwERlpQDONL3khhQ331iphjlCybzAz04koaWfU7/Yn\r\ntw1q2iP4OE2g5f+zKJzbR64shiTkNeIvzWSR3HRvKITs3WJxwJcLMRbhA70z\r\nYG0R79LBUgwrt9CGYlGI+zDY2fJgmT1L3EFrprM66E9HpV5IlF95CQBMeYFG\r\n5WEoA9QBpgm0HrGKx6180u50MIZ6G+g2g2M=\r\n=yzgF\r\n-----END PGP SIGNATURE-----\r\n","size":44850,"noattachment":false,"key":"/@reach/listbox/-/@reach/listbox-0.18.0-pre.1.tgz"},"_npmUser":{"name":"chancestrickland","email":"hi@chance.dev"},"directories":{},"maintainers":[{"name":"ryanflorence","email":"rpflorence@gmail.com"},{"name":"mjackson","email":"npm@mjackson.me"},{"name":"chancestrickland","email":"hi@chance.dev"},{"name":"blainekasten","email":"blainekasten@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/listbox_0.18.0-pre.1_1665458756689_0.4653210204653422"},"_hasShrinkwrap":false,"publish_time":1665458756878,"_cnpm_publish_time":1665458756878,"dist-tags":{"latest":"0.18.0","pre":"0.18.0-pre.5"}}