{"name":"@reach/listbox","version":"0.18.0-pre.5","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.5","@reach/descendants":"0.18.0-pre.5","@reach/machine":"0.18.0-pre.5","@reach/polymorphic":"0.18.0-pre.5","@reach/popover":"0.18.0-pre.5","@reach/utils":"0.18.0-pre.5","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.5","_integrity":"sha512-yBxx7iWVwzkeIqZUw6tvcxRqRYgyYXpYdewFQEVS59Fj/ESvJ/o3c33/hnrnjywAuiY3ah1koaBa790VsbKkpQ==","_resolved":"/tmp/c0865f8a313cafcd58fca19d2ff7400f/reach-listbox-0.18.0-pre.5.tgz","_from":"file:reach-listbox-0.18.0-pre.5.tgz","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-yBxx7iWVwzkeIqZUw6tvcxRqRYgyYXpYdewFQEVS59Fj/ESvJ/o3c33/hnrnjywAuiY3ah1koaBa790VsbKkpQ==","shasum":"ce9180e3e3ec570cc0ddbeb6f71cdf14f02d1246","tarball":"http://registry-npm.ywwl.com/@reach/listbox/download/@reach/listbox-0.18.0-pre.5.tgz","fileCount":11,"unpackedSize":235319,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuBFO8mFrBxjhGC6eL88Oy5M/z2pBHgUnVpfjGZEHzBAIhAMWUPorgfkRIPL5k8KSjfypRCAjgbReMtlsSYakjTLb/"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjR0t2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+wBAAnCy6dbMMjfNkH4TECcOtZF3XwiSSpCl4JMJby3nDFcH3HtmF\r\nLsYNs+RTtzW3zTPloyiqohlJ3NCTrtu1oBNz/OTyT/CpT7jaShLWcJWeEHX9\r\nbrt7gycsfizUqP33pcjn2H4gEjwCQzBL/Q+wzwHXnHN4LHRPGvjHzRU+v4co\r\nWKB4I4TcX+1+mFM+CpIIpMo9jHtplutD3Yif8jCIE/Y7uGOAqi++AWuFSA2l\r\nmlrVS48IKaB6qnT0HRQGBtLFO9wWJhC/Tt6k+BJkvnh+v0iPGUytSMOZFdw2\r\nKJINpvLQXtcQfDpQI6qqvXIav+eUl6kpOkiA9PGsJU3eSLXVqF4/H4iDYJis\r\nyYUmISneMkp4jpXgkgh4ixlwOufMVcSimkV2aRiOFB8npszh8BvrHRfSD4ev\r\nGkKGDLcXvGqpJJo7e/sioegFYSDho2jerwMbRqp+wncLEYHGx4EBAjz4gXUN\r\nGzZ7/DSoLdecZv5UEi7TkT1cRV74IY2wVosLR5dO+EWmNMZntaNNPZlVY42p\r\ncUKYEBqB6Lgfiz5XgFuWTzxTamGNxE2dirj5o8gyAbbphPm0AE3wiLr1LYEk\r\niO8M2rIDIwFyUj86ltNqpajWlIHorEvc8geAyEMt1+OusEz0k5UTS//Tf29t\r\nUsvZ0LMqowglxLBXjSNA4u8YfBF7E3uZQRg=\r\n=glvp\r\n-----END PGP SIGNATURE-----\r\n","size":45133,"noattachment":false,"key":"/@reach/listbox/-/@reach/listbox-0.18.0-pre.5.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.5_1665616758280_0.23415611853788865"},"_hasShrinkwrap":false,"publish_time":1665616758513,"_cnpm_publish_time":1665616758513,"dist-tags":{"latest":"0.18.0","pre":"0.18.0-pre.5"}}