@fluid-topics/ft-skeleton 2.0.30 → 2.0.32

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.
@@ -1,29 +1,29 @@
1
- "use strict";(()=>{var x=Object.create;var g=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var W=Object.getPrototypeOf,S=Object.prototype.hasOwnProperty;var m=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var D=(e,r,i,c)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of C(r))!S.call(e,n)&&n!==i&&g(e,n,{get:()=>r[n],enumerable:!(c=w(r,n))||c.enumerable});return e};var l=(e,r,i)=>(i=e!=null?x(W(e)):{},D(r||!e||!e.__esModule?g(i,"default",{value:e,enumerable:!0}):i,e));var s=m((O,f)=>{f.exports=ftGlobals.wcUtils});var d=m((R,h)=>{h.exports=ftGlobals.lit});var y=l(s());var k=l(d()),u=l(s());var p=l(d()),o=l(s()),t={display:o.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:o.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:o.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:o.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:o.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:o.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:o.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusM,"Design system")},b=p.css`
1
+ "use strict";(()=>{var x=Object.create;var g=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var W=Object.getPrototypeOf,S=Object.prototype.hasOwnProperty;var m=(r,t)=>()=>{try{return t||r((t={exports:{}}).exports,t),t.exports}catch(a){throw t=0,a}};var D=(r,t,a,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of C(t))!S.call(r,n)&&n!==a&&g(r,n,{get:()=>t[n],enumerable:!(c=w(t,n))||c.enumerable});return r};var l=(r,t,a)=>(a=r!=null?x(W(r)):{},D(t||!r||!r.__esModule?g(a,"default",{value:r,enumerable:!0}):a,r));var s=m((O,f)=>{f.exports=ftGlobals.wcUtils});var d=m((R,h)=>{h.exports=ftGlobals.lit});var y=l(s());var k=l(d()),u=l(s());var p=l(d()),o=l(s()),e={display:o.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:o.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:o.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:o.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:o.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:o.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:o.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusM,"Design system")},b=p.css`
2
2
  :host {
3
- width: ${t.width};
4
- height: ${t.height};
5
- display: ${t.display};
3
+ width: ${e.width};
4
+ height: ${e.height};
5
+ display: ${e.display};
6
6
  overflow: hidden;
7
- border-radius: ${t.borderRadiusM};
7
+ border-radius: ${e.borderRadiusM};
8
8
  background: linear-gradient(
9
9
  90deg,
10
10
  transparent,
11
- ${t.glareColor} calc(0.45 * ${t.glareWidth}),
12
- ${t.glareColor} calc(0.55 * ${t.glareWidth}),
13
- transparent ${t.glareWidth}
14
- ), ${t.backgroundColor};
11
+ ${e.glareColor} calc(0.45 * ${e.glareWidth}),
12
+ ${e.glareColor} calc(0.55 * ${e.glareWidth}),
13
+ transparent ${e.glareWidth}
14
+ ), ${e.backgroundColor};
15
15
  background-repeat: repeat-y;
16
16
  background-size: 100vw 100vh;
17
17
  background-attachment: fixed;
18
- background-position: calc(${t.glareWidth} * -1) 0;
19
- animation: shine ${t.animationDuration} infinite;
18
+ background-position: calc(${e.glareWidth} * -1) 0;
19
+ animation: shine ${e.animationDuration} infinite;
20
20
  animation-timing-function: linear;
21
21
  }
22
22
 
23
23
  @keyframes shine {
24
24
  to {
25
- background-position: calc(100vw + ${t.glareWidth}) 0, calc(${t.glareWidth} * -1) 0;
25
+ background-position: calc(100vw + ${e.glareWidth}) 0, calc(${e.glareWidth} * -1) 0;
26
26
  }
27
27
  }
28
- `;var a=class extends u.FtLitElement{render(){return k.html`
29
- `}};a.elementDefinitions={};a.styles=b;var $={"ft-skeleton":a};(0,y.customElements)($);})();
28
+ `;var i=class extends u.FtLitElement{render(){return k.html`
29
+ `}};i.elementDefinitions={};i.styles=b;var $={"ft-skeleton":i};(0,y.customElements)($);})();