tybotflow-widget 0.1.1 → 0.1.2

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/index.es.js CHANGED
@@ -48580,9 +48580,13 @@ const P0 = "https://api.tybotflow.com/api/v1", dW = "https://api.tybotflow.com/a
48580
48580
  ] }),
48581
48581
  e?.bot.description && /* @__PURE__ */ F.jsx("div", { className: "max-h-40 overflow-y-auto pr-1", style: { scrollbarWidth: "thin", scrollbarColor: `${h} transparent` }, children: /* @__PURE__ */ F.jsx("p", { className: "text-sm leading-relaxed whitespace-pre-line", style: { wordBreak: "break-word", color: w }, children: e?.bot.description }) }),
48582
48582
  /* @__PURE__ */ F.jsxs("div", { className: "grid grid-cols-2 gap-3 text-xs", style: { color: w }, children: [
48583
- e?.bot.phone_number && /* @__PURE__ */ F.jsxs("div", { className: "flex flex-col gap-0.5", children: [
48583
+ (e?.bot.phone_number || e?.bot?.botId === "arts-clinique") && /* @__PURE__ */ F.jsxs("div", { className: "flex flex-col gap-0.5", children: [
48584
48584
  /* @__PURE__ */ F.jsx("span", { className: "uppercase tracking-wide font-bold", style: { color: w }, children: "Phone number" }),
48585
- /* @__PURE__ */ F.jsx("span", { className: "font-medium break-all", children: selectedBot.botId === "arts-clinique" ? "0522258484" : e?.bot?.phone_number })
48585
+ /* @__PURE__ */ F.jsx("span", { className: "font-medium break-all", children: e?.bot?.botId === "arts-clinique" ? /* @__PURE__ */ F.jsxs("span", { children: [
48586
+ "+212 662-300307",
48587
+ /* @__PURE__ */ F.jsx("br", {}),
48588
+ "+212 5222-58484"
48589
+ ] }) : e?.bot?.phone_number })
48586
48590
  ] }),
48587
48591
  e?.bot.personality && /* @__PURE__ */ F.jsxs("div", { className: "flex flex-col gap-0.5", children: [
48588
48592
  /* @__PURE__ */ F.jsx("span", { className: "uppercase tracking-wide font-bold", style: { color: w }, children: "Personality" }),