{"_id":"@barusu-react/octotree-sidebar","_rev":"5-4763104c62efeece6a3388855b96f28c","name":"@barusu-react/octotree-sidebar","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.17":{"name":"@barusu-react/octotree-sidebar","version":"0.0.17","description":"render a directory tree like the chrome extension 'octotree'","author":{"name":"guanghechen","url":"https://github.com/guanghechen/"},"repository":{"type":"git","url":"git+https://github.com/guanghechen/barusu-react.git"},"homepage":"https://github.com/guanghechen/barusu-react/tree/master/packages/octotree-sidebar#readme","keywords":[],"main":"lib/cjs/index.js","module":"lib/esm/index.js","types":"lib/types/index.d.ts","source":"src/index.tsx","license":"MIT","engines":{"node":">= 14.15.0"},"scripts":{"start":"rollup -w -c rollup.config.js","prebuild":"rimraf lib/","build":"cross-env NODE_ENV=production rollup -c rollup.config.js","prepublishOnly":"cross-env ROLLUP_USE_SOURCE_MAP=false yarn build","test":"cross-env TS_NODE_FILES=true jest --config ../../jest.config.js --rootDir .","lint:fix":"eslint '{src,__test__}/**/*.{ts,tsx}' --fix"},"dependencies":{"@barusu-react/octotree":"^0.0.17"},"peerDependencies":{"@types/react":"^16.9.56","@types/react-router-dom":"^5.1.6","@types/styled-components":"^5.1.4","prop-types":"^15.7.2","react":"^16.14.0","react-router-dom":"^5.2.0","styled-components":"^5.2.1"},"devDependencies":{"@types/react":"^16.9.56","@types/react-router-dom":"^5.1.6","@types/styled-components":"^5.1.4","prop-types":"^15.7.2","react":"^16.14.0","react-router-dom":"^5.2.0","rollup":"2.28.1","styled-components":"^5.2.1"},"browserslist":["last 2 versions","Firefox ESR","> 1%","ie >= 11"],"gitHead":"dfbb48ec8a4caf803a9ef1a41d19b86fdc53dab2","bugs":{"url":"https://github.com/guanghechen/barusu-react/issues"},"_id":"@barusu-react/octotree-sidebar@0.0.17","_nodeVersion":"14.15.0","_npmVersion":"lerna/3.22.1/node@v14.15.0+x64 (linux)","dist":{"integrity":"sha512-oxgSlnMzQDYqvb0ZwLr3PaG9qY6Lbn4e/1a7Y0hVVHLB02SQ+PU5UEn/gT70qczxYLoBC4gS+xqzAOGVjthUhA==","shasum":"c9bd9ee050ab97db781891d04bd224e7dc7eced9","tarball":"https://registry.npmjs.org/@barusu-react/octotree-sidebar/-/octotree-sidebar-0.0.17.tgz","fileCount":11,"unpackedSize":30310,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfukBGCRA9TVsSAnZWagAALgYP/jQohduM//sYy/iI8+3O\ns6Gs4/WXJmEylj2T44QUX+XNP3AcEPB8Wbj/NAgVRmURkVIRmH07QQe3YApN\nQuqdYhelT+RteNGjFO/XWBsKZdrptMrH+d1Xanq+vEtU9CgR7mCp5LCtwit+\n7EFpsRDkMFPoQRelU+CjMvA4n+d96X9Hy/8b8FNLpgrOUdJwwFu4I0WH30Zh\ntSTnhAKmhww2LbW41w36cvcOkG5HgYkdJQSznrLke3EPRUm6M7v9ztrcLg6u\nf9vqAb7q81++VQ7Hny/0XdxQYudLnE6w0V+4RT1+HQXloHHj8mHGijddK5zD\n/+ZxSS2QZ//I7FmFjNtRSZ39cUzUFWUpyZIDJLygS0A4TExRJlYdcKg208WO\n7VRpZB7BubSW94eZJpiYTKGU9BNrCGhgcOvFt8u4KtbyQVTWKh/p+1kCxnyz\nJPwzpVo6bvoVqa+PIdQV2rMU90WaWb2VmN2AF59y9O06Ey88V6JVRG/FCf+8\n67+KNq1X5u18wV3LAA5T/v13KWpl1YzHQHVcToL5o+FjMgTUKTgIN5vui3sc\n5kRnMY7AIqQMDP2ikrew5guOj66mHytIHQtPrYxEOmFdlxWn26nlFTH6Da44\nXPFi5dgg8HZQ8Qwh4SJQ1Qmm53Bsby31dLfd3J6rtfTQbF4H7Oc6gTyVzqOD\nxheV\r\n=Gk98\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICLmuOijI2TG71yQwUWvPhUyRpd+kA6E4Rl0JFT/e8suAiEAlz6vNcVbNqRjH+Blv6air7eGqUSpwr1TXCVqQQDFtMA="}]},"_npmUser":{"name":"lemonclown","email":"me.clown.lemon@gmail.com"},"directories":{},"maintainers":[{"name":"lemonclown","email":"me.clown.lemon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octotree-sidebar_0.0.17_1606041670266_0.020122441279489367"},"_hasShrinkwrap":false},"0.0.18":{"name":"@barusu-react/octotree-sidebar","version":"0.0.18","description":"render a directory tree like the chrome extension 'octotree'","author":{"name":"guanghechen","url":"https://github.com/guanghechen/"},"repository":{"type":"git","url":"git+https://github.com/guanghechen/barusu-react.git"},"homepage":"https://github.com/guanghechen/barusu-react/tree/master/packages/octotree-sidebar#readme","keywords":[],"main":"lib/cjs/index.js","module":"lib/esm/index.js","types":"lib/types/index.d.ts","source":"src/index.tsx","license":"MIT","engines":{"node":">= 14.15.0"},"scripts":{"start":"rollup -w -c rollup.config.js","prebuild":"rimraf lib/","build":"cross-env NODE_ENV=production rollup -c rollup.config.js","prepublishOnly":"cross-env ROLLUP_USE_SOURCE_MAP=false yarn build","test":"cross-env TS_NODE_FILES=true jest --config ../../jest.config.js --rootDir .","lint:fix":"eslint '{src,__test__}/**/*.{ts,tsx}' --fix"},"dependencies":{"@barusu-react/octotree":"^0.0.18"},"peerDependencies":{"@types/react":"^16.9.56","@types/react-router-dom":"^5.1.6","@types/styled-components":"^5.1.4","prop-types":"^15.7.2","react":"^16.14.0","react-router-dom":"^5.2.0","styled-components":"^5.2.1"},"devDependencies":{"@types/react":"^16.9.56","@types/react-router-dom":"^5.1.6","@types/styled-components":"^5.1.4","prop-types":"^15.7.2","react":"^16.14.0","react-router-dom":"^5.2.0","rollup":"2.28.1","styled-components":"^5.2.1"},"browserslist":["last 2 versions","Firefox ESR","> 1%","ie >= 11"],"gitHead":"ed1328f8ec9799b5d776f22c83f8a85dd60a032e","bugs":{"url":"https://github.com/guanghechen/barusu-react/issues"},"_id":"@barusu-react/octotree-sidebar@0.0.18","_nodeVersion":"14.15.0","_npmVersion":"lerna/3.22.1/node@v14.15.0+x64 (linux)","dist":{"integrity":"sha512-kALte3KTfYTor0yhKudWaFaSrWUiqR+9Cgs8ieSu7UVaIkmVni+H1hpOhCu1TEkGgP9bqfjQteW7cKellSJOZA==","shasum":"0b3f38b293f7afd2fa488502cd8c757faf09ebd8","tarball":"https://registry.npmjs.org/@barusu-react/octotree-sidebar/-/octotree-sidebar-0.0.18.tgz","fileCount":11,"unpackedSize":31568,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvSXsCRA9TVsSAnZWagAAJHQP/1PseDNTkP14f1RTbcL3\neBiAOTBeFixWoWu/WQpvwMJOhfTPtEbAXOhrgbadI2rvof6yhHr8vyS2sJxE\nD2i+wWiAcGOMf1RaWXSycV1gZLoAqoFtLlxh+HK7RpN/M6WZPF0Ip/AM56Zy\nfWDUN6RYMIo77uMuTmTBWm/6SSsPk6IxuGw0AsdG+rl0N/mmdjEtQbA9BGKK\n9btFd7sn3XzPkNJymPg2rq0xAwJbHsEEowtREJzszS+NFm8Mff+euZvfxVCK\n1NErLFqM+/u0AZdEjQaJbuDd/+2Eh1mn1mYv4LmBZd0PBiU4mmlzqqPJokIW\n/eGVgmXBkikV8uKdY9iFODU/4kpz5OUOrY2wLSVYBK3wQPql5488PTFdHPvo\nJ4d74SXtAn7l95lYumjPhhlVV+1FzdMNukeDbdNhTxjfwAM1wUt4MlgmjkJi\nlzhoTh4tw9VDVf7NENSmt2zuV16W4dryhzj8d+MhFbTj8fTTU4nWq0iDYVhN\ni55mhVKBu31YusAyAQOPbKtRH0LNchrs86diSVhi7m+SAw6BtohjheH12u6H\n1+sSNw3tcnk8yATVfuxNPVEsoCiBIW6mkddYBQwCfup76eamSp4ZebD+AhJY\nUiQpcjHmpBebX91PFG1peF/UJGrfMsO0xVosgDV5uHzxQ/Xmycpg/JCKWyQD\nl3AD\r\n=wweo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmQ427HlLtmn4/mXvcUo0d61anqCpIcMUIp+p2hLh3zwIgeyJBDeoboHASS7hAB7e9cTUFhT0iD2sLavfwoT3CGJM="}]},"_npmUser":{"name":"lemonclown","email":"me.clown.lemon@gmail.com"},"directories":{},"maintainers":[{"name":"lemonclown","email":"me.clown.lemon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octotree-sidebar_0.0.18_1606231532271_0.2575609032313304"},"_hasShrinkwrap":false},"0.0.19":{"name":"@barusu-react/octotree-sidebar","version":"0.0.19","description":"render a directory tree like the chrome extension 'octotree'","author":{"name":"guanghechen","url":"https://github.com/guanghechen/"},"repository":{"type":"git","url":"git+https://github.com/guanghechen/barusu-react.git"},"homepage":"https://github.com/guanghechen/barusu-react/tree/master/packages/octotree-sidebar#readme","keywords":[],"main":"lib/cjs/index.js","module":"lib/esm/index.js","types":"lib/types/index.d.ts","source":"src/index.tsx","license":"MIT","engines":{"node":">= 14.15.0"},"scripts":{"start":"rollup -w -c rollup.config.js","prebuild":"rimraf lib/","build":"cross-env NODE_ENV=production rollup -c rollup.config.js","prepublishOnly":"cross-env ROLLUP_USE_SOURCE_MAP=false yarn build","test":"cross-env TS_NODE_FILES=true jest --config ../../jest.config.js --rootDir .","lint:fix":"eslint '{src,__test__}/**/*.{ts,tsx}' --fix"},"dependencies":{"@barusu-react/octotree":"^0.0.19"},"peerDependencies":{"@types/react":"^16.9.56","@types/react-router-dom":"^5.1.6","@types/styled-components":"^5.1.4","prop-types":"^15.7.2","react":"^16.14.0","react-router-dom":"^5.2.0","styled-components":"^5.2.1"},"devDependencies":{"@types/react":"^16.9.56","@types/react-router-dom":"^5.1.6","@types/styled-components":"^5.1.4","prop-types":"^15.7.2","react":"^16.14.0","react-router-dom":"^5.2.0","rollup":"2.28.1","styled-components":"^5.2.1"},"browserslist":["last 2 versions","Firefox ESR","> 1%","ie >= 11"],"gitHead":"33344cf9c82d42f547191466a9639f3108c62899","bugs":{"url":"https://github.com/guanghechen/barusu-react/issues"},"_id":"@barusu-react/octotree-sidebar@0.0.19","_nodeVersion":"14.15.0","_npmVersion":"lerna/3.22.1/node@v14.15.0+x64 (linux)","dist":{"integrity":"sha512-XMFKJk3eISI6Gpee5793cGvc2hpk3w4ZbZsmCFbx+8vuOO1E54DJD7jWCbRE+M/vzY6ZwjncULKsTPAKi7M7cg==","shasum":"e1459cff25cff4364845a8f699b4eadddc08c4a7","tarball":"https://registry.npmjs.org/@barusu-react/octotree-sidebar/-/octotree-sidebar-0.0.19.tgz","fileCount":11,"unpackedSize":32749,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxk3mCRA9TVsSAnZWagAAgeQP/jNlbk2vnprB+R6rVyk8\nZcMXl3GY57G1VrwuHV5j+uNtDyEms5etD3qMJwNxUYZ22NS4L/G99JC3fUnr\n5y9+dqWxDxoxxFS6lZp5JzHHbYdIgXhlOrNOMeoU/DdvL4WBFSngCTlQPzTP\nihJ+ny6vqhqrT5WRwhwSVy2D4c8CAl5CF4e4BLXrAwbpz+8ipQrKf4VYxgo7\nterLgXftTGJli3pMnu66D8UEdJo7qPyuyc0AGTMfQkRqCKm259qgZqlO14Z6\n6WkSoGZE2vEd8MOLoXUgiNKO10EQW2JMxgzdd+cYlKVUPDZ9FqpMaM25HSwH\npZ8NzWycabZPXA0KeyQSUBWwTrTvGzUCXk+FEjArnzC4LnzvzlqfGr/p20dk\n9yMJbw+uR9tm5zWa/xt/5lE/tJw171H92DbBmnovfsuUSuNZiV+yVltOcw28\nWq0jIHgNC68y0wcuLu9Gof4NhVgzj2dAZtnfgwa8x41DQ5dPrRHy1g1Lt8jW\nobULAZLfNos8jxRUiKeomQg5FzlAXrkGGG16BpwcOzCgvdrA0a/mY95u8Pyh\nGV4EwsT6Ec3F2+n3qSBi1em+2XZndGXsQnjyhgDHQB4OFbb2gFOsBK8O8oC8\nnE+IQM1pNnw6Trcf5ibIyF6XZ2xo6D3JksLXKvldXAV1DAK5O49Xgr0KV3X9\nOxpF\r\n=z0ec\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICB1eTdKsy8VbbYMhHxbBVcdy0jxzUEGjPkl3eAY/MJUAiAuqsxTFabxAw0ra8rmEULjYsnAqdq1st2tN/zIu/f+cA=="}]},"_npmUser":{"name":"lemonclown","email":"me.clown.lemon@gmail.com"},"directories":{},"maintainers":[{"name":"lemonclown","email":"me.clown.lemon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octotree-sidebar_0.0.19_1606831590303_0.38328045981987713"},"_hasShrinkwrap":false},"0.0.20":{"name":"@barusu-react/octotree-sidebar","version":"0.0.20","description":"render a directory tree like the chrome extension 'octotree'","author":{"name":"guanghechen","url":"https://github.com/guanghechen/"},"repository":{"type":"git","url":"git+https://github.com/guanghechen/barusu-react.git"},"homepage":"https://github.com/guanghechen/barusu-react/tree/master/packages/octotree-sidebar#readme","keywords":[],"main":"lib/cjs/index.js","module":"lib/esm/index.js","types":"lib/types/index.d.ts","source":"src/index.tsx","license":"MIT","engines":{"node":">= 14.15.0"},"scripts":{"start":"rollup -w -c rollup.config.js","prebuild":"rimraf lib/","build":"cross-env NODE_ENV=production rollup -c rollup.config.js","prepublishOnly":"cross-env ROLLUP_USE_SOURCE_MAP=false yarn build","test":"cross-env TS_NODE_FILES=true jest --config ../../jest.config.js --rootDir .","lint:fix":"eslint '{src,__test__}/**/*.{ts,tsx}' --fix"},"dependencies":{"@barusu-react/octotree":"^0.0.20"},"peerDependencies":{"@types/react":"^16.9.56","@types/react-router-dom":"^5.1.6","@types/styled-components":"^5.1.4","prop-types":"^15.7.2","react":"^16.14.0","react-router-dom":"^5.2.0","styled-components":"^5.2.1"},"devDependencies":{"@types/react":"^16.9.56","@types/react-router-dom":"^5.1.6","@types/styled-components":"^5.1.4","prop-types":"^15.7.2","react":"^16.14.0","react-router-dom":"^5.2.0","rollup":"2.35.1","styled-components":"^5.2.1"},"browserslist":["last 2 versions","Firefox ESR","> 1%","ie >= 11"],"gitHead":"1636128f071a2fbb2c2f56eab5a6757a1a4e1676","bugs":{"url":"https://github.com/guanghechen/barusu-react/issues"},"_id":"@barusu-react/octotree-sidebar@0.0.20","_nodeVersion":"14.15.0","_npmVersion":"lerna/3.22.1/node@v14.15.0+x64 (linux)","dist":{"integrity":"sha512-xjhSAT8PoN5TlvRJM9MdEDUOTjfUzP/gGtwLQndstS2oJfWDdrBwkgxlNgSuKg5zSrhnKvHh98balmLYiU+SvA==","shasum":"38ba597c46fe14f228d494045c5766ef69c897a2","tarball":"https://registry.npmjs.org/@barusu-react/octotree-sidebar/-/octotree-sidebar-0.0.20.tgz","fileCount":11,"unpackedSize":32749,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf7osECRA9TVsSAnZWagAAJmEP/3FcGOaG0dGMiv2dRqh0\nVHqr9wDm+WslfKuxsOZ6FnpYQ9GSj6Wk0IG3e0c9koqha+MDPkyQlMdbzoz3\nuvJIGTvyp9yh+VEAQwdx2tuvxjH/XNs84kvbde32WmcJQQxanJWn98GvUQi2\nRXrGXgXY3b3eqyl2nBrHxD5U1fxOqyqWMC8IyCgK4xbWhwWjxPcucHLSQ6KA\npnE98bDYlfwnuVeykOnrMKYsZKS8FLxw9m3zSwVzW2646cv63jeYmGowDN1N\nmPBdew818xl5L4vdXgpIRMBJLI4zkijQHA/ysG56hEJGYEHjJJsZSsEuUkJh\nCOgk1yCFyWhQpsqNtap+m7AorVYZx+Xe1DwQulbxb745o2SNaphU8nYqceYv\nAtfQAScJk66O7oveSSjg1xaI7xhOIJT+SDy48XqyZQ/qk0Xfqoh2uq5x4s0J\nQCZZ3fBw9HdwEhoXrOIjM2lQTvFfCPFjcSbN68mWAr+GNecKQkFYAuRjvb0e\n0W+5T0g9R2FJYDTP3Q5OkeNTQJOq/iUNuvBp5hFAdKcnlagSH5zfh9aXEHdv\nKSJXUApev/Bm6jMWhR7YOQGRwNeGNgmwN0LV7EUb+2RDov+VUuKnv29xUHiq\nhq2crxAwWDGQyxFgfCPHMlfQppmrryQtHdxV4E/2X25ZvRm3jSzwKNVAkwky\nNdLL\r\n=alLI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZybaQeLGfaYdToEeD+hmJp3YhErGjISWl7po1NujT8AIgPySXr/LtwMm0h24mwNcT9s+KjIa0hxi48STdRamaznw="}]},"_npmUser":{"name":"lemonclown","email":"me.clown.lemon@gmail.com"},"directories":{},"maintainers":[{"name":"lemonclown","email":"me.clown.lemon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octotree-sidebar_0.0.20_1609468675955_0.5065982196259406"},"_hasShrinkwrap":false},"0.1.0":{"name":"@barusu-react/octotree-sidebar","version":"0.1.0","description":"render a directory tree like the chrome extension 'octotree'","author":{"name":"guanghechen","url":"https://github.com/guanghechen/"},"repository":{"type":"git","url":"git+https://github.com/guanghechen/barusu-react.git","directory":"packages/octotree-sidebar"},"homepage":"https://github.com/guanghechen/barusu-react/tree/master/packages/octotree-sidebar#readme","keywords":[],"main":"lib/cjs/index.js","module":"lib/esm/index.js","types":"lib/types/index.d.ts","source":"src/index.tsx","license":"MIT","engines":{"node":">= 14.15.0"},"scripts":{"start":"rollup -w -c ../../rollup.config.comp.js","build":"cross-env NODE_ENV=production rollup -c ../../rollup.config.comp.js","prebuild":"rimraf lib/","prepublishOnly":"cross-env ROLLUP_SHOULD_SOURCEMAP=false yarn build","test":"cross-env TS_NODE_FILES=true jest --config ../../jest.config.js --rootDir ."},"dependencies":{"@barusu-react/octotree":"^0.1.0"},"peerDependencies":{"@types/react":"^17.0.3","@types/react-router-dom":"^5.1.6","@types/styled-components":"^5.1.4","prop-types":"^15.7.2","react":"^17.0.1","react-router-dom":"^5.2.0","styled-components":"^5.2.1"},"browserslist":["last 2 versions","Firefox ESR","> 1%","ie >= 11"],"gitHead":"827d19f9852a33d8ee02a70e411ba630f4871b51","bugs":{"url":"https://github.com/guanghechen/barusu-react/issues"},"_id":"@barusu-react/octotree-sidebar@0.1.0","_nodeVersion":"14.15.0","_npmVersion":"lerna/4.0.0/node@v14.15.0+x64 (linux)","dist":{"integrity":"sha512-GAzDIbJHDjjJH7U7mvGXWwZM19ndH1VvfKxZ8NdKnit+APolagmo8NGnDu6Tdm6f6R4XNPEhcn3Sk2UzzDQJ4w==","shasum":"5f8560de3ae42129c3290276a599c2a019e6eff4","tarball":"https://registry.npmjs.org/@barusu-react/octotree-sidebar/-/octotree-sidebar-0.1.0.tgz","fileCount":10,"unpackedSize":34025,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgTCVjCRA9TVsSAnZWagAA0M8P/A87MFfXOUEiexsVe8qa\neBDaWY5gg9ErMyai9vfxxr3ZSsEMy5bXTzRCt0uajx+zdVt6w3H+wZeQnHFD\nuYUY4t/5lDP/gRU7Pm+XoqH+GoimXNhiKsjdbsPFQF9Ua/tKhmwCSSWTEZ7d\n26tuUFq/cRMPnNskm6mOnmAUSsYUfb+zZTuZFh4fh66VOjYspoDNDLYC9kLv\n8vk7CuMAPmiriJoDzzznPSVQ1XGwAbP5KpCJ+5YcSMPKCDHn6yqp1e62nfy+\ngVzvCPwHdMFW00piQJf8/Z5CWO4lmPkLo48XtAeZskrNhjgpnCl9WfDl3hyM\n/FXmx4QlT7XnAi2q6sNbITsbNM522+VNJLYRWZkoXVx+BuLPm8K+tw/xPbe4\nUk+CLUd7YJzUx0FW5X5ykX60F2ALSLrjLIH2+4+6qbBSMmjqprT5dfhMbo8g\nsn9Aresd4YdGzuqOaOTeztXKKlKs4y5B1luNiwzVn8cE1Vo9jZQJ792omfxc\nAqVcGEg9GIm+JexCdiacEkVcymW+MPZWw1f8GQOIYYJizYSUrCdwFK7oDr3W\nLVU6NhMx0BLa5vLjwQ+rqeDieWnsLBib5POfgKvu4im3xnQxBWUK/Gfk2wht\nzDbt0GURcIOk9ebXfbqOFwvN/AhPxE5mLXnqNt1FXiUJ4dfCovm+vvkWGTPc\noOw9\r\n=oiQM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDwmVbxPXUPT3QtWRj24g3A3AcydzqBlizaMr0dpTfiAIhAKDhfuZ2kgbyB55eg7dHl5768EXFqSCaeDojLEFSisbU"}]},"_npmUser":{"name":"lemonclown","email":"me.clown.lemon@gmail.com"},"directories":{},"maintainers":[{"name":"lemonclown","email":"me.clown.lemon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/octotree-sidebar_0.1.0_1615603043167_0.07601017360507178"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-22T10:41:09.989Z","0.0.17":"2020-11-22T10:41:10.490Z","modified":"2022-04-04T17:44:58.344Z","0.0.18":"2020-11-24T15:25:32.447Z","0.0.19":"2020-12-01T14:06:30.459Z","0.0.20":"2021-01-01T02:37:56.204Z","0.1.0":"2021-03-13T02:37:23.331Z"},"maintainers":[{"name":"lemonclown","email":"me.clown.lemon@gmail.com"}],"description":"render a directory tree like the chrome extension 'octotree'","homepage":"https://github.com/guanghechen/barusu-react/tree/master/packages/octotree-sidebar#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/guanghechen/barusu-react.git","directory":"packages/octotree-sidebar"},"author":{"name":"guanghechen","url":"https://github.com/guanghechen/"},"bugs":{"url":"https://github.com/guanghechen/barusu-react/issues"},"license":"MIT","readme":"<header>\n  <h1 align=\"center\">\n    <a href=\"https://github.com/guanghechen/barusu-react/tree/master/packages/octotree-sidebar#readme\">@barusu-react/octotree-sidebar</a>\n  </h1>\n  <div align=\"center\">\n    <a href=\"https://www.npmjs.com/package/@barusu-react/octotree-sidebar\">\n      <img\n        alt=\"Npm Version\"\n        src=\"https://img.shields.io/npm/v/@barusu-react/octotree-sidebar.svg\"\n      />\n    </a>\n    <a href=\"https://www.npmjs.com/package/@barusu-react/octotree-sidebar\">\n      <img\n        alt=\"Npm Download\"\n        src=\"https://img.shields.io/npm/dm/@barusu-react/octotree-sidebar.svg\"\n      />\n    </a>\n    <a href=\"https://www.npmjs.com/package/@barusu-react/octotree-sidebar\">\n      <img\n        alt=\"Npm License\"\n        src=\"https://img.shields.io/npm/l/@barusu-react/octotree-sidebar.svg\"\n      />\n    </a>\n    <a href=\"https://github.com/nodejs/node\">\n      <img\n        alt=\"Node.js Version\"\n        src=\"https://img.shields.io/node/v/@barusu-react/octotree-sidebar\"\n      />\n    </a>\n    <a href=\"https://github.com/facebook/react\">\n      <img\n        alt=\"React version\"\n        src=\"https://img.shields.io/npm/dependency-version/@barusu-react/octotree-sidebar/peer/react\"\n      />\n    </a>\n    <a href=\"https://github.com/facebook/jest\">\n      <img\n        alt=\"Tested with Jest\"\n        src=\"https://img.shields.io/badge/tested_with-jest-9c465e.svg\"\n      />\n    </a>\n    <a href=\"https://github.com/prettier/prettier\">\n      <img\n        alt=\"Code Style: prettier\"\n        src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\"\n      />\n    </a>\n  </div>\n</header>\n<br/>\n\n\nRender a simple directory tree similar to [octotree-sidebar][], but really more coarse.\n\nSee [sourcecodes in github][homepage] to for details.\n\n## Install\n\n* npm\n\n  ```bash\n  npm install --save @barusu-react/octotree-sidebar\n  ```\n\n* yarn\n\n  ```bash\n  yarn add @barusu-react/octotree-sidebar\n  ```\n\n## Usage\n\n  You should import the [octotree-sidebar.woff2][] font manually.\n\n  ```css\n  @font-face {\n    src: url('/font/octotree-sidebar.woff2') format('woff2');\n    font-family: 'octotree-sidebar';\n  }\n  ```\n\n  * Use in React project\n\n    - Pure\n\n      ```tsx\n      import React from 'react'\n      import { BrowserRouter as Router } from 'react-router-dom'\n      import { resolveOctotreeData } from '@barusu-react/octotree'\n      import OctotreeSidebar from '@barusu-react/octotree-sidebar'\n\n      const data = resolveOctotreeData([\n        {\n          title: 'hooks',\n          children: [\n            {\n              title: 'demo',\n              pathname: '/hooks/demo',\n              children: [{ title: '2', pathname: '/hooks/demo/2' }]\n            },\n            { title: 'ref', pathname: '/hooks/ref' }\n          ]\n        },\n        { title: 'context', pathname: '/context' },\n        { title: 'demo', pathname: '/demo' },\n      ])\n\n      const wrapper = (\n        <Router>\n          <OctotreeSidebar\n            nodes={ data }\n            defaultPined={ true }\n            defaultWidth={ 250 }\n            style={{ color: 'orange', fontSize: '16px' }}\n          />\n        </Router>\n      )\n      ```\n\n    - With theme\n\n      ```tsx\n      import React from 'react'\n      import { BrowserRouter as Router } from 'react-router-dom'\n      import { DefaultTheme, ThemeProvider } from 'styled-components'\n      import { resolveOctotreeData } from '@barusu-react/octotree'\n      import OctotreeSidebar from '@barusu-react/octotree-sidebar'\n\n      const data = resolveOctotreeData([\n        {\n          title: 'hooks',\n          children: [\n            {\n              title: 'demo',\n              pathname: '/hooks/demo',\n              children: [{ title: '2', pathname: '/hooks/demo/2' }]\n            },\n            { title: 'ref', pathname: '/hooks/ref' }\n          ]\n        },\n        { title: 'context', pathname: '/context' },\n        { title: 'demo', pathname: '/demo' },\n      ])\n\n      const theme: DefaultTheme = {\n        octotreeSidebar: {\n          borderRight: 'none',\n          headerBackground: 'red',\n          // mainBackground: '#fff',\n          toggleBackground: 'blue',\n          toggleBorderColor: 'green',\n        }\n      }\n\n      const wrapper = (\n        <ThemeProvider theme={ theme }>\n          <Router>\n            <OctotreeSidebar\n              nodes={ data }\n              defaultWidth={ 250 }\n              style={{ color: 'orange', fontSize: '16px' }}\n            />\n          </Router>\n        </ThemeProvider>\n      )\n      ```\n\n  * Props\n\n     Name           | Type                              | Required  | Default | Description\n    :--------------:|:---------------------------------:|:---------:|:-------:|:-------------\n     `ref`          | `React.RefObject<HTMLDivElement>` | `false`   | -       | Forwarded ref callback\n     `nodes`        | `OctotreeNodeData[]`              | `true`    | -       | Node data of octotree\n     `defaultPined` | `boolean`                         | `false`   | `false` | Initial sidebar pined state\n     `defaultWidth` | `number`                          | `false`   | `200`   | Initial sidebar width\n\n    OctotreeSidebarProps inherited all attributes of `HTMLDivElement` (`React.HTMLAttributes<HTMLDivElement>`)\n\n  * Theme\n\n     Prop Name          | Default\n    :------------------:|:--------------\n     borderRight        | `1px solid #dfe2e5`\n     headerBackground   | `#373e43`\n     mainBackground     | `#fff`\n     toggleBackground   | `#f2f5f7`\n     toggleBorderColor  | `#e0e4e7`\n\n    See [OctotreeTheme][] for details.\n\n\n\n[homepage]: https://github.com/guanghechen/barusu-react/tree/master/packages/octotree-sidebar#readme\n[octotree-sidebar]: https://github.com/ovity/octotree-sidebar.git\n[OctotreeTheme]: https://github.com/guanghechen/barusu-react/blob/master/packages/octotree-sidebar/src/theme.ts\n[octotree-sidebar.woff2]: https://github.com/ovity/octotree-sidebar/blob/c8819379c9cc60b3c2124440766906028891120d/libs/fonts/octicons.woff2\n","readmeFilename":"README.md"}