@fluid-topics/ft-skeleton 1.4.4 → 2.0.0

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.
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import { customElement } from "@fluid-topics/ft-wc-utils";
2
+ import { FtSkeleton } from "./ft-skeleton";
3
+ customElement("ft-skeleton")(FtSkeleton);
@@ -1,4 +1,4 @@
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`
1
+ "use strict";(()=>{var y=Object.create;var g=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,W=Object.prototype.hasOwnProperty;var m=(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&&g(t,n,{get:()=>r[n],enumerable:!(c=x(r,n))||c.enumerable});return t};var l=(t,r,i)=>(i=t!=null?y(C(t)):{},S(r||!t||!t.__esModule?g(i,"default",{value:t,enumerable:!0}):i,t));var s=m((E,h)=>{h.exports=ftGlobals.wcUtils});var d=m((O,f)=>{f.exports=ftGlobals.lit});var $=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
3
  width: ${e.width};
4
4
  height: ${e.height};
@@ -26,4 +26,4 @@
26
26
  }
27
27
  }
28
28
  `;var a=class extends u.FtLitElement{render(){return k.html`
29
- `}};a.elementDefinitions={};a.styles=b;(0,x.customElement)("ft-skeleton")(a);})();
29
+ `}};a.elementDefinitions={};a.styles=b;(0,$.customElement)("ft-skeleton")(a);})();