admesh-ui-sdk 1.0.47 → 1.0.48

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.mjs CHANGED
@@ -1920,7 +1920,7 @@ const fi = ({
1920
1920
  query: J,
1921
1921
  sessionId: e,
1922
1922
  messageId: Sn.createMessageId(e),
1923
- platformSurface: "embedded_assistant",
1923
+ platformSurface: "copilot",
1924
1924
  model: f,
1925
1925
  messages: [],
1926
1926
  language: l,
@@ -7645,7 +7645,9 @@ const Oi = {
7645
7645
  boxShadow: "none",
7646
7646
  border: "none",
7647
7647
  fontSize: x.role === "assistant" ? b : n ? "12px" : "13px",
7648
- lineHeight: x.role === "assistant" ? 1.62 : 1.4
7648
+ lineHeight: x.role === "assistant" ? 1.62 : 1.4,
7649
+ textAlign: "left",
7650
+ overflowWrap: "anywhere"
7649
7651
  },
7650
7652
  children: [
7651
7653
  x.role === "assistant" ? x.content.trim() ? /* @__PURE__ */ i(jn, { content: x.content, theme: { ...I, textColor: Ve }, fontSize: b }) : ye && x.id === nt.current ? pn({ includeSteps: !0 }) : null : /* @__PURE__ */ i("p", { style: { margin: 0, color: Ve }, children: x.content }),
@@ -8000,7 +8002,9 @@ const Oi = {
8000
8002
  style: {
8001
8003
  backgroundColor: n.role === "user" ? I.primaryColor : "#ffffff",
8002
8004
  color: n.role === "user" ? I.primaryTextColor || "#ffffff" : I.textColor,
8003
- fontSize: Se.sm
8005
+ fontSize: Se.sm,
8006
+ textAlign: "left",
8007
+ overflowWrap: "anywhere"
8004
8008
  },
8005
8009
  children: n.role === "assistant" ? n.content.trim() ? /* @__PURE__ */ E(dt, { children: [
8006
8010
  /* @__PURE__ */ i(jn, { content: n.content, theme: I, fontSize: Se.sm }),
@@ -8246,6 +8250,7 @@ const Oi = {
8246
8250
  {
8247
8251
  ref: b ? Mt : void 0,
8248
8252
  className: "mb-3",
8253
+ style: { textAlign: n.role === "user" ? "right" : "left" },
8249
8254
  children: [
8250
8255
  /* @__PURE__ */ i(
8251
8256
  "div",
@@ -8257,7 +8262,9 @@ const Oi = {
8257
8262
  border: "none",
8258
8263
  borderRadius: n.role === "user" ? q ? "14px" : "12px" : 0,
8259
8264
  padding: n.role === "user" ? q ? "12px 14px" : void 0 : "2px 6px 2px 2px",
8260
- boxShadow: "none"
8265
+ boxShadow: "none",
8266
+ textAlign: "left",
8267
+ overflowWrap: "anywhere"
8261
8268
  },
8262
8269
  children: n.role === "assistant" ? n.content.trim() ? /* @__PURE__ */ E(dt, { children: [
8263
8270
  /* @__PURE__ */ i("div", { style: { fontSize: `calc(${Se.sm} * 1.3)`, lineHeight: 1.65 }, children: /* @__PURE__ */ i(