@tradeshift/elements.cover
Advanced tools
Comparing version 0.20.1 to 0.21.0
@@ -1,1 +0,1 @@ | ||
import{html as t,customElementDefineHelper as i,TSElement as e,unsafeCSS as n}from"@tradeshift/elements";function o(t,i){for(var e=0;e<i.length;e++){var n=i[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t,i){return(r=Object.setPrototypeOf||function(t,i){return t.__proto__=i,t})(t,i)}var s,a=function(i){var a,v,l,d,c;function p(){var t=i.call(this)||this;return t.visible=!1,t}return v=i,(a=p).prototype=Object.create(v.prototype),a.prototype.constructor=a,r(a,v),p.prototype.render=function(){return t(s||(i=['\n\t\t\t<div class="cover ','"></div>\n\t\t'],e||(e=i.slice(0)),i.raw=e,s=i),this.visible?"ts-fadeIn":"ts-fadeOut");var i,e},l=p,c=[{key:"styles",get:function(){return[e.styles,n(".cover{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden;visibility:hidden;background-color:#0f151a;background-color:var(--ts-color-black);z-index:10000;z-index:var(--ts-zindex-max)}.ts-fadeIn{visibility:visible;opacity:.8;transition:visibility .1s linear .1s,opacity .2s;transition:visibility var(--ts-transition-now) linear var(--ts-transition-now),opacity var(--ts-transition-fast)}.ts-fadeOut{visibility:hidden;opacity:0;transition:visibility .1s linear .2s,opacity .2s;transition:visibility var(--ts-transition-now) linear var(--ts-transition-fast),opacity var(--ts-transition-fast)}:host(.ts-aside-cover)>div{pointer-events:auto;z-index:1999;z-index:var(--ts-zindex-aside-cover)}:host(.ts-dialog-cover)>div{pointer-events:auto;z-index:2999;z-index:var(--ts-zindex-dialog-cover)}:host(.ts-spin-cover)>div{pointer-events:auto;z-index:3999;z-index:var(--ts-zindex-spin-cover)}:host(.ts-modal-cover)>div{pointer-events:auto;z-index:1499;z-index:var(--ts-zindex-modal-cover)}")]}},{key:"properties",get:function(){return{visible:{type:Boolean,attribute:"data-visible",reflect:!0}}}}],(d=null)&&o(l.prototype,d),c&&o(l,c),p}(e);i("ts-cover",a);export{a as TSCover}; | ||
import{html as t,customElementDefineHelper as i,TSElement as e,unsafeCSS as n}from"@tradeshift/elements";function o(t,i){for(var e=0;e<i.length;e++){var n=i[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t,i){return(r=Object.setPrototypeOf||function(t,i){return t.__proto__=i,t})(t,i)}var s,a=function(i){var a,v,l,d,c;function p(){var t=i.call(this)||this;return t.visible=!1,t}return v=i,(a=p).prototype=Object.create(v.prototype),a.prototype.constructor=a,r(a,v),p.prototype.render=function(){return t(s||(i=[' <div class="cover ','"></div> '],e||(e=i.slice(0)),i.raw=e,s=i),this.visible?"ts-fadeIn":"ts-fadeOut");var i,e},l=p,c=[{key:"styles",get:function(){return[e.styles,n(".cover{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden;visibility:hidden;background-color:#0f151a;background-color:var(--ts-color-black);z-index:10000;z-index:var(--ts-zindex-max)}.ts-fadeIn{visibility:visible;opacity:.8;transition:visibility .1s linear .1s,opacity .2s;transition:visibility var(--ts-transition-now) linear var(--ts-transition-now),opacity var(--ts-transition-fast)}.ts-fadeOut{visibility:hidden;opacity:0;transition:visibility .1s linear .2s,opacity .2s;transition:visibility var(--ts-transition-now) linear var(--ts-transition-fast),opacity var(--ts-transition-fast)}:host(.ts-aside-cover)>div{pointer-events:auto;z-index:1999;z-index:var(--ts-zindex-aside-cover)}:host(.ts-dialog-cover)>div{pointer-events:auto;z-index:2999;z-index:var(--ts-zindex-dialog-cover)}:host(.ts-spin-cover)>div{pointer-events:auto;z-index:3999;z-index:var(--ts-zindex-spin-cover)}:host(.ts-modal-cover)>div{pointer-events:auto;z-index:1499;z-index:var(--ts-zindex-modal-cover)}")]}},{key:"properties",get:function(){return{visible:{type:Boolean,attribute:"data-visible",reflect:!0}}}}],(d=null)&&o(l.prototype,d),c&&o(l,c),p}(e);i("ts-cover",a);export{a as TSCover}; |
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@tradeshift/elements")):"function"==typeof define&&define.amd?define(["exports","@tradeshift/elements"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self).ts=t.ts||{},t.ts.elements=t.ts.elements||{},t.ts.elements.cover=t.ts.elements.cover||{}),t.ts.elements)}(this,(function(t,e){"use strict";function i(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function n(t,e){return(n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var o,s=function(t){var s,r,a,l,v;function d(){var e=t.call(this)||this;return e.visible=!1,e}return r=t,(s=d).prototype=Object.create(r.prototype),s.prototype.constructor=s,n(s,r),d.prototype.render=function(){return e.html(o||(t=['\n\t\t\t<div class="cover ','"></div>\n\t\t'],i||(i=t.slice(0)),t.raw=i,o=t),this.visible?"ts-fadeIn":"ts-fadeOut");var t,i},a=d,v=[{key:"styles",get:function(){return[e.TSElement.styles,e.unsafeCSS(".cover{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden;visibility:hidden;background-color:#0f151a;background-color:var(--ts-color-black);z-index:10000;z-index:var(--ts-zindex-max)}.ts-fadeIn{visibility:visible;opacity:.8;transition:visibility .1s linear .1s,opacity .2s;transition:visibility var(--ts-transition-now) linear var(--ts-transition-now),opacity var(--ts-transition-fast)}.ts-fadeOut{visibility:hidden;opacity:0;transition:visibility .1s linear .2s,opacity .2s;transition:visibility var(--ts-transition-now) linear var(--ts-transition-fast),opacity var(--ts-transition-fast)}:host(.ts-aside-cover)>div{pointer-events:auto;z-index:1999;z-index:var(--ts-zindex-aside-cover)}:host(.ts-dialog-cover)>div{pointer-events:auto;z-index:2999;z-index:var(--ts-zindex-dialog-cover)}:host(.ts-spin-cover)>div{pointer-events:auto;z-index:3999;z-index:var(--ts-zindex-spin-cover)}:host(.ts-modal-cover)>div{pointer-events:auto;z-index:1499;z-index:var(--ts-zindex-modal-cover)}")]}},{key:"properties",get:function(){return{visible:{type:Boolean,attribute:"data-visible",reflect:!0}}}}],(l=null)&&i(a.prototype,l),v&&i(a,v),d}(e.TSElement);e.customElementDefineHelper("ts-cover",s),t.TSCover=s,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@tradeshift/elements")):"function"==typeof define&&define.amd?define(["exports","@tradeshift/elements"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).ts=e.ts||{},e.ts.elements=e.ts.elements||{},e.ts.elements.cover=e.ts.elements.cover||{}),e.ts.elements)}(this,(function(e,t){"use strict";function i(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var o,s=function(e){var s,r,a,l,v;function d(){var t=e.call(this)||this;return t.visible=!1,t}return r=e,(s=d).prototype=Object.create(r.prototype),s.prototype.constructor=s,n(s,r),d.prototype.render=function(){return t.html(o||(e=[' <div class="cover ','"></div> '],i||(i=e.slice(0)),e.raw=i,o=e),this.visible?"ts-fadeIn":"ts-fadeOut");var e,i},a=d,v=[{key:"styles",get:function(){return[t.TSElement.styles,t.unsafeCSS(".cover{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden;visibility:hidden;background-color:#0f151a;background-color:var(--ts-color-black);z-index:10000;z-index:var(--ts-zindex-max)}.ts-fadeIn{visibility:visible;opacity:.8;transition:visibility .1s linear .1s,opacity .2s;transition:visibility var(--ts-transition-now) linear var(--ts-transition-now),opacity var(--ts-transition-fast)}.ts-fadeOut{visibility:hidden;opacity:0;transition:visibility .1s linear .2s,opacity .2s;transition:visibility var(--ts-transition-now) linear var(--ts-transition-fast),opacity var(--ts-transition-fast)}:host(.ts-aside-cover)>div{pointer-events:auto;z-index:1999;z-index:var(--ts-zindex-aside-cover)}:host(.ts-dialog-cover)>div{pointer-events:auto;z-index:2999;z-index:var(--ts-zindex-dialog-cover)}:host(.ts-spin-cover)>div{pointer-events:auto;z-index:3999;z-index:var(--ts-zindex-spin-cover)}:host(.ts-modal-cover)>div{pointer-events:auto;z-index:1499;z-index:var(--ts-zindex-modal-cover)}")]}},{key:"properties",get:function(){return{visible:{type:Boolean,attribute:"data-visible",reflect:!0}}}}],(l=null)&&i(a.prototype,l),v&&i(a,v),d}(t.TSElement);t.customElementDefineHelper("ts-cover",s),e.TSCover=s,Object.defineProperty(e,"__esModule",{value:!0})})); |
{ | ||
"name": "@tradeshift/elements.cover", | ||
"version": "0.20.1", | ||
"version": "0.21.0", | ||
"repository": { | ||
@@ -18,6 +18,6 @@ "type": "git", | ||
"dependencies": { | ||
"@tradeshift/elements": "^0.20.1" | ||
"@tradeshift/elements": "^0.21.0" | ||
}, | ||
"src": "src/cover.js", | ||
"gitHead": "1afcbd3f095801151a1312274b8c777a181c2dc8" | ||
"gitHead": "e65c700d13b84dd3625fc58c9ac3cb4471fb32ea" | ||
} |
Sorry, the diff of this file is not supported yet
13892
+ Added@tradeshift/elements@0.21.0(transitive)
- Removed@tradeshift/elements@0.20.1(transitive)
Updated@tradeshift/elements@^0.21.0