{"_id":"@anticore-contracts/tree-tab","_rev":"2-472ca5d3bdb617ac42b5202756a00a39","name":"@anticore-contracts/tree-tab","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@anticore-contracts/tree-tab","type":"module","version":"1.0.0","description":"An anticore contract to switch the tabs.","exports":{"./on.js":"./on.js","./when.js":"./when.js"},"author":{"name":"@anticore-contracts"},"license":"MIT","peerDependencies":{"anticore":">=4.6.2"},"devDependencies":{"eslint":"^7.32.0"},"scripts":{"lint":"eslint --report-unused-disable-directives ."},"repository":{"type":"git","url":"git+https://github.com/anticore-contracts/tree-tab.git"},"bugs":{"url":"https://github.com/anticore-contracts/tree-tab/issues"},"gitHead":"2fbb938f2d46c611824c5be09fc85607e41afce8","homepage":"https://github.com/anticore-contracts/tree-tab#readme","_id":"@anticore-contracts/tree-tab@1.0.0","_nodeVersion":"16.6.2","_npmVersion":"7.21.0","dist":{"integrity":"sha512-FKGsXhNFG+yEeWfkPLs3fmY1S5YhUes5dyMHz5M+zZVTGDhS7ls0m7ZgmhM7Pri2+ScjgkBLlD1G50A8SyU3nQ==","shasum":"72f789efd95de7c3a50e11c3bd9412afe2b8ef9a","tarball":"https://registry.npmjs.org/@anticore-contracts/tree-tab/-/tree-tab-1.0.0.tgz","fileCount":8,"unpackedSize":3666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh11mxCRA9TVsSAnZWagAA9koP/RKHGgN/NZOlrMfLrHig\nK9xLRNMWBwAhR4J9bgtbgidwcnvIQt1ACrhZNguuEbueUUjzWRqJXANGzYTH\nGab6f5gZAXHwfKhEwuF8DT5NSTXEIBxdjF8q5fH5ZIkyDy6lm2ifbWZfeFY3\nhT5hR6oaFz0dzQdSCM+VWPZnCD88oI3AkXLr8/Aez8/TnA27+KlTNu4mL0tv\nJb43PXGWxrl9fdZf5glNqkR0hJJzd7CZLFSdmvCQJRVo7865KQd+wzZcia+Z\nQ86Ld/OazXP033bT24o9IrkEV1IWIvEoVEPl6kUJelSihQVk/gz5UJpef8Hi\ne610qVUAKas6ZGWg8Sp9MD5VSXbWNMS414PJ4ofnkKme361cYh82D9vf0zDX\nrRvKxb4mBHUIKqKkHfX5qIqkvX6ADplzhxYu4O4VuR6ezFSLhR2aIS3Hu4uh\nbIo3ol/JCnCD2ePqRtUcvmRz/iGOSkaZ/w1EsMkbs1M/ks51e1jj5lKb4a57\nnvHn7WNWL/amhJw7dhB34DJuV87uv/7f8mbm2hqi6B62NOBGb1XnPLZ3zIk1\narubJIWMCmFIQjJ/PwgI9tAJPNr5hCCFcJTnFkEnyD57t9dpZcJnKJkZmyiw\nb8NXousRb0zQlmliCZN4C5VkEF/IGV2GNaDI7ExJfQZbVKCY6sR9ptJ/td2J\nSZnn\r\n=OseK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDH+GBNQyPQlnzNFoIb3if6NdZgeZaKTzNfTOhqMVjh1AiEA+g1feyrFfNg6j9a4tiEfqIrT+l7g0FFq2jIhcbQB3xY="}]},"_npmUser":{"name":"lcf.vs","email":"michael.rouges@gmail.com"},"directories":{},"maintainers":[{"name":"lcf.vs","email":"michael.rouges@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tree-tab_1.0.0_1632228375527_0.27329228054633825"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-21T12:46:15.460Z","1.0.0":"2021-09-21T12:46:15.689Z","modified":"2022-04-04T14:21:58.713Z"},"maintainers":[{"name":"lcf.vs","email":"michael.rouges@gmail.com"}],"description":"An anticore contract to switch the tabs.","homepage":"https://github.com/anticore-contracts/tree-tab#readme","repository":{"type":"git","url":"git+https://github.com/anticore-contracts/tree-tab.git"},"author":{"name":"@anticore-contracts"},"bugs":{"url":"https://github.com/anticore-contracts/tree-tab/issues"},"license":"MIT","readme":"# @anticore-contracts/tree-tab\n\nAn [anticore](https://github.com/Lcfvs/anticore) contract to switch the tabs.\n\n## Install\n\n`npm i @anticore-contracts/tree-tab`\n\n## Reminder\n\nThe tree contracts should be added lastly, to improve the performances.\n\n## Exports\n\n### on\n```js\nimport '@anticore-contracts/tree-tab/on.js'\n```\n\n### when\n```js\nimport '@anticore-contracts/tree-tab/when.js'\n```\n\n## Lifecycle\n\n* Matches `.anticore .tab`\n* Searches the related `a[role=\"tab\"][href]` for the response url providing that tab\n* Searches the closest ancestor containing the previous tab\n* Replaces the previous tab by the new one\n\n## License\n\n[MIT](./license.md)\n","readmeFilename":"readme.md"}