@molin.ai/shop-ai 0.6.39 → 0.6.40
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.
|
@@ -40,7 +40,7 @@ var ep=Object.defineProperty;var ha=n=>{throw TypeError(n)};var tp=(n,e,t)=>e in
|
|
|
40
40
|
${this.examples?.items?.length?D`
|
|
41
41
|
<ul class="mt-auto flex select-none flex-wrap justify-end gap-2.5 text-sm/6 text-black">
|
|
42
42
|
${ti(this.examples.items,t=>t,t=>D`
|
|
43
|
-
<li class="border-1 hover:bg-[${this.color}]/[0.08] border-gray my-auto inline-block cursor-pointer rounded-2xl px-4 py-2 transition-all duration-200 hover:-translate-y-0.5 hover:opacity-80 hover:shadow" @click="${()=>$(this,pr,Sl).call(this,t)}">
|
|
43
|
+
<li class="border-1 hover:bg-[${this.color}]/[0.08] border-gray my-auto inline-block cursor-pointer rounded-2xl px-4 py-2 text-left transition-all duration-200 hover:-translate-y-0.5 hover:opacity-80 hover:shadow" @click="${()=>$(this,pr,Sl).call(this,t)}">
|
|
44
44
|
<span>${t.trim()}</span>
|
|
45
45
|
</li>
|
|
46
46
|
`)}
|
|
@@ -228,7 +228,7 @@ var ep=Object.defineProperty;var ha=n=>{throw TypeError(n)};var tp=(n,e,t)=>e in
|
|
|
228
228
|
</div>
|
|
229
229
|
|
|
230
230
|
<mw-chat-background
|
|
231
|
-
class="max-w-sm flex-grow
|
|
231
|
+
class="mx-auto max-w-sm flex-grow"
|
|
232
232
|
.examples="${this.messages.length>0?[]:this.config.examples}"
|
|
233
233
|
color="${this.config.color}"
|
|
234
234
|
@mw:example-click="${$(this,se,zl)}"></mw-chat-background>
|