@altimateai/ui-components 0.0.38-beta.1 → 0.0.38-beta.3

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.
@@ -1 +1 @@
1
- ._loadingBtn_gadec_1 .spinner-border{width:1rem;height:1rem;margin-top:.15rem;border-width:2px}._citations_18435_1{background:#17b26a1a;color:#17b26a;padding:.5rem 1rem;border-radius:2rem;align-items:center}._citations_18435_1 ul{margin:0}._citations_18435_1 button,._citations_18435_1 a{text-decoration:none;border-radius:50%;background:#17b26a!important;border:none;padding:4px 5px;margin-top:-1px}._citations_18435_1 button:hover,._citations_18435_1 a:hover{background:#07a058!important}
1
+ ._loadingBtn_gadec_1 .spinner-border{width:1rem;height:1rem;margin-top:.15rem;border-width:2px}._citations_1olrc_1{background:#17b26a1a;color:#17b26a;padding:.5rem 1rem;border-radius:2rem;align-items:center}._citations_1olrc_1 ul{margin:0}._citations_1olrc_1 button,._citations_1olrc_1 a{text-decoration:none;border-radius:50%;border:none;padding:4px 5px;margin-top:-1px}
package/dist/CoachForm.js CHANGED
@@ -49489,20 +49489,28 @@ const Iu = () => {
49489
49489
  /* @__PURE__ */ B.jsx(T8, {}),
49490
49490
  "Coach Agent"
49491
49491
  ] }) }) : null;
49492
- }, iie = "_citations_18435_1", aie = {
49492
+ }, iie = "_citations_1olrc_1", aie = {
49493
49493
  citations: iie
49494
49494
  }, sie = ({
49495
49495
  citations: e,
49496
49496
  frontEndUrl: t
49497
49497
  }) => !(e != null && e.length) || !t ? null : /* @__PURE__ */ B.jsxs(Je, { className: aie.citations, children: [
49498
49498
  "Learnings applied:",
49499
- /* @__PURE__ */ B.jsx("ul", { style: { padding: 0, display: "flex", gap: 8, marginTop: -2 }, children: e.map((n, r) => /* @__PURE__ */ B.jsx("li", { style: { listStyle: "none" }, children: /* @__PURE__ */ B.jsx(Yy, { title: n.content, children: /* @__PURE__ */ B.jsx(
49500
- "a",
49499
+ /* @__PURE__ */ B.jsx("ul", { style: { padding: 0, display: "flex", gap: 8, marginTop: -2 }, children: e.map((n, r) => /* @__PURE__ */ B.jsx("li", { style: { listStyle: "none" }, children: /* @__PURE__ */ B.jsx(
49500
+ Yy,
49501
49501
  {
49502
- href: `${t}/teammates/${n.taskLabel}?learning=${n.id}`,
49503
- children: r + 1
49502
+ title: n.content,
49503
+ variant: "success",
49504
+ className: "al-bg-green-500 al-text-white",
49505
+ children: /* @__PURE__ */ B.jsx(
49506
+ "a",
49507
+ {
49508
+ href: `${t}/teammates/${n.taskLabel}?learning=${n.id}`,
49509
+ children: r + 1
49510
+ }
49511
+ )
49504
49512
  }
49505
- ) }) }, n.id)) })
49513
+ ) }, n.id)) })
49506
49514
  ] }), oie = ({ text: e }) => {
49507
49515
  const { sendMessage: t } = Iu();
49508
49516
  return /* @__PURE__ */ B.jsx(
@@ -50288,7 +50296,7 @@ const Iu = () => {
50288
50296
  "div",
50289
50297
  {
50290
50298
  ref: k,
50291
- className: Tn("al-flex-1 al-p-4", b == null ? void 0 : b.chatMessages),
50299
+ className: Tn("al-flex-1 al-p-4 al-overflow-y-auto", b == null ? void 0 : b.chatMessages),
50292
50300
  role: "region",
50293
50301
  "aria-label": "Chat messages",
50294
50302
  children: [
@@ -50312,7 +50320,7 @@ const Iu = () => {
50312
50320
  ]
50313
50321
  }
50314
50322
  ),
50315
- /* @__PURE__ */ B.jsx("div", { className: "al-border-t al-p-4 al-pb-0", role: "region", "aria-label": "Message input", children: /* @__PURE__ */ B.jsx(Je, { direction: "column", gap: "lg", children: /* @__PURE__ */ B.jsx(
50323
+ /* @__PURE__ */ B.jsx("div", { className: "al-p-4 al-pb-0", role: "region", "aria-label": "Message input", children: /* @__PURE__ */ B.jsx(Je, { direction: "column", gap: "lg", children: /* @__PURE__ */ B.jsx(
50316
50324
  mie,
50317
50325
  {
50318
50326
  onSubmit: L,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altimateai/ui-components",
3
- "version": "0.0.38-beta.1",
3
+ "version": "0.0.38-beta.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/AltimateAI/altimate-components.git"
@@ -52,4 +52,4 @@
52
52
  "react": "^17.0.0 || ^18.0.0",
53
53
  "react-dom": "^17.0.0 || ^18.0.0"
54
54
  }
55
- }
55
+ }