ai-chatbot-widget 0.0.8 → 0.0.9
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.
- package/dist/chatbot-widget.es.js +6 -6
- package/dist/chatbot-widget.iife.js +37 -37
- package/dist/index.css +1 -1
- package/package.json +1 -1
|
@@ -10397,7 +10397,7 @@ const zg = [
|
|
|
10397
10397
|
headerLogoIcon: "text-white",
|
|
10398
10398
|
messageBot: "bg-gradient-to-r from-purple-500 to-pink-500 text-white",
|
|
10399
10399
|
messageUser: "bg-black/80 text-white",
|
|
10400
|
-
input: "
|
|
10400
|
+
input: "placeholder-slate-400",
|
|
10401
10401
|
sendButton: "text-purple-500",
|
|
10402
10402
|
prompt: "bg-gradient-to-br from-black/80 to-black/90 text-white"
|
|
10403
10403
|
}
|
|
@@ -12042,7 +12042,7 @@ function gy({ inputValue: c, setInputValue: u, handleSendMessage: s, handleKeyPr
|
|
|
12042
12042
|
onChange: (h) => u(h.target.value),
|
|
12043
12043
|
onKeyPress: r,
|
|
12044
12044
|
placeholder: "Type your message...",
|
|
12045
|
-
className: `flex-1
|
|
12045
|
+
className: `flex-1 ${cl(f, "input")} rounded-xl px-4 py-2 transition-all`
|
|
12046
12046
|
}
|
|
12047
12047
|
),
|
|
12048
12048
|
/* @__PURE__ */ J.jsx(
|
|
@@ -12060,10 +12060,10 @@ function yy({ setIsOpen: c, isOpen: u }) {
|
|
|
12060
12060
|
"button",
|
|
12061
12061
|
{
|
|
12062
12062
|
onClick: () => c(!u),
|
|
12063
|
-
className: `
|
|
12064
|
-
w-14 h-14
|
|
12065
|
-
rounded-full shadow-2xl
|
|
12066
|
-
transition-all duration-300 transform
|
|
12063
|
+
className: `chatbot-open-btn
|
|
12064
|
+
w-14 h-14
|
|
12065
|
+
rounded-full shadow-2xl items-center justify-center text-white
|
|
12066
|
+
transition-all duration-300 transform active:scale-90 cursor-pointer
|
|
12067
12067
|
${u ? "rotate-180" : "rotate-0"}
|
|
12068
12068
|
`,
|
|
12069
12069
|
style: {
|