Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@myuw-web-components/myuw-app-styles

Package Overview
Dependencies
Maintainers
8
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@myuw-web-components/myuw-app-styles - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

2

dist/myuw-app-styles.js

@@ -19,3 +19,3 @@ (function () {

var defaultAppThemeTpl = "<style> :root {\n /* Main MyUW Theme Variables */\n\n --myuw-primary-bg: #c5050c;\n --myuw-primary-color: #fff;\n\n --myuw-accent-bg: #0479a8;\n --myuw-accent-color: #fff;\n\n --myuw-page-bg: #f7f7f7;\n --myuw-page-color: #494949;\n\n --myuw-dark: #646569;\n --myuw-darker: #282728;\n\n --myuw-font: 'Roboto', Arial, sans-serif;\n --myuw-app-bar-font: 'Verlag', 'Helvetica Neue', Helvetica, Arial, sans-serif;\n\n --myuw-link-color: #0479a8;\n\n --myuw-search-border: none;\n\n --myuw-bar-button-bg: transparent;\n --myuw-bar-button-hover: rgba(0,0,0,0.12);\n\n /* Profile/navigation menu item color */\n --myuw-menu-color: rgba(0,0,0,0.87);\n}\n\n/* Duplicate :host styles for search to allow polyfills to work */\nmyuw-search {\n display: flex;\n flex: auto;\n border: var(--myuw-search-border, none);\n border-radius: 5px;\n}\n\n/* White theme variables */\nbody.uw-madison-white-theme {\n --myuw-primary-bg: #fff;\n --myuw-primary-color: #c5050c;\n\n --myuw-accent-bg: #fff;\n --myuw-accent-color: #0479a8;\n\n --myuw-search-border: 1px solid rgba(0,0,0,0.5);\n\n --myuw-bar-button-bg: #fb686d;\n}\n\n@media (max-width: 600px) {\n body.uw-madison-white-theme myuw-search {\n border: none;\n }\n} </style> ";
var defaultAppThemeTpl = "<style> :root {\n /* Main MyUW Theme Variables */\n\n --myuw-primary-bg: #c5050c;\n --myuw-primary-color: #fff;\n\n --myuw-accent-bg: #0479a8;\n --myuw-accent-color: #fff;\n\n --myuw-page-bg: #f7f7f7;\n --myuw-page-color: #494949;\n\n --myuw-dark: #646569;\n --myuw-darker: #282728;\n\n --myuw-font: 'Roboto', Arial, sans-serif;\n --myuw-app-bar-font: 'Roboto', Arial, sans-serif;\n\n --myuw-link-color: #0479a8;\n\n --myuw-search-border: none;\n\n --myuw-bar-button-bg: transparent;\n --myuw-bar-button-hover: rgba(0,0,0,0.12);\n\n /* Profile/navigation menu item color */\n --myuw-menu-color: rgba(0,0,0,0.87);\n}\n\n/* Duplicate :host styles for search to allow polyfills to work */\nmyuw-search {\n display: flex;\n flex: auto;\n border: var(--myuw-search-border, none);\n border-radius: 5px;\n}\n\n/* White theme variables */\nbody.uw-madison-white-theme {\n --myuw-primary-bg: #fff;\n --myuw-primary-color: #c5050c;\n\n --myuw-accent-bg: #fff;\n --myuw-accent-color: #0479a8;\n\n --myuw-search-border: 1px solid rgba(0,0,0,0.5);\n\n --myuw-bar-button-bg: #fb686d;\n}\n\n@media (max-width: 600px) {\n body.uw-madison-white-theme myuw-search {\n border: none;\n }\n} </style> ";

@@ -22,0 +22,0 @@ var fontsTpl = "<link href=\"https://fonts.googleapis.com/css?family=Roboto:400,500,700\" rel=\"stylesheet\"> <link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\"> ";

@@ -1,1 +0,1 @@

!(function(){"use strict";var e,t=((function(e){!(function(){function t(e,t){document.addEventListener?e.addEventListener("scroll",t,!1):e.attachEvent("scroll",t)}function n(e){this.a=document.createElement("div"),this.a.setAttribute("aria-hidden","true"),this.a.appendChild(document.createTextNode(e)),this.b=document.createElement("span"),this.c=document.createElement("span"),this.h=document.createElement("span"),this.f=document.createElement("span"),this.g=-1,this.b.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.c.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.f.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.h.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.b.appendChild(this.h),this.c.appendChild(this.f),this.a.appendChild(this.b),this.a.appendChild(this.c)}function o(e,t){e.a.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+t+";"}function i(e){var t=e.a.offsetWidth,n=t+100;return e.f.style.width=n+"px",e.c.scrollLeft=n,e.b.scrollLeft=e.b.scrollWidth+100,e.g!==t&&(e.g=t,!0)}function a(e,n){function o(){var e=a;i(e)&&e.a.parentNode&&n(e.g)}var a=e;t(e.b,o),t(e.c,o),i(e)}function r(e,t){var n=t||{};this.family=e,this.style=n.style||"normal",this.weight=n.weight||"normal",this.stretch=n.stretch||"normal"}var s=null,c=null,l=null,d=null;function u(){return null===d&&(d=!!document.fonts),d}function m(e,t){return[e.style,e.weight,(function(){if(null===l){var e=document.createElement("div");try{e.style.font="condensed 100px sans-serif"}catch(e){}l=""!==e.style.font}return l})()?e.stretch:"","100px",t].join(" ")}r.prototype.load=function(e,t){var i=this,r=e||"BESbswy",l=0,d=t||3e3,h=(new Date).getTime();return new Promise(function(e,t){if(u()&&!(function(){if(null===c)if(u()&&/Apple/.test(window.navigator.vendor)){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent);c=!!e&&603>parseInt(e[1],10)}else c=!1;return c})()){var f=new Promise(function(e,t){!(function n(){(new Date).getTime()-h>=d?t(Error(d+"ms timeout exceeded")):document.fonts.load(m(i,'"'+i.family+'"'),r).then(function(t){1<=t.length?e():setTimeout(n,25)},t)})()}),p=new Promise(function(e,t){l=setTimeout(function(){t(Error(d+"ms timeout exceeded"))},d)});Promise.race([p,f]).then(function(){clearTimeout(l),e(i)},t)}else!(function(e){document.body?e():document.addEventListener?document.addEventListener("DOMContentLoaded",function t(){document.removeEventListener("DOMContentLoaded",t),e()}):document.attachEvent("onreadystatechange",function t(){"interactive"!=document.readyState&&"complete"!=document.readyState||(document.detachEvent("onreadystatechange",t),e())})})(function(){function c(){var t;(t=-1!=y&&-1!=w||-1!=y&&-1!=b||-1!=w&&-1!=b)&&((t=y!=w&&y!=b&&w!=b)||(null===s&&(t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),s=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))),t=s&&(y==v&&w==v&&b==v||y==g&&w==g&&b==g||y==x&&w==x&&b==x)),t=!t),t&&(E.parentNode&&E.parentNode.removeChild(E),clearTimeout(l),e(i))}var u=new n(r),f=new n(r),p=new n(r),y=-1,w=-1,b=-1,v=-1,g=-1,x=-1,E=document.createElement("div");E.dir="ltr",o(u,m(i,"sans-serif")),o(f,m(i,"serif")),o(p,m(i,"monospace")),E.appendChild(u.a),E.appendChild(f.a),E.appendChild(p.a),document.body.appendChild(E),v=u.a.offsetWidth,g=f.a.offsetWidth,x=p.a.offsetWidth,(function e(){if((new Date).getTime()-h>=d)E.parentNode&&E.parentNode.removeChild(E),t(Error(d+"ms timeout exceeded"));else{var n=document.hidden;!0!==n&&void 0!==n||(y=u.a.offsetWidth,w=f.a.offsetWidth,b=p.a.offsetWidth,c()),l=setTimeout(e,50)}})(),a(u,function(e){y=e,c()}),o(u,m(i,'"'+i.family+'",sans-serif')),a(f,function(e){w=e,c()}),o(f,m(i,'"'+i.family+'",serif')),a(p,function(e){b=e,c()}),o(p,m(i,'"'+i.family+'",monospace'))})})},e.exports=r})()})(e={exports:{}},e.exports),e.exports),n=document.createElement("template");n.setAttribute("style","display: none;"),n.innerHTML='<link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700" rel="stylesheet"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> ';var o=document.createElement("template");o.innerHTML="<style> :root {\n /* Main MyUW Theme Variables */\n\n --myuw-primary-bg: #c5050c;\n --myuw-primary-color: #fff;\n\n --myuw-accent-bg: #0479a8;\n --myuw-accent-color: #fff;\n\n --myuw-page-bg: #f7f7f7;\n --myuw-page-color: #494949;\n\n --myuw-dark: #646569;\n --myuw-darker: #282728;\n\n --myuw-font: 'Roboto', Arial, sans-serif;\n --myuw-app-bar-font: 'Verlag', 'Helvetica Neue', Helvetica, Arial, sans-serif;\n\n --myuw-link-color: #0479a8;\n\n --myuw-search-border: none;\n\n --myuw-bar-button-bg: transparent;\n --myuw-bar-button-hover: rgba(0,0,0,0.12);\n\n /* Profile/navigation menu item color */\n --myuw-menu-color: rgba(0,0,0,0.87);\n}\n\n/* Duplicate :host styles for search to allow polyfills to work */\nmyuw-search {\n display: flex;\n flex: auto;\n border: var(--myuw-search-border, none);\n border-radius: 5px;\n}\n\n/* White theme variables */\nbody.uw-madison-white-theme {\n --myuw-primary-bg: #fff;\n --myuw-primary-color: #c5050c;\n\n --myuw-accent-bg: #fff;\n --myuw-accent-color: #0479a8;\n\n --myuw-search-border: 1px solid rgba(0,0,0,0.5);\n\n --myuw-bar-button-bg: #fb686d;\n}\n\n@media (max-width: 600px) {\n body.uw-madison-white-theme myuw-search {\n border: none;\n }\n} </style> ",document.head.appendChild(n.content),document.head.appendChild(o.content),new t("Roboto",{}).load().then(function(e){document.body.setAttribute("myuw-font-loaded",!0)}).catch(function(e){throw document.body.setAttribute("myuw-font-loaded",!0),new Error(e)})})();
!(function(){"use strict";var e,t=((function(e){!(function(){function t(e,t){document.addEventListener?e.addEventListener("scroll",t,!1):e.attachEvent("scroll",t)}function n(e){this.a=document.createElement("div"),this.a.setAttribute("aria-hidden","true"),this.a.appendChild(document.createTextNode(e)),this.b=document.createElement("span"),this.c=document.createElement("span"),this.h=document.createElement("span"),this.f=document.createElement("span"),this.g=-1,this.b.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.c.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.f.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.h.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.b.appendChild(this.h),this.c.appendChild(this.f),this.a.appendChild(this.b),this.a.appendChild(this.c)}function o(e,t){e.a.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+t+";"}function i(e){var t=e.a.offsetWidth,n=t+100;return e.f.style.width=n+"px",e.c.scrollLeft=n,e.b.scrollLeft=e.b.scrollWidth+100,e.g!==t&&(e.g=t,!0)}function a(e,n){function o(){var e=a;i(e)&&e.a.parentNode&&n(e.g)}var a=e;t(e.b,o),t(e.c,o),i(e)}function r(e,t){var n=t||{};this.family=e,this.style=n.style||"normal",this.weight=n.weight||"normal",this.stretch=n.stretch||"normal"}var s=null,d=null,c=null,l=null;function u(){return null===l&&(l=!!document.fonts),l}function m(e,t){return[e.style,e.weight,(function(){if(null===c){var e=document.createElement("div");try{e.style.font="condensed 100px sans-serif"}catch(e){}c=""!==e.style.font}return c})()?e.stretch:"","100px",t].join(" ")}r.prototype.load=function(e,t){var i=this,r=e||"BESbswy",c=0,l=t||3e3,h=(new Date).getTime();return new Promise(function(e,t){if(u()&&!(function(){if(null===d)if(u()&&/Apple/.test(window.navigator.vendor)){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent);d=!!e&&603>parseInt(e[1],10)}else d=!1;return d})()){var f=new Promise(function(e,t){!(function n(){(new Date).getTime()-h>=l?t(Error(l+"ms timeout exceeded")):document.fonts.load(m(i,'"'+i.family+'"'),r).then(function(t){1<=t.length?e():setTimeout(n,25)},t)})()}),p=new Promise(function(e,t){c=setTimeout(function(){t(Error(l+"ms timeout exceeded"))},l)});Promise.race([p,f]).then(function(){clearTimeout(c),e(i)},t)}else!(function(e){document.body?e():document.addEventListener?document.addEventListener("DOMContentLoaded",function t(){document.removeEventListener("DOMContentLoaded",t),e()}):document.attachEvent("onreadystatechange",function t(){"interactive"!=document.readyState&&"complete"!=document.readyState||(document.detachEvent("onreadystatechange",t),e())})})(function(){function d(){var t;(t=-1!=y&&-1!=w||-1!=y&&-1!=b||-1!=w&&-1!=b)&&((t=y!=w&&y!=b&&w!=b)||(null===s&&(t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),s=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))),t=s&&(y==g&&w==g&&b==g||y==v&&w==v&&b==v||y==x&&w==x&&b==x)),t=!t),t&&(E.parentNode&&E.parentNode.removeChild(E),clearTimeout(c),e(i))}var u=new n(r),f=new n(r),p=new n(r),y=-1,w=-1,b=-1,g=-1,v=-1,x=-1,E=document.createElement("div");E.dir="ltr",o(u,m(i,"sans-serif")),o(f,m(i,"serif")),o(p,m(i,"monospace")),E.appendChild(u.a),E.appendChild(f.a),E.appendChild(p.a),document.body.appendChild(E),g=u.a.offsetWidth,v=f.a.offsetWidth,x=p.a.offsetWidth,(function e(){if((new Date).getTime()-h>=l)E.parentNode&&E.parentNode.removeChild(E),t(Error(l+"ms timeout exceeded"));else{var n=document.hidden;!0!==n&&void 0!==n||(y=u.a.offsetWidth,w=f.a.offsetWidth,b=p.a.offsetWidth,d()),c=setTimeout(e,50)}})(),a(u,function(e){y=e,d()}),o(u,m(i,'"'+i.family+'",sans-serif')),a(f,function(e){w=e,d()}),o(f,m(i,'"'+i.family+'",serif')),a(p,function(e){b=e,d()}),o(p,m(i,'"'+i.family+'",monospace'))})})},e.exports=r})()})(e={exports:{}},e.exports),e.exports),n=document.createElement("template");n.setAttribute("style","display: none;"),n.innerHTML='<link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700" rel="stylesheet"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> ';var o=document.createElement("template");o.innerHTML="<style> :root {\n /* Main MyUW Theme Variables */\n\n --myuw-primary-bg: #c5050c;\n --myuw-primary-color: #fff;\n\n --myuw-accent-bg: #0479a8;\n --myuw-accent-color: #fff;\n\n --myuw-page-bg: #f7f7f7;\n --myuw-page-color: #494949;\n\n --myuw-dark: #646569;\n --myuw-darker: #282728;\n\n --myuw-font: 'Roboto', Arial, sans-serif;\n --myuw-app-bar-font: 'Roboto', Arial, sans-serif;\n\n --myuw-link-color: #0479a8;\n\n --myuw-search-border: none;\n\n --myuw-bar-button-bg: transparent;\n --myuw-bar-button-hover: rgba(0,0,0,0.12);\n\n /* Profile/navigation menu item color */\n --myuw-menu-color: rgba(0,0,0,0.87);\n}\n\n/* Duplicate :host styles for search to allow polyfills to work */\nmyuw-search {\n display: flex;\n flex: auto;\n border: var(--myuw-search-border, none);\n border-radius: 5px;\n}\n\n/* White theme variables */\nbody.uw-madison-white-theme {\n --myuw-primary-bg: #fff;\n --myuw-primary-color: #c5050c;\n\n --myuw-accent-bg: #fff;\n --myuw-accent-color: #0479a8;\n\n --myuw-search-border: 1px solid rgba(0,0,0,0.5);\n\n --myuw-bar-button-bg: #fb686d;\n}\n\n@media (max-width: 600px) {\n body.uw-madison-white-theme myuw-search {\n border: none;\n }\n} </style> ",document.head.appendChild(n.content),document.head.appendChild(o.content),new t("Roboto",{}).load().then(function(e){document.body.setAttribute("myuw-font-loaded",!0)}).catch(function(e){throw document.body.setAttribute("myuw-font-loaded",!0),new Error(e)})})();
{
"name": "@myuw-web-components/myuw-app-styles",
"version": "1.3.0",
"version": "1.3.1",
"description": "This HTML import contains custom CSS properties that are consumed by other components in the myuw-web-components space.",

@@ -5,0 +5,0 @@ "module": "dist/myuw-app-styles.min.mjs",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc