@lambda-development/erp-core 0.2.0 → 0.2.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.js CHANGED
@@ -6241,7 +6241,7 @@ function Bs({ attachments: t }) {
6241
6241
  }
6242
6242
  function Ls({ message: t }) {
6243
6243
  return t.type === "user" ? /* @__PURE__ */ e("div", { className: "flex justify-end", children: /* @__PURE__ */ r("div", { className: "max-w-[80%] break-words rounded-2xl rounded-br-md bg-gradient-to-b from-brand to-brand/90 px-4 py-2.5 text-sm text-brand-fg ring-1 ring-black/10 shadow-bubble-user", children: [
6244
- t.content,
6244
+ /* @__PURE__ */ e("div", { className: "whitespace-pre-wrap", children: t.content }),
6245
6245
  /* @__PURE__ */ e(Bs, { attachments: t.attachments }),
6246
6246
  t.timestamp && /* @__PURE__ */ e("div", { className: "mt-1 text-right text-[10px] text-brand-fg/70", title: En(t.timestamp), children: Ln(t.timestamp) })
6247
6247
  ] }) }) : t.type === "assistant" ? /* @__PURE__ */ e("div", { className: "flex justify-start", children: /* @__PURE__ */ r("div", { className: "max-w-[80%] break-words rounded-2xl rounded-bl-md bg-surface px-4 py-2.5 text-sm text-fg ring-1 ring-line shadow-card", children: [
@@ -6316,8 +6316,8 @@ function Es({ content: t }) {
6316
6316
  a.push(
6317
6317
  /* @__PURE__ */ e("h3", { className: "mt-3 mb-1 text-base font-semibold", children: o.slice(3) }, l)
6318
6318
  );
6319
- else if (/^\s*[-*•]\s?/.test(o)) {
6320
- const c = o.replace(/^\s*[-*•]\s?/, "");
6319
+ else if (/^\s*[-*•]\s+/.test(o)) {
6320
+ const c = o.replace(/^\s*[-*•]\s+/, "");
6321
6321
  a.push(
6322
6322
  /* @__PURE__ */ r("div", { className: "ml-3 flex gap-1", children: [
6323
6323
  /* @__PURE__ */ e("span", { className: "text-fg-muted", children: "•" }),