@pagelines/sdk 1.0.874 → 1.0.876

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/AgentWrap.js CHANGED
@@ -3535,7 +3535,7 @@ var Sr = ["aria-label"], Cr = { class: "px-4 pb-2 pt-4" }, wr = ["innerHTML"], T
3535
3535
  }
3536
3536
  return (t, n) => (F(), x("div", {
3537
3537
  "data-test": "chat-card",
3538
- class: "my-6 w-full max-w-[55ch] self-start overflow-hidden rounded-2xl",
3538
+ class: "my-6 w-full self-start overflow-hidden rounded-2xl",
3539
3539
  style: M({
3540
3540
  background: f.value,
3541
3541
  boxShadow: u.value
@@ -4514,7 +4514,7 @@ var Lr = [
4514
4514
  }) : [];
4515
4515
  });
4516
4516
  return (t, n) => (F(), x("div", {
4517
- class: "chat-msg-rich break-words text-[14px] leading-[1.55] @sm/chat:max-w-[55ch] @sm/chat:text-[15px] @sm/chat:leading-[1.5]",
4517
+ class: "chat-msg-rich break-words text-[14px] leading-[1.55] @sm/chat:text-[15px] @sm/chat:leading-[1.5]",
4518
4518
  onErrorCapture: onRichTextAssetError
4519
4519
  }, [(F(!0), x(h, null, R(c.value, (t) => (F(), x(h, { key: t.key }, [t.kind === "markdown" ? (F(), x("div", {
4520
4520
  key: 0,
@@ -5418,7 +5418,7 @@ var Ni = ["data-voice-state", "data-voice-activity"], Pi = ["src"], Fi = {
5418
5418
  }])
5419
5419
  }, [S("div", {
5420
5420
  "data-test": "messaging-message-body",
5421
- class: j(e.sender === "user" ? "max-w-[min(78%,30rem)]" : "w-full min-w-0")
5421
+ class: j(e.sender === "user" ? "min-w-0 ml-3 @sm/chat:ml-[2em]" : "w-full min-w-0 pr-3 @sm/chat:pr-[2em]")
5422
5422
  }, [blockAttachmentsForMessage(e).length ? (F(), x("div", {
5423
5423
  key: 0,
5424
5424
  class: j(["mb-1 space-y-1", e.sender === "user" ? "flex flex-col items-end" : ""])
@@ -5574,7 +5574,7 @@ var Ni = ["data-voice-state", "data-voice-activity"], Pi = ["src"], Fi = {
5574
5574
  class: j(["left-0 right-0 z-30 px-3 @lg/chat:px-8 pb-[max(env(safe-area-inset-bottom),1rem)]", [
5575
5575
  B.value.length === 0 || e.centered ? "relative shrink-0" : "absolute bottom-0",
5576
5576
  e.centered && B.value.length > 0 ? "pt-0 sm:pb-7" : "pt-3",
5577
- J.value ? e.centered ? "bg-transparent" : "bg-gradient-to-t from-theme-0/90 via-theme-0/55 to-transparent" : "bg-gradient-to-t from-black/90 via-black/60 to-transparent"
5577
+ J.value ? e.centered ? "bg-transparent" : "bg-theme-0" : "bg-gradient-to-t from-black/90 via-black/60 to-transparent"
5578
5578
  ]])
5579
5579
  }, [ie(t.$slots, "composer", {}, () => [Te.value ? (F(), x("div", {
5580
5580
  key: 0,
@@ -5725,7 +5725,7 @@ var Ni = ["data-voice-state", "data-voice-activity"], Pi = ["src"], Fi = {
5725
5725
  ], 64))], !0)], 10, wa)
5726
5726
  ], 2));
5727
5727
  }
5728
- }), [["__scopeId", "data-v-0122d7a1"]]), Ya = { class: "agent-wrap" }, Xa = {
5728
+ }), [["__scopeId", "data-v-7acea729"]]), Ya = { class: "agent-wrap" }, Xa = {
5729
5729
  key: 0,
5730
5730
  class: "flex items-center justify-center h-full"
5731
5731
  }, Za = {