{"_id":"@reach/descendants","_rev":"398566","name":"@reach/descendants","description":"A descendant index solution for better accessibility support in compound components","dist-tags":{"latest":"0.16.1"},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"time":{"modified":"2021-08-04T04:22:45.000Z","created":"2020-02-05T19:12:25.407Z","0.16.1":"2021-08-02T20:40:11.064Z","0.16.0":"2021-08-02T05:41:27.977Z","0.15.3":"2021-07-10T20:34:26.227Z","0.15.2":"2021-06-28T18:27:01.698Z","0.15.0":"2021-04-07T05:34:46.584Z","0.14.0":"2021-03-28T21:01:33.140Z","0.13.2":"2021-02-21T19:26:55.615Z","0.13.1":"2021-02-21T19:03:30.353Z","0.13.0":"2021-01-26T01:17:29.339Z","0.12.1":"2020-11-27T18:09:36.469Z","0.12.0":"2020-11-26T00:04:07.798Z","0.11.2":"2020-09-01T06:21:57.065Z","0.11.1":"2020-09-01T05:03:56.227Z","0.11.0":"2020-08-21T17:56:12.760Z","0.10.5":"2020-06-24T22:56:59.793Z","0.10.4":"2020-06-15T17:22:02.601Z","0.10.3":"2020-05-21T22:43:03.071Z","0.10.2":"2020-05-11T17:14:53.391Z","0.10.1":"2020-04-22T06:15:31.872Z","0.10.0":"2020-04-05T01:20:20.740Z","0.9.1":"2020-03-19T02:49:35.953Z","0.9.0":"2020-03-14T00:36:45.741Z","0.8.6":"2020-03-06T16:56:48.826Z","0.8.5":"2020-02-21T20:05:48.109Z","0.8.4":"2020-02-15T02:17:50.482Z","0.8.3":"2020-02-15T00:11:22.064Z","0.8.2":"2020-02-08T00:43:01.080Z","0.1.0":"2020-02-05T19:12:25.407Z"},"users":{},"author":{"name":"React Training","email":"hello@reacttraining.com"},"repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"versions":{"0.16.1":{"name":"@reach/descendants","version":"0.16.1","description":"A descendant index solution for better accessibility support in compound components","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/descendants"},"dependencies":{"@reach/utils":"0.16.0","tslib":"^2.3.0"},"devDependencies":{"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-descendants.cjs.js","module":"dist/reach-descendants.esm.js","types":"dist/reach-descendants.cjs.d.ts","eslintIgnore":["node_modules","dist"],"gitHead":"def3e4a96c6bc184ff78725e37854e542225d371","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.16.1","_nodeVersion":"14.17.4","_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (darwin)","dist":{"shasum":"fa3d89c0503565369707f32985d87eef61985d9f","size":10569,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.16.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.16.1.tgz"},"_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"directories":{},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.16.1_1627936810901_0.16006222333169995"},"_hasShrinkwrap":false,"publish_time":1627936811064,"_cnpm_publish_time":1627936811064},"0.16.0":{"name":"@reach/descendants","version":"0.16.0","description":"A descendant index solution for better accessibility support in compound components","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/descendants"},"dependencies":{"@reach/utils":"0.16.0","tslib":"^2.3.0"},"devDependencies":{"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-descendants.cjs.js","module":"dist/reach-descendants.esm.js","types":"dist/reach-descendants.cjs.d.ts","eslintIgnore":["node_modules","dist"],"gitHead":"e4c6093db14e3cc24c26794a002dbd8c866c0387","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.16.0","_nodeVersion":"14.17.4","_npmVersion":"lerna/4.0.0/node@v14.17.4+x64 (darwin)","dist":{"shasum":"4c2873ea14ca3669e0c0bd0cd89cd79f27c0d0ad","size":10560,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.16.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.16.0.tgz"},"_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"directories":{},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.16.0_1627882887798_0.5646254194757985"},"_hasShrinkwrap":false,"publish_time":1627882887977,"_cnpm_publish_time":1627882887977},"0.15.3":{"name":"@reach/descendants","version":"0.15.3","description":"A descendant index solution for better accessibility support in compound components","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/descendants"},"dependencies":{"@reach/utils":"0.15.3","tslib":"^2.3.0"},"devDependencies":{"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-descendants.cjs.js","module":"dist/reach-descendants.esm.js","types":"dist/reach-descendants.cjs.d.ts","eslintIgnore":["node_modules","dist"],"gitHead":"aac3d3e1902ec32656476bcdccd7b56207384fcd","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.15.3","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"shasum":"818522e54a66e3e577970e25aa7226645e22aabc","size":10545,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.15.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.15.3.tgz"},"_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"directories":{},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.15.3_1625949266117_0.5664766219800366"},"_hasShrinkwrap":false,"publish_time":1625949266227,"_cnpm_publish_time":1625949266227},"0.15.2":{"name":"@reach/descendants","version":"0.15.2","description":"A descendant index solution for better accessibility support in compound components","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/descendants"},"dependencies":{"@reach/utils":"0.15.2","tslib":"^2.3.0"},"devDependencies":{"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-descendants.cjs.js","module":"dist/reach-descendants.esm.js","types":"dist/reach-descendants.cjs.d.ts","eslintIgnore":["node_modules","dist"],"gitHead":"353f409a296a648c4fe2c2d06b14a39b7b6dc3e1","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.15.2","_nodeVersion":"16.4.0","_npmVersion":"lerna/4.0.0/node@v16.4.0+x64 (linux)","dist":{"shasum":"b0641f0bc864d91271364678dea51cf86b2e5c66","size":10544,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.15.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.15.2.tgz"},"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.15.2_1624904821546_0.5123483787424661"},"_hasShrinkwrap":false,"publish_time":1624904821698,"_cnpm_publish_time":1624904821698},"0.15.0":{"name":"@reach/descendants","version":"0.15.0","description":"A descendant index solution for better accessibility support in compound components","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/descendants"},"dependencies":{"@reach/utils":"0.15.0","tslib":"^2.1.0"},"devDependencies":{"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-descendants.cjs.js","module":"dist/reach-descendants.esm.js","types":"dist/reach-descendants.cjs.d.ts","eslintIgnore":["node_modules","dist"],"gitHead":"1449650359c119c1afe25973aa7584e09e2c88bc","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.15.0","_nodeVersion":"15.14.0","_npmVersion":"lerna/3.22.1/node@v15.14.0+x64 (linux)","dist":{"shasum":"be55a9420a075bc130f3be6da6e7e47733e5b8a0","size":10527,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.15.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.15.0.tgz"},"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.15.0_1617773686466_0.39894795269250816"},"_hasShrinkwrap":false,"publish_time":1617773686584,"_cnpm_publish_time":1617773686584},"0.14.0":{"name":"@reach/descendants","version":"0.14.0","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"dependencies":{"@reach/utils":"0.14.0","tslib":"^2.1.0"},"devDependencies":{"react":"^17.0.1","react-dom":"^17.0.1"},"peerDependencies":{"react":"^16.8.0 || 17.x","react-dom":"^16.8.0 || 17.x"},"main":"dist/reach-descendants.cjs.js","module":"dist/reach-descendants.esm.js","types":"dist/reach-descendants.cjs.d.ts","eslintIgnore":["node_modules","dist"],"gitHead":"80f6ca5f8d25a10887e2bd34d60094402b9bc0a7","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.14.0","_nodeVersion":"15.12.0","_npmVersion":"lerna/3.22.1/node@v15.12.0+x64 (linux)","dist":{"shasum":"33f7678e850ba39922817890def4996e61b7d82e","size":10446,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.14.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.14.0.tgz"},"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.14.0_1616965292934_0.9815331510336369"},"_hasShrinkwrap":false,"publish_time":1616965293140,"_cnpm_publish_time":1616965293140},"0.13.2":{"name":"@reach/descendants","version":"0.13.2","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"dependencies":{"@reach/utils":"0.13.2","tslib":"^2.1.0"},"devDependencies":{"react":"^17.0.1","react-dom":"^17.0.1"},"peerDependencies":{"react":"^16.8.0 || 17.x","react-dom":"^16.8.0 || 17.x"},"main":"dist/reach-descendants.cjs.js","module":"dist/reach-descendants.esm.js","types":"dist/reach-descendants.cjs.d.ts","eslintIgnore":["node_modules","dist"],"gitHead":"9e2a19717eb581722e9af99b0f8f3d976de9a55f","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.13.2","_nodeVersion":"15.9.0","_npmVersion":"lerna/3.22.1/node@v15.9.0+x64 (linux)","dist":{"shasum":"14cebb203a017d4a316345048deece75caa920b4","size":10431,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.13.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.13.2.tgz"},"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.13.2_1613935615451_0.6102987253598999"},"_hasShrinkwrap":false,"publish_time":1613935615615,"_cnpm_publish_time":1613935615615},"0.13.1":{"name":"@reach/descendants","version":"0.13.1","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"dependencies":{"@reach/utils":"0.13.1","tslib":"^2.0.0"},"devDependencies":{"react":"^17.0.1","react-dom":"^17.0.1"},"peerDependencies":{"react":"^16.8.0 || 17.x","react-dom":"^16.8.0 || 17.x"},"main":"dist/reach-descendants.cjs.js","module":"dist/reach-descendants.esm.js","types":"dist/reach-descendants.cjs.d.ts","eslintIgnore":["node_modules","dist"],"gitHead":"24995121ef36d6d1768bb3bdef6e3353d905a167","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.13.1","_nodeVersion":"15.9.0","_npmVersion":"lerna/3.22.1/node@v15.9.0+x64 (linux)","dist":{"shasum":"85c9e3f9c31e3d7cdde69e584ac046d168cb953d","size":10433,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.13.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.13.1.tgz"},"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.13.1_1613934210081_0.7286834980394306"},"_hasShrinkwrap":false,"publish_time":1613934210353,"_cnpm_publish_time":1613934210353},"0.13.0":{"name":"@reach/descendants","version":"0.13.0","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"scripts":{"build":"ts-node --transpile-only ../../scripts/build-package $npm_package_name"},"dependencies":{"@reach/utils":"0.13.0","tslib":"^2.0.0"},"peerDependencies":{"react":"^16.8.0 || 17.x","react-dom":"^16.8.0 || 17.x"},"main":"dist/index.js","module":"dist/descendants.esm.js","typings":"dist/index.d.ts","gitHead":"c5234721d372e2ab2a7745475007605e78d18895","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.13.0","_nodeVersion":"15.6.0","_npmVersion":"lerna/3.22.1/node@v15.6.0+x64 (linux)","dist":{"shasum":"e4034aecfe529a6ef27be464932846636861fe5b","size":21019,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.13.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.13.0.tgz"},"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.13.0_1611623849177_0.4779890279361083"},"_hasShrinkwrap":false,"publish_time":1611623849339,"_cnpm_publish_time":1611623849339},"0.12.1":{"name":"@reach/descendants","version":"0.12.1","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"scripts":{"build":"ts-node --transpile-only ../../scripts/build-package $npm_package_name"},"dependencies":{"@reach/utils":"0.12.1","tslib":"^2.0.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/descendants.esm.js","typings":"dist/index.d.ts","gitHead":"97b32791ce33f822f6bc9f07f6cebfb343d8032d","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.12.1","_nodeVersion":"15.3.0","_npmVersion":"lerna/3.22.1/node@v15.3.0+x64 (linux)","dist":{"shasum":"dd124e15ee66327692043fea798cc4b6232c1522","size":21014,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.12.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.12.1.tgz"},"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.12.1_1606500576242_0.29024025653905605"},"_hasShrinkwrap":false,"publish_time":1606500576469,"_cnpm_publish_time":1606500576469},"0.12.0":{"name":"@reach/descendants","version":"0.12.0","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"scripts":{"build":"ts-node --transpile-only ../../scripts/build-package $npm_package_name"},"dependencies":{"@reach/utils":"0.12.0","tslib":"^2.0.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/descendants.esm.js","typings":"dist/index.d.ts","gitHead":"09eeccda6e4597d21545982c53db5c42beddce6b","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.12.0","_nodeVersion":"14.6.0","_npmVersion":"lerna/3.22.1/node@v14.6.0+x64 (darwin)","dist":{"shasum":"795d368ecfacfcf5a7ae8152b61e0520a029c424","size":21011,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.12.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.12.0.tgz"},"_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"directories":{},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.12.0_1606349047609_0.9755705490959248"},"_hasShrinkwrap":false,"publish_time":1606349047798,"_cnpm_publish_time":1606349047798},"0.11.2":{"name":"@reach/descendants","version":"0.11.2","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"scripts":{"build":"ts-node --transpile-only ../../scripts/build-package $npm_package_name"},"dependencies":{"@reach/utils":"0.11.2","tslib":"^2.0.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/descendants.esm.js","typings":"dist/index.d.ts","gitHead":"2aa6f03c5eed8c2b7525a29db1c69fe6bc540e5d","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.11.2","_nodeVersion":"14.9.0","_npmVersion":"lerna/3.22.1/node@v14.9.0+x64 (linux)","dist":{"shasum":"49ea1b5eb91aba8ae6dce57f6575c38aff1f9756","size":21019,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.11.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.11.2.tgz"},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.11.2_1598941316950_0.07889036267263494"},"_hasShrinkwrap":false,"publish_time":1598941317065,"_cnpm_publish_time":1598941317065},"0.11.1":{"name":"@reach/descendants","version":"0.11.1","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"scripts":{"build":"ts-node --transpile-only ../../scripts/build-package $npm_package_name"},"dependencies":{"@reach/utils":"0.11.1","tslib":"^2.0.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/descendants.esm.js","typings":"dist/index.d.ts","gitHead":"5c6de02db35c1bb69e28d52bf345ea5c5c484013","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.11.1","_nodeVersion":"14.9.0","_npmVersion":"lerna/3.22.1/node@v14.9.0+x64 (linux)","dist":{"shasum":"066495bb68c3b5ce884c5d73a4ee5a702b317148","size":21000,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.11.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.11.1.tgz"},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.11.1_1598936636083_0.3760971337981309"},"_hasShrinkwrap":false,"publish_time":1598936636227,"_cnpm_publish_time":1598936636227},"0.11.0":{"name":"@reach/descendants","version":"0.11.0","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"scripts":{"build":"ts-node --transpile-only ../../scripts/build-package $npm_package_name"},"dependencies":{"@reach/utils":"0.11.0","tslib":"^2.0.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/descendants.esm.js","typings":"dist/index.d.ts","gitHead":"7eaa66982cd17fb012c13c97e6a1770f75b6ce00","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.11.0","_nodeVersion":"14.8.0","_npmVersion":"lerna/3.22.1/node@v14.8.0+x64 (linux)","dist":{"shasum":"815b094c8a43e21e462b870498d0abf87d1aee0f","size":20994,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.11.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.11.0.tgz"},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.11.0_1598032572637_0.8014527959773443"},"_hasShrinkwrap":false,"publish_time":1598032572760,"_cnpm_publish_time":1598032572760},"0.10.5":{"name":"@reach/descendants","version":"0.10.5","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"scripts":{"build":"ts-node ../../scripts/build"},"dependencies":{"@reach/utils":"0.10.5","tslib":"^2.0.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/descendants.esm.js","typings":"dist/index.d.ts","gitHead":"86a046f54d53b6420e392b3fa56dd991d9d4e458","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.10.5","_nodeVersion":"14.4.0","_npmVersion":"lerna/3.22.1/node@v14.4.0+x64 (linux)","dist":{"shasum":"2611174e9e9b326dba548356221e2f8c8f5c8612","size":20926,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.10.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.10.5.tgz"},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.10.5_1593039419554_0.44279405753340995"},"_hasShrinkwrap":false,"publish_time":1593039419793,"_cnpm_publish_time":1593039419793},"0.10.4":{"name":"@reach/descendants","version":"0.10.4","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"scripts":{"build":"ts-node ../../scripts/build"},"dependencies":{"@reach/utils":"0.10.4","tslib":"^2.0.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/descendants.esm.js","typings":"dist/index.d.ts","gitHead":"a0c7b3672835b2a9f84732663bb0e78992541211","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.10.4","_nodeVersion":"14.4.0","_npmVersion":"lerna/3.22.1/node@v14.4.0+x64 (linux)","dist":{"shasum":"1f5248ed50b2f25429af008ee553bc2f6cf94fa6","size":20926,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.10.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.10.4.tgz"},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.10.4_1592241722481_0.7703970566308667"},"_hasShrinkwrap":false,"publish_time":1592241722601,"_cnpm_publish_time":1592241722601},"0.10.3":{"name":"@reach/descendants","version":"0.10.3","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"scripts":{"build":"ts-node ../../scripts/build"},"dependencies":{"@reach/utils":"^0.10.3","tslib":"^1.11.2"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/descendants.esm.js","typings":"dist/index.d.ts","gitHead":"fd32b2b31a3e50265b0c274654a5e4105847d18e","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.10.3","_nodeVersion":"14.3.0","_npmVersion":"lerna/3.20.2/node@v14.3.0+x64 (linux)","dist":{"shasum":"c2cbd14c172cb82189bf6f290b09577193926a1a","size":19965,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.10.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.10.3.tgz"},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.10.3_1590100982925_0.5545386215299843"},"_hasShrinkwrap":false,"publish_time":1590100983071,"_cnpm_publish_time":1590100983071},"0.10.2":{"name":"@reach/descendants","version":"0.10.2","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"scripts":{"build":"ts-node ../../scripts/build"},"dependencies":{"@reach/utils":"^0.10.2","tslib":"^1.11.2"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/descendants.esm.js","typings":"dist/index.d.ts","gitHead":"9e4b9adab7fd3085b1fb4b54882a2231308b7416","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.10.2","_nodeVersion":"14.2.0","_npmVersion":"lerna/3.20.2/node@v14.2.0+x64 (linux)","dist":{"shasum":"551c9f767a16bcad6d1abc41449bb46a12cd3ee3","size":19330,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.10.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.10.2.tgz"},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.10.2_1589217293290_0.7133888306872531"},"_hasShrinkwrap":false,"publish_time":1589217293391,"_cnpm_publish_time":1589217293391},"0.10.1":{"name":"@reach/descendants","version":"0.10.1","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"scripts":{"build":"ts-node ../../scripts/build"},"dependencies":{"@reach/utils":"^0.10.1","tslib":"^1.11.1"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/descendants.esm.js","typings":"dist/index.d.ts","gitHead":"c279bc0fb9ae84aa77306c5f1a9909d088bc665c","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.10.1","_nodeVersion":"14.0.0","_npmVersion":"lerna/3.20.2/node@v14.0.0+x64 (linux)","dist":{"shasum":"e466a1ba52946ba5c809b4b4e7152d9b044b5437","size":19323,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.10.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.10.1.tgz"},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.10.1_1587536131717_0.26879278226938297"},"_hasShrinkwrap":false,"publish_time":1587536131872,"_cnpm_publish_time":1587536131872},"0.10.0":{"name":"@reach/descendants","version":"0.10.0","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"scripts":{"build":"ts-node ../../scripts/build"},"dependencies":{"@reach/utils":"^0.10.0","tslib":"^1.10.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/descendants.esm.js","typings":"dist/index.d.ts","gitHead":"e95268bdcebc7f0b5311beff4b6a8e29636decfe","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.10.0","_nodeVersion":"13.12.0","_npmVersion":"lerna/3.20.2/node@v13.12.0+x64 (linux)","dist":{"shasum":"43eeba4aea10ffc62fe5144248c1455ab317964b","size":19318,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.10.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.10.0.tgz"},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.10.0_1586049620576_0.49203993569358273"},"_hasShrinkwrap":false,"publish_time":1586049620740,"_cnpm_publish_time":1586049620740},"0.9.1":{"name":"@reach/descendants","version":"0.9.1","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"scripts":{"build":"ts-node ../../scripts/build"},"dependencies":{"@reach/utils":"^0.9.0","tslib":"^1.10.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/descendants.esm.js","typings":"dist/index.d.ts","gitHead":"19b5b1ec7682dfed613512f1592958a47d43ad4d","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.9.1","_nodeVersion":"13.11.0","_npmVersion":"lerna/3.20.2/node@v13.11.0+x64 (linux)","dist":{"shasum":"f17eec0a245d3b6a7cccd020b8edf5b7d1115fc2","size":19778,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.9.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.9.1.tgz"},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.9.1_1584586175828_0.8936925262662323"},"_hasShrinkwrap":false,"publish_time":1584586175953,"_cnpm_publish_time":1584586175953},"0.9.0":{"name":"@reach/descendants","version":"0.9.0","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"scripts":{"build":"ts-node ../../scripts/build"},"dependencies":{"@reach/utils":"^0.9.0","tslib":"^1.10.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/descendants.esm.js","typings":"dist/index.d.ts","gitHead":"0c789bb48554bf13c62dd09210ebdf2f9af33d30","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.9.0","_nodeVersion":"13.11.0","_npmVersion":"lerna/3.20.2/node@v13.11.0+x64 (linux)","dist":{"shasum":"8cac90fcd5dad38098008b9aee6e88c8cd11269e","size":18696,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.9.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.9.0.tgz"},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.9.0_1584146205585_0.8681052170552372"},"_hasShrinkwrap":false,"publish_time":1584146205741,"_cnpm_publish_time":1584146205741},"0.8.6":{"name":"@reach/descendants","version":"0.8.6","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"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/utils":"^0.8.6","tslib":"^1.10.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/descendants.esm.js","typings":"dist/index.d.ts","gitHead":"0c71a018a11055b17815f0fb127cdcd981cd760e","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.8.6","_nodeVersion":"13.10.1","_npmVersion":"lerna/3.20.2/node@v13.10.1+x64 (linux)","dist":{"shasum":"1c6ffac63fb1e116691e47efe20bcb5e8372c106","size":18772,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.8.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.8.6.tgz"},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.8.6_1583513808425_0.5119356296163584"},"_hasShrinkwrap":false,"publish_time":1583513808826,"_cnpm_publish_time":1583513808826},"0.8.5":{"name":"@reach/descendants","version":"0.8.5","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"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/utils":"^0.8.5","tslib":"^1.10.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/descendants.esm.js","typings":"dist/index.d.ts","gitHead":"ac419cf63d0827016ca448bf95482bcd4c5f879e","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.8.5","_nodeVersion":"13.9.0","_npmVersion":"lerna/3.20.2/node@v13.9.0+x64 (linux)","dist":{"shasum":"084b2410bd13be4a76ac663d5957a54325301df0","size":18774,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.8.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.8.5.tgz"},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.8.5_1582315548003_0.8419047228248602"},"_hasShrinkwrap":false,"publish_time":1582315548109,"_cnpm_publish_time":1582315548109},"0.8.4":{"name":"@reach/descendants","version":"0.8.4","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"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/utils":"^0.8.4","tslib":"^1.10.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/descendants.esm.js","typings":"dist/index.d.ts","gitHead":"81f50310879a4d99f3eaeba3cd95a66303e0186c","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.8.4","_nodeVersion":"13.8.0","_npmVersion":"lerna/3.20.2/node@v13.8.0+x64 (linux)","dist":{"shasum":"b193129e653c474a42c289ba185fd1e1360ffa72","size":12628,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.8.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.8.4.tgz"},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.8.4_1581733070346_0.36400457865420055"},"_hasShrinkwrap":false,"publish_time":1581733070482,"_cnpm_publish_time":1581733070482},"0.8.3":{"name":"@reach/descendants","version":"0.8.3","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"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/utils":"^0.8.3","tslib":"^1.10.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/descendants.esm.js","typings":"dist/index.d.ts","gitHead":"5bf1ce48db867c6b3c88e19f1614a6a725e829a0","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.8.3","_nodeVersion":"13.8.0","_npmVersion":"lerna/3.20.2/node@v13.8.0+x64 (linux)","dist":{"shasum":"670de470723b88384eb122649744bd68f1b2fd9e","size":12629,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.8.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.8.3.tgz"},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.8.3_1581725481953_0.788172455381092"},"_hasShrinkwrap":false,"publish_time":1581725482064,"_cnpm_publish_time":1581725482064},"0.8.2":{"name":"@reach/descendants","version":"0.8.2","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"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/utils":"^0.8.2","tslib":"^1.10.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/descendants.esm.js","typings":"dist/index.d.ts","gitHead":"ed24a5bb43a87adc36179283ca1de2c5af4ea26e","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"homepage":"https://github.com/reach/reach-ui#readme","_id":"@reach/descendants@0.8.2","_nodeVersion":"13.8.0","_npmVersion":"lerna/3.20.2/node@v13.8.0+x64 (linux)","dist":{"shasum":"ffb87d18be4e62f344429dd5c7293f386e3da8a2","size":12627,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.8.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.8.2.tgz"},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmUser":{"name":"mjackson","email":"npm@mjackson.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.8.2_1581122580979_0.9114804401251018"},"_hasShrinkwrap":false,"publish_time":1581122581080,"_cnpm_publish_time":1581122581080},"0.1.0":{"name":"@reach/descendants","version":"0.1.0","description":"A descendant index solution for better accessibility support in compound components","author":{"name":"React Training","email":"hello@reacttraining.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reach/reach-ui.git","directory":"packages/descendants"},"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/utils":"^0.8.0","tslib":"1.10.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"main":"dist/index.js","module":"dist/descendants.esm.js","typings":"dist/index.d.ts","_id":"@reach/descendants@0.1.0","dist":{"shasum":"c5c7fff346c9dcf630657abe6bd9dbd27cee3f7d","size":12245,"noattachment":false,"key":"/@reach/descendants/-/@reach/descendants-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@reach/descendants/download/@reach/descendants-0.1.0.tgz"},"maintainers":[{"name":"blainekasten","email":"blainekasten@gmail.com"},{"name":"chancestrickland","email":""},{"name":"mjackson","email":""},{"name":"ryanflorence","email":"rpflorence@gmail.com"}],"_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/descendants_0.1.0_1580929945272_0.7415366293198224"},"_hasShrinkwrap":false,"publish_time":1580929945407,"_cnpm_publish_time":1580929945407}},"readme":"# @reach/descendants\n\n[![Stable release](https://img.shields.io/npm/v/@reach/descendants.svg)](https://npm.im/@reach/descendants) ![MIT license](https://badgen.now.sh/badge/license/MIT)\n\nA descendant index solution for better accessibility support in compound components.\n\n**Important:** This package is primarily intended for internal use by the Reach UI library. You should probably not use it directly in your production projects, as the APIs can still change with minor version bumps (at least until we're comfortable releasing a 1.0). You have been warned!\n\n## The Problem\n\nIn React you can wrap up any elements into a component and then render the new component instead. It's beautiful.\n\n```jsx\n// old\n<h1>Time zones</h1>\n<select>\n  <option>Eastern</option>\n  <option>Central</option>\n  <option>Mountain</option>\n  <option>Pacific</option>\n  <option>UTC-10</option>\n  <option>UTC-09</option>\n  <option>UTC-09:30</option>\n  {/* etc. */}\n</select>\n\n// new\n<h1>Time zones</h1>\n<select>\n  <LocaleTimeZoneOptions/>\n  <UTCTimeZoneOptions/>\n</select>\n\nfunction LocaleTimeZoneOptions() {\n  return (\n    <>\n      <option>Eastern</option>\n      <option>Central</option>\n      <option>Mountain</option>\n      <option>Pacific</option>\n    </>\n  )\n}\n```\n\nEverything will continue to work!\n\nBut when we want to create our own abstractions like this, we can't always abstract and compose the same way.\n\nThe Menu here will set an `aria-activedescendant={activeElementId}` so that assistive tech can announce correctly. The menu also needs a ref to the children so it can set them as the active descendant (or actually focus the node) from keyboard events like `ArrowUp` and `ArrowDown`.\n\nAdditionally, `MenuItem` needs to know if it is the active descendant so it can style itself differently.\n\n```jsx\n<Menu>\n\t<MenuItem onSelect={download}>Download</MenuItem>\n\t<MenuItem onSelect={save}>Save</MenuItem>\n\t<MenuItem onSelect={preview}>Preview</MenuItem>\n</Menu>\n```\n\nThere are a few ways to deal with this.\n\n## Option 1: Bail out of Elements\n\nThe solution most people turn to is to bail out of the element API and turn to arrays. This lets a single owner control the state and rendering, makes it way easier to know the index and set the active descendant.\n\n```jsx\n<Menu\n\titems={[\n\t\t{ label: \"Download\", onSelect: download },\n\t\t{ label: \"Save\", onSelect: save },\n\t\t{ label: \"Preview\", onSelect: preview },\n\t]}\n/>;\n\nfunction Menu({ items }) {\n\tlet [activeIndex, setActiveIndex] = React.useState();\n\treturn (\n\t\t<div data-menu aria-activedescendant={activeIndex}>\n\t\t\t{items.map((item, index) => (\n\t\t\t\t<MenuItem\n\t\t\t\t\t// easy to tell the index\n\t\t\t\t\tindex={index}\n\t\t\t\t\tactiveIndex={activeIndex}\n\t\t\t\t\tonSelect={item.onSelect}\n\t\t\t\t>\n\t\t\t\t\t{item.label}\n\t\t\t\t</MenuItem>\n\t\t\t))}\n\t\t</div>\n\t);\n}\n\nfunction MenuItem({ index, activeIndex, onSelect, children }) {\n\t// and now we can style\n\tlet isActive = index === activeIndex;\n\treturn (\n\t\t<div\n\t\t\t// and add an ID\n\t\t\tid={index}\n\t\t\tdata-highlighted={isActive ? \"\" : undefined}\n\t\t>\n\t\t\t{children}\n\t\t</div>\n\t);\n}\n```\n\nThis is where most people live. You see these APIs everywhere because it's way easier when you own all the state and all the elements in one place. But you lose composition.\n\nWhat happens when we want to add a className to all, one, or just a few of the elements? You end up with weird APIs like:\n\n```jsx\n<Menu\n\toptions={[\n\t\t{ label: \"Download\", onSelect: download },\n\t\t{ label: \"Save\", onSelect: save },\n\t\t{ label: \"Preview\", onSelect: preview },\n\t]}\n\t// stuff like this\n\toptionClassNames=\"cool\"\n\t// or shoot, we need more than classNames\n\toptionsProps={{\n\t\tclassName: \"cool\",\n\t\tonMouseEnter: handler,\n\t}}\n\t// dangit we need to do it differently depending on the option\n\tgetOptionProps={(option, index) => {\n\t\treturn index === 2 ? \"bg-blue\" : \"bg-white\";\n\t}}\n\t// ah forget it, here you do it, enjoy the branching!\n\trenderOption={(option, index) => (\n\t\t<MenuItem\n\t\t\tclassName={index === 2 ? \"bg-blue\" : \"bg-white\"}\n\t\t\taria-label={index === 2 ? \"Preview Invoice\" : undefined}\n\t\t>\n\t\t\t{index === 0 ? (\n\t\t\t\t<DownloadIcon />\n\t\t\t) : index === 1 ? (\n\t\t\t\t<SaveIcon />\n\t\t\t) : index === 2 ? (\n\t\t\t\t<PreviewIcon />\n\t\t\t) : null}\n\t\t\t{option.label}\n\t\t</MenuItem>\n\t)}\n/>\n```\n\nBecause the rendering is in the same owner as the state, we have to poke holes in the component to change anything about how it renders.\n\nAll that, just so the stinking `MenuOption` knows its index in the parent's element tree.\n\nHad we stuck to elements, we could have done this:\n\n```jsx\n<Menu>\n\t<MenuItem className=\"bg-white\" onSelect={download}>\n\t\t<DownloadIcon /> Download\n\t</MenuItem>\n\t<MenuItem className=\"bg-white\" onSelect={save}>\n\t\t<SaveIcon /> Save\n\t</MenuItem>\n\t<MenuItem\n\t\tclassName=\"bg-white\"\n\t\tonSelect={preview}\n\t\taria-label=\"Preview Invoice\"\n\t>\n\t\t<PreviewIcon /> Preview\n\t</MenuItem>\n</Menu>\n```\n\nBut how will the `MenuItem` components know their index?\n\n## Option 2: Type Checking and `cloneElement`\n\nWe can use `React.cloneElement` to keep (most of) the normal React composition. No more `items` prop. Instead we map the children, clone them, and pass them the state that we know in Menu.\n\n```jsx\nfunction Menu({ children }) {\n\tlet [activeIndex, setActiveIndex] = React.useState();\n\treturn (\n\t\t<div data-menu aria-activedescendant={activeIndex}>\n\t\t\t{React.Children.map(children, (child, index) =>\n\t\t\t\tReact.cloneElement(child, { index, activeIndex })\n\t\t\t)}\n\t\t</div>\n\t);\n}\n\nfunction MenuItem({ index, activeIndex, onSelect, children }) {\n\t// index came from the clone\n\tlet isActive = index === activeIndex;\n\treturn (\n\t\t<div id={index} data-highlighted={isActive ? \"\" : undefined}>\n\t\t\t{children}\n\t\t</div>\n\t);\n}\n```\n\nWe've now seperated the state from the elements so that apps can compose however they please. If you want to put a `className` on one item and not another, you can, and we don't have to poke holes into our `Menu` component just to meet every use case that pops up.\n\nAlmost.\n\nWhat if we need to put a div around one of the items?\n\n```jsx\n<Menu>\n\t<div>\n\t\t<MenuItem />\n\t</div>\n\t<MenuItem />\n</Menu>\n```\n\nThis is totally broken now because we cloned the `div`, not the `MenuItem`. You _could_ recurse down the tree and type check until you find a `MenuItem`, but…come on.\n\nA recursive type check could help a little, but it still limits composition, what if you wanted to do this?\n\n```jsx\nfunction BlueItem(props) {\n\treturn <MenuItem {...props} className=\"bg-blue\" />;\n}\n\n<Menu>\n\t<MenuItem />\n\t<BlueItem />\n</Menu>;\n```\n\nThe type checking will fail ????.\n\nSo now we need a way to define arbitrary components as a `MenuItem`. One workaround is a static property of the component to check instead of just `type`. The type checking changes from this `element.type === MenuItem` to this: `element.type.is === MenuItem`, and of course make sure apps assign `BlueItem.is = MenuItem`.\n\n## Our solution (for now): Descendants context registration\n\nThe `descendants` package provides these key tools:\n\n- `createDescendantContext`: Creates a special context object to deal with registering descendants in a tree (accepts a name string for better debugging)\n- `useDescendantsInit`: A hook to create a state object containing a descendants array and setter function.\n- `DescendantProvider`: A provider that accepts the descendants array, the state setter, and the component's context object for use at the top of the component tree\n- `useDescendant`: A hook called in the body of a nested descendant component that registers its DOM node and returns its index relative to other descendants in the tree\n- `useDescendants`: A hook that accepts the descendant context and returns descendants registered to the passed context.\n\n```jsx\nimport {\n\tcreateDescendantContext,\n\tDescendantProvider,\n\tuseDescendant,\n\tuseDescendantsInit,\n} from \"@reach/descendants\";\n\nlet DescendantContext = createDescendantContext(\"DescendantContext\");\nlet MenuContext = createContext();\n\nfunction Menu({ id, children }) {\n\t// We could be less explicit here and set this up in the DescendantProvider,\n\t// but you may want to do something with `descendants` in your top-level\n\t// component and we don't want to force creating an arbitrary child\n\t// component just so we can consume the context.\n\tlet [descendants, setDescendants] = useDescendantsInit();\n\tlet [activeIndex, setActiveIndex] = React.useState(-1);\n\treturn (\n\t\t<DescendantProvider\n\t\t\tcontext={DescendantContext}\n\t\t\titems={descendants}\n\t\t\tset={setDescendants}\n\t\t>\n\t\t\t<MenuContext.Provider\n\t\t\t\tvalue={{ buttonId: `button-${useId(id)}`, activeIndex, setActiveIndex }}\n\t\t\t>\n\t\t\t\t{children}\n\t\t\t</MenuContext.Provider>\n\t\t</DescendantProvider>\n\t);\n}\n\nfunction MenuList(props) {\n\tlet { buttonId, activeIndex } = useContext(MenuContext);\n\treturn (\n\t\t<Popover>\n\t\t\t<div\n\t\t\t\trole=\"menu\"\n\t\t\t\taria-labelledby={buttonId}\n\t\t\t\taria-activedescendant={activeIndex}\n\t\t\t\ttabIndex={-1}\n\t\t\t>\n\t\t\t\t{children}\n\t\t\t</div>\n\t\t</Popover>\n\t);\n}\n\nfunction MenuItem({ index: explicitIndex, ...props }) {\n\tlet { activeIndex, setActiveIndex } = useContext(MenuContext);\n\tlet ref = React.useRef(null);\n\n\t// We need a ref to the element for our descendant object, but we also\n\t// need to update state after the ref is placed. We can set the ref in a\n\t// callback and use the stateful `element` to ensure our descendant is\n\t// updated once we have DOM node.\n\tlet [element, setElement] = useState(null);\n\tlet handleRefSet = useCallback((refValue) => {\n\t\tref.current = refValue;\n\t\tsetElement(refValue);\n\t}, []);\n\n\t// The descendant should be memoized to prevent endless render loops after\n\t// the collection state  is updated\n\tlet descendant = React.useMemo(() => {\n\t\treturn {\n\t\t\t// Assign the DOM node using a stateful reference. This should be safer\n\t\t\t// than passing the ref directly.\n\t\t\telement,\n\t\t\t// You can pass arbitrary data into a descendant object which can come\n\t\t\t// in handy for features like typeahead!\n\t\t\tkey: props.label,\n\t\t};\n\t}, [element, props.label]);\n\n\tlet index = useDescendant(\n\t\tdescendant,\n\t\t// Tell the useDescendant hook to use a specific context.\n\t\t// This is key in case you have a compound component that needs index\n\t\t// tracking in separate correlating descendant components (like `Tabs`)\n\t\tDescendantContext,\n\t\t// If you want to declare a specific index value, you can pass it as the\n\t\t// third argument here. This is almost never needed but we provide it as an\n\t\t// escape hatch for special circumstances.\n\t\texplicitIndex\n\t);\n\n\t// Now we know the index, so let's use it!\n\tlet isSelected = index === activeIndex;\n\tfunction select() {\n\t\tif (!isSelected) {\n\t\t\tsetActiveIndex(index);\n\t\t}\n\t}\n\n\treturn (\n\t\t<div\n\t\t\trole=\"menuitem\"\n\t\t\t// Don't forget to pass the callback ref to the rendered element!\n\t\t\tref={handleRefSet}\n\t\t\tdata-selected={isSelected ? \"\" : undefined}\n\t\t\ttabIndex={-1}\n\t\t\tonMouseEnter={select}\n\t\t\t{...props}\n\t\t/>\n\t);\n}\n```\n\nYou can also access the descendants array anywhere in the tree (below the top-level component) with `useDescendants`:\n\n```jsx\nlet menuItems = useDescendants(DescendantContext);\n```\n\nThe key tradeoff here is that descendants won't be available on the first render, and as such any components that need this data for server-side rendering will need to manage their own state and pass descendant data from from the top of the tree. For example\n\n```jsx\nfunction Comp() {\n\t<Listbox>\n\t\t{/*\n    The button needs to know which value is selected to render its label!\n    The label will be empty on the server if we depend on descendant hooks\n    */}\n\t\t<ListboxButton />\n\t\t<ListboxList>\n\t\t\t<ListboxOption value=\"Apple\" />\n\t\t\t<ListboxOption value=\"Orange\" />\n\t\t\t<ListboxOption value=\"Banana\" />\n\t\t</ListboxList>\n\t</Listbox>;\n}\n\nfunction CompSSR() {\n\t// This limits composition, but now you have your data in one place at the top\n\tlet options = [\"Apple\", \"Orange\", \"Banana\"];\n\tlet [activeOption, setActiveOption] = React.useState(options[0]);\n\t<Listbox onChange={setActiveOption} selected={activeOption}>\n\t\t{/* The button needs to know which value is selected to render its label! */}\n\t\t<ListboxButton>{activeOption}</ListboxButton>\n\t\t<ListboxList>\n\t\t\t{options.map((option) => (\n\t\t\t\t<ListboxOption value={option} key={option} />\n\t\t\t))}\n\t\t</ListboxList>\n\t</Listbox>;\n}\n\nfunction ComposableSSR() {\n\t// You can manage state at the top and still get back some composition, you'll\n\t// just have to deal with a bit of repitition\n\tlet [activeOption, setActiveOption] = React.useState(\"Apple\");\n\t<Listbox onChange={setActiveOption} selected={activeOption}>\n\t\t{/* The button needs to know which value is selected to render its label! */}\n\t\t<ListboxButton>{activeOption}</ListboxButton>\n\t\t<ListboxList>\n\t\t\t<ListboxOption value=\"Apple\">\n\t\t\t\tApple <span aria-hidden>????</span>\n\t\t\t</ListboxOption>\n\t\t\t<ListboxOption\n\t\t\t\tvalue=\"Orange\"\n\t\t\t\taria-labelledby=\"orange-label\"\n\t\t\t\taria-describedby=\"orange-description\"\n\t\t\t>\n\t\t\t\t<span id=\"orange-label\">\n\t\t\t\t\tOrange <span aria-hidden>????</span>\n\t\t\t\t</span>\n\t\t\t\t<span id=\"orange-description\">Fun fact: Oranges are delicious!</span>\n\t\t\t</ListboxOption>\n\t\t\t<ListboxOption value=\"Banana\">\n\t\t\t\tBanana <span aria-hidden>????</span>\n\t\t\t</ListboxOption>\n\t\t</ListboxList>\n\t</Listbox>;\n}\n```\n","_attachments":{},"homepage":"https://github.com/reach/reach-ui#readme","bugs":{"url":"https://github.com/reach/reach-ui/issues"},"license":"MIT"}