@markbattistella/docsify-sidebarfooter 5.0.5 → 5.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,10 @@
1
1
 
2
+ ## 5.0.6 - Mon May 22 2023
3
+
4
+ ### Fixed
5
+
6
+ - Published to incorrect package manager
7
+
2
8
  ## 5.0.5 - Mon May 22 2023
3
9
 
4
10
  ### Fixed
@@ -1,2 +1,2 @@
1
- /*! docsify-sidebar 5.0.5 | (c) Mark Battistella */
1
+ /*! docsify-sidebar 5.0.6 | (c) Mark Battistella */
2
2
  "use strict";($docsify=$docsify||{}).plugins=[].concat(function(o,t){var e,s={name:"",url:"",copyYear:"",policy:!0,terms:!0,cookies:!0,customStyle:"body"};Object.assign(s,$docsify.autoFooter||{});if(!((e=s)&&e.constructor===Object&&0<Object.keys(e).length))throw new Error("Sidebar-footer configuration is invalid or empty. Please check the $docsify.autoFooter config.");s.copyYear||(s.copyYear=(new Date).getFullYear()),o.init(function(){var o,t,e;"boolean"!=typeof s.customStyle&&"string"!=typeof s.customStyle||"boolean"==typeof s.customStyle&&!0===s.customStyle||(o="#mb-footer { border-top: 1px solid; font-size: 0.8em; line-height: 1.5; transition: all var(--sidebar-transition-duration) ease-out; }",("boolean"==typeof s.customStyle&&!1===s.customStyle||"sidebar"===s.customStyle)&&(o+="#mb-footer { padding-top: 1.5rem; margin-top: 1.5rem; } #mb-footer .footer-text, #mb-footer .footer-text a { font-weight: bold; }"),"body"===s.customStyle&&(!$docsify.loadSidebar&&null!==$docsify.loadSidebar&&$docsify.hideSidebar||(o+="body #mb-footer { margin-left: var(--sidebar-width); } body.close #mb-footer { margin-left: 0; }"),o+="#mb-footer { padding: 1.5rem; } #mb-footer .footer-container { max-width: var(--content-max-width); margin: 0 auto; } #mb-footer .footer-container { display: grid; grid-template-columns: auto auto; } #mb-footer .footer-container a { margin-left: 2em; } #mb-footer .footer-link { text-align: right; }@media (max-width: 680px) { #mb-footer .footer-container { grid-template-columns: auto; }#mb-footer .footer-text, #mb-footer .footer-link { text-align: center; } } @media (max-width: 400px) { #mb-footer .footer-text, #mb-footer .footer-link { text-align: left; } #mb-footer span { display: block; } #mb-footer .footer-container a { margin: 0; } }"),t=document.querySelector("head"),e=document.createElement("style"),t.appendChild(e),e.appendChild(document.createTextNode(o)))}),o.doneEach(function(){var n,i,o,t,e,r,a,c,l=document.getElementById("mb-footer");l&&(t=(new Date).getFullYear(),n=window.location.origin+window.location.pathname+"#/",i=function(o){var t=document.createElement("a");return t.href=o,t.host!==window.location.host},c=function(o,t,e,r){var a="";return"boolean"!=typeof o&&"string"!=typeof o||("boolean"==typeof o&&o?a='<a href="'.concat(n+e,'">').concat(t,"</a>"):"string"==typeof o&&(a=(i(o)?'<a target="_blank" href="'.concat(o,'">'):'<a href="'.concat(n+o,'">')).concat(t,"</a>"))),a&&(e="".concat(r.toLowerCase().replace(/\s+/g,"-")),a='<span class="'.concat(e,'">').concat(a,"</span>")),a},o="</div>",t='<span class="footer-text-copyright">Copyright &copy; '.concat(s.copyYear&&s.copyYear<=t?"".concat(s.copyYear).concat(s.copyYear<t?"&#45;"+t:""):t,"</span>"),e=c(s.url,s.name,"","footer-text-author"),r=c(s.policy,"Policy","_policy","footer-links-policy"),a=c(s.terms,"Terms","_terms","footer-links-terms"),c=c(s.cookies,"Cookies","_cookies","footer-links-cookies"),l.innerHTML='<div class="footer-container"><div class="footer-text">'+t+e+o+'<div class="footer-link">'+r+a+c+o+o)})},$docsify.plugins||[]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markbattistella/docsify-sidebarfooter",
3
- "version": "5.0.5",
3
+ "version": "5.0.6",
4
4
  "description": "Add a footer notice for Docsify.js",
5
5
  "main": "./dist/docsify-sidebar.min.js",
6
6
  "repository": {