Archived
Template
1
Fork 0
This repository has been archived on 2024-09-04. You can view files and clone it, but cannot push or open issues or pull requests.
Contour/public/@shoelace-style/shoelace/cdn/chunks/chunk.3AUCJVZG.js

47 lines
883 B
JavaScript
Raw Normal View History

2024-01-30 10:59:28 -05:00
import {
skeleton_styles_default
} from "./chunk.YRGXNOO7.js";
import {
e
} from "./chunk.UZVKBFXH.js";
import {
ShoelaceElement,
n
} from "./chunk.SEXBCYCU.js";
import {
x
} from "./chunk.CXZZ2LVK.js";
import {
__decorateClass
} from "./chunk.KIILAQWQ.js";
// src/components/skeleton/skeleton.component.ts
var SlSkeleton = class extends ShoelaceElement {
constructor() {
super(...arguments);
this.effect = "none";
}
render() {
return x`
<div
part="base"
class=${e({
skeleton: true,
"skeleton--pulse": this.effect === "pulse",
"skeleton--sheen": this.effect === "sheen"
})}
>
<div part="indicator" class="skeleton__indicator"></div>
</div>
`;
}
};
SlSkeleton.styles = skeleton_styles_default;
__decorateClass([
n()
], SlSkeleton.prototype, "effect", 2);
export {
SlSkeleton
};