@molin.ai/shop-ai 0.4.35 → 0.4.36
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.
|
@@ -256,11 +256,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
256
256
|
</div>
|
|
257
257
|
`])),e,r,this.background,this.currentState===Ae.Error?Os(Lu||(Lu=ki([' <div class="error">\u26A0\uFE0F</div> ']))):void 0,this.controls?this.renderControls():void 0)}};nt([Qg(".animation")],qe.prototype,"container",void 0),nt([st()],qe.prototype,"mode",void 0),nt([st({type:Boolean})],qe.prototype,"autoplay",void 0),nt([st({type:String})],qe.prototype,"background",void 0),nt([st({type:Boolean})],qe.prototype,"controls",void 0),nt([st({type:Number})],qe.prototype,"direction",void 0),nt([st({type:Boolean})],qe.prototype,"hover",void 0),nt([st({type:String})],qe.prototype,"loop",void 0),nt([st({type:String})],qe.prototype,"renderer",void 0),nt([st({type:Number})],qe.prototype,"speed",void 0),nt([st({type:String})],qe.prototype,"src",void 0),nt([st({type:String})],qe.prototype,"currentState",void 0),nt([st()],qe.prototype,"seeker",void 0),nt([st()],qe.prototype,"intermission",void 0),nt([st({type:String})],qe.prototype,"activeAnimationId",void 0),customElements.get(Bu)||Xg(Bu)(qe);var Tn=class extends Fe(ke){constructor(){super();de(this,"render",()=>ge`
|
|
258
258
|
<button class="leading-0 relative inline-block h-14 w-14 rounded-full shadow-xl">
|
|
259
|
-
<div class="
|
|
260
|
-
<div class="${this.dialogShown?"invisible opacity-0":"visible opacity-100"} absolute bottom-0 left-0 right-0 top-0
|
|
259
|
+
<div class="h-full w-full rounded-full bg-slate-800 text-sm text-white transition-transform hover:scale-105 active:scale-90">
|
|
260
|
+
<div class="${this.dialogShown?"invisible opacity-0":"visible opacity-100"} absolute bottom-0 left-0 right-0 top-0 transition-opacity">
|
|
261
261
|
${this.bubbleImageURL?ge`
|
|
262
|
-
<!--
|
|
263
|
-
<img class="h-full w-full rounded-full" src="${this.bubbleImageURL}" />
|
|
262
|
+
<!-- HACK: scale-[1.01] makes the image cover the rough edge/border caused by the slate background -->
|
|
263
|
+
<img class="h-full w-full scale-[1.01] rounded-full" src="${this.bubbleImageURL}" />
|
|
264
264
|
`:ge`
|
|
265
265
|
<!-- -->
|
|
266
266
|
<dotlottie-player autoplay loop mode="normal" src="https://assets5.lottiefiles.com/dotlotties/dlf10_hISLmVmo2x.lottie"></dotlottie-player>
|