@fluid-topics/ft-skeleton 1.1.70 → 1.1.71

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