@altimateai/ui-components 0.0.61 → 0.0.62

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/CoachForm.js CHANGED
@@ -31850,12 +31850,12 @@ const zF = (t) => typeof t.props.children == "string" ? t.props.children : "", U
31850
31850
  ),
31851
31851
  children: t
31852
31852
  }
31853
- ), tl = ({ content: t, id: e }) => {
31854
- const n = t.replace(/<think>/g, `
31853
+ ), tl = ({ content: t, id: e, components: n }) => {
31854
+ const r = t.replace(/<think>/g, `
31855
31855
  :::think
31856
31856
  `).replace(/<\/think>/g, `
31857
31857
  :::
31858
- `), r = F3();
31858
+ `), i = F3();
31859
31859
  return /* @__PURE__ */ k.jsx("div", { className: "al-prose dark:al-prose-invert al-max-w-none react-markdown", children: /* @__PURE__ */ k.jsx(
31860
31860
  nO,
31861
31861
  {
@@ -31863,74 +31863,75 @@ const zF = (t) => typeof t.props.children == "string" ? t.props.children : "", U
31863
31863
  rehypePlugins: [qP],
31864
31864
  className: "[&>*:not(:last-child)]:al-mb-4 [&>*:last-child]:al-mb-0",
31865
31865
  components: {
31866
- h1: ({ className: i, ...a }) => (
31866
+ h1: ({ className: a, ...s }) => (
31867
31867
  // eslint-disable-next-line jsx-a11y/heading-has-content
31868
- /* @__PURE__ */ k.jsx("h1", { className: ve(r.h1, i), ...a })
31868
+ /* @__PURE__ */ k.jsx("h1", { className: ve(i.h1, a), ...s })
31869
31869
  ),
31870
- h2: ({ className: i, ...a }) => (
31870
+ h2: ({ className: a, ...s }) => (
31871
31871
  // eslint-disable-next-line jsx-a11y/heading-has-content
31872
- /* @__PURE__ */ k.jsx("h2", { className: ve(r.h2, i), ...a })
31872
+ /* @__PURE__ */ k.jsx("h2", { className: ve(i.h2, a), ...s })
31873
31873
  ),
31874
- h3: ({ className: i, ...a }) => (
31874
+ h3: ({ className: a, ...s }) => (
31875
31875
  // eslint-disable-next-line jsx-a11y/heading-has-content
31876
- /* @__PURE__ */ k.jsx("h3", { className: ve(r.h3, i), ...a })
31876
+ /* @__PURE__ */ k.jsx("h3", { className: ve(i.h3, a), ...s })
31877
31877
  ),
31878
- h4: ({ className: i, ...a }) => (
31878
+ h4: ({ className: a, ...s }) => (
31879
31879
  // eslint-disable-next-line jsx-a11y/heading-has-content
31880
- /* @__PURE__ */ k.jsx("h4", { className: ve(r.h4, i), ...a })
31880
+ /* @__PURE__ */ k.jsx("h4", { className: ve(i.h4, a), ...s })
31881
31881
  ),
31882
- h5: ({ className: i, ...a }) => (
31882
+ h5: ({ className: a, ...s }) => (
31883
31883
  // eslint-disable-next-line jsx-a11y/heading-has-content
31884
- /* @__PURE__ */ k.jsx("h5", { className: ve(r.h5, i), ...a })
31884
+ /* @__PURE__ */ k.jsx("h5", { className: ve(i.h5, a), ...s })
31885
31885
  ),
31886
- h6: ({ className: i, ...a }) => (
31886
+ h6: ({ className: a, ...s }) => (
31887
31887
  // eslint-disable-next-line jsx-a11y/heading-has-content
31888
- /* @__PURE__ */ k.jsx("h6", { className: ve(r.h6, i), ...a })
31888
+ /* @__PURE__ */ k.jsx("h6", { className: ve(i.h6, a), ...s })
31889
31889
  ),
31890
- p: ({ className: i, ...a }) => /* @__PURE__ */ k.jsx("p", { className: ve(r.body, i), ...a }),
31891
- a: ({ className: i, ...a }) => (
31890
+ p: ({ className: a, ...s }) => /* @__PURE__ */ k.jsx("p", { className: ve(i.body, a), ...s }),
31891
+ a: ({ className: a, ...s }) => (
31892
31892
  // eslint-disable-next-line jsx-a11y/anchor-has-content
31893
- /* @__PURE__ */ k.jsx("a", { className: ve(r.link, i), ...a })
31893
+ /* @__PURE__ */ k.jsx("a", { className: ve(i.link, a), ...s })
31894
31894
  ),
31895
- ul: ({ className: i, ...a }) => /* @__PURE__ */ k.jsx("ul", { className: ve(r.list, i), ...a }),
31896
- ol: ({ className: i, ...a }) => /* @__PURE__ */ k.jsx("ol", { className: ve(r.orderedList, i), ...a }),
31897
- blockquote: ({ className: i, ...a }) => /* @__PURE__ */ k.jsx("blockquote", { className: ve(r.blockquote, i), ...a }),
31898
- pre: ({ node: i, className: a, children: s, ...o }) => {
31899
- var l;
31900
- if (s && typeof s == "object" && "props" in s && ((l = s.props) == null ? void 0 : l.className) === "language-plotly")
31895
+ ul: ({ className: a, ...s }) => /* @__PURE__ */ k.jsx("ul", { className: ve(i.list, a), ...s }),
31896
+ ol: ({ className: a, ...s }) => /* @__PURE__ */ k.jsx("ol", { className: ve(i.orderedList, a), ...s }),
31897
+ blockquote: ({ className: a, ...s }) => /* @__PURE__ */ k.jsx("blockquote", { className: ve(i.blockquote, a), ...s }),
31898
+ pre: ({ node: a, className: s, children: o, ...l }) => {
31899
+ var u;
31900
+ if (o && typeof o == "object" && "props" in o && ((u = o.props) == null ? void 0 : u.className) === "language-plotly")
31901
31901
  try {
31902
- const u = zF(s), c = JSON.parse(u);
31903
- return /* @__PURE__ */ k.jsx(gM, { jsonData: c });
31904
- } catch (u) {
31905
- console.error("Failed to parse Plotly JSON:", u);
31902
+ const c = zF(o), h = JSON.parse(c);
31903
+ return /* @__PURE__ */ k.jsx(gM, { jsonData: h });
31904
+ } catch (c) {
31905
+ console.error("Failed to parse Plotly JSON:", c);
31906
31906
  }
31907
- return /* @__PURE__ */ k.jsx("pre", { ...o, className: ve(r.code, a), children: s });
31907
+ return /* @__PURE__ */ k.jsx("pre", { ...l, className: ve(i.code, s), children: o });
31908
31908
  },
31909
31909
  // @ts-expect-error valid
31910
31910
  think: jF,
31911
- code({ className: i, children: a, node: s }) {
31912
- if (!(s == null ? void 0 : s.children[0].value).includes(`
31911
+ code({ className: a, children: s, node: o }) {
31912
+ if (!(o == null ? void 0 : o.children[0].value).includes(`
31913
31913
  `))
31914
- return /* @__PURE__ */ k.jsx("code", { className: "al-px-1.5 al-py-0.5 al-rounded-md al-bg-gray-100 dark:al-bg-gray-800 al-text-sm", children: a });
31915
- const u = /language-(\w+)/.exec(i || ""), c = u ? u[1] : "";
31916
- return c === "mermaid" ? /* @__PURE__ */ k.jsx(
31914
+ return /* @__PURE__ */ k.jsx("code", { className: "al-px-1.5 al-py-0.5 al-rounded-md al-bg-gray-100 dark:al-bg-gray-800 al-text-sm", children: s });
31915
+ const c = /language-(\w+)/.exec(a || ""), h = c ? c[1] : "";
31916
+ return h === "mermaid" ? /* @__PURE__ */ k.jsx(
31917
31917
  BL,
31918
31918
  {
31919
- content: String(a).replace(/\n$/, ""),
31919
+ content: String(s).replace(/\n$/, ""),
31920
31920
  id: e || crypto.randomUUID()
31921
31921
  }
31922
- ) : c === "tool_call" ? /* @__PURE__ */ k.jsx(WF, { children: a }) : /* @__PURE__ */ k.jsx("div", { className: "al-max-h-[300px] al-overflow-auto", children: /* @__PURE__ */ k.jsx(
31922
+ ) : h === "tool_call" ? /* @__PURE__ */ k.jsx(WF, { children: s }) : /* @__PURE__ */ k.jsx("div", { className: "al-max-h-[300px] al-overflow-auto", children: /* @__PURE__ */ k.jsx(
31923
31923
  nl,
31924
31924
  {
31925
- language: c,
31926
- code: String(a).replace(/\n$/, ""),
31925
+ language: h,
31926
+ code: String(s).replace(/\n$/, ""),
31927
31927
  theme: "dark",
31928
31928
  editorTheme: "tomorrow"
31929
31929
  }
31930
31930
  ) });
31931
- }
31931
+ },
31932
+ ...n
31932
31933
  },
31933
- children: n || ""
31934
+ children: r || ""
31934
31935
  }
31935
31936
  ) });
31936
31937
  };
@@ -36120,8 +36121,8 @@ const Ls = () => {
36120
36121
  enabled: !1
36121
36122
  });
36122
36123
  return Be(() => {
36123
- t && r();
36124
- }, [t]), !((i = n == null ? void 0 : n.questions) != null && i.length) || !(e != null && e.followupPath) || !t ? null : /* @__PURE__ */ k.jsx(Tt, { direction: "column", children: n.questions.map((a) => /* @__PURE__ */ k.jsx(M$, { text: a }, a)) });
36124
+ t && (e != null && e.followupPath) && r();
36125
+ }, [t, e == null ? void 0 : e.followupPath]), !((i = n == null ? void 0 : n.questions) != null && i.length) || !(e != null && e.followupPath) || !t ? null : /* @__PURE__ */ k.jsx(Tt, { direction: "column", children: n.questions.map((a) => /* @__PURE__ */ k.jsx(M$, { text: a }, a)) });
36125
36126
  }, m3 = ({ todos: t }) => {
36126
36127
  const e = (r) => {
36127
36128
  switch (r) {
package/dist/Stack.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { j as g, S as ys, d as xs } from "./index2.js";
2
2
  import * as l from "react";
3
- import ve, { forwardRef as H, useState as ws, createElement as ht, useLayoutEffect as Cs, useEffect as Es } from "react";
3
+ import ve, { forwardRef as H, useState as ws, createElement as Qe, useLayoutEffect as Cs, useEffect as Es } from "react";
4
4
  import * as qn from "react-dom";
5
5
  import Rs from "react-dom";
6
6
  function Zn(e) {
@@ -2941,13 +2941,13 @@ function fr(e) {
2941
2941
  const t = l.useContext(La);
2942
2942
  return e || t || "ltr";
2943
2943
  }
2944
- var bt = "rovingFocusGroup.onEntryFocus", Fa = { bubbles: !1, cancelable: !0 }, at = "RovingFocusGroup", [Dt, pr, $a] = Ia(at), [Wa, mr] = ae(
2945
- at,
2944
+ var bt = "rovingFocusGroup.onEntryFocus", Fa = { bubbles: !1, cancelable: !0 }, it = "RovingFocusGroup", [Dt, pr, $a] = Ia(it), [Wa, mr] = ae(
2945
+ it,
2946
2946
  [$a]
2947
- ), [Va, Ba] = Wa(at), gr = l.forwardRef(
2947
+ ), [Va, Ba] = Wa(it), gr = l.forwardRef(
2948
2948
  (e, t) => /* @__PURE__ */ g.jsx(Dt.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ g.jsx(Dt.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ g.jsx(za, { ...e, ref: t }) }) })
2949
2949
  );
2950
- gr.displayName = at;
2950
+ gr.displayName = it;
2951
2951
  var za = l.forwardRef((e, t) => {
2952
2952
  const {
2953
2953
  __scopeRovingFocusGroup: n,
@@ -3639,14 +3639,14 @@ function In(e, t) {
3639
3639
  function Ci(e) {
3640
3640
  return e.filter((t) => t.tagName !== "A");
3641
3641
  }
3642
- var Ei = "Portal", it = l.forwardRef((e, t) => {
3642
+ var Ei = "Portal", lt = l.forwardRef((e, t) => {
3643
3643
  var i;
3644
3644
  const { container: n, ...r } = e, [o, s] = l.useState(!1);
3645
3645
  be(() => s(!0), []);
3646
3646
  const a = n || o && ((i = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : i.body);
3647
3647
  return a ? Rs.createPortal(/* @__PURE__ */ g.jsx($.div, { ...r, ref: t }), a) : null;
3648
3648
  });
3649
- it.displayName = Ei;
3649
+ lt.displayName = Ei;
3650
3650
  var wt = 0;
3651
3651
  function Lr() {
3652
3652
  l.useEffect(() => {
@@ -3682,7 +3682,7 @@ function Ri(e, t, n) {
3682
3682
  (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
3683
3683
  return e.concat(s || Array.prototype.slice.call(t));
3684
3684
  }
3685
- var Qe = "right-scroll-bar-position", Je = "width-before-scroll-bar", Pi = "with-scroll-bars-hidden", Si = "--removed-body-scroll-bar-size";
3685
+ var Je = "right-scroll-bar-position", et = "width-before-scroll-bar", Pi = "with-scroll-bars-hidden", Si = "--removed-body-scroll-bar-size";
3686
3686
  function Ct(e, t) {
3687
3687
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
3688
3688
  }
@@ -3804,7 +3804,7 @@ function ji(e, t) {
3804
3804
  return e.useMedium(t), $r;
3805
3805
  }
3806
3806
  var Wr = Di(), Et = function() {
3807
- }, lt = l.forwardRef(function(e, t) {
3807
+ }, ct = l.forwardRef(function(e, t) {
3808
3808
  var n = l.useRef(null), r = l.useState({
3809
3809
  onScrollCapture: Et,
3810
3810
  onWheelCapture: Et,
@@ -3817,14 +3817,14 @@ var Wr = Di(), Et = function() {
3817
3817
  a ? l.cloneElement(l.Children.only(i), Q(Q({}, P), { ref: E })) : l.createElement(y, Q({}, P, { className: c, ref: E }), i)
3818
3818
  );
3819
3819
  });
3820
- lt.defaultProps = {
3820
+ ct.defaultProps = {
3821
3821
  enabled: !0,
3822
3822
  removeScrollBar: !0,
3823
3823
  inert: !1
3824
3824
  };
3825
- lt.classNames = {
3826
- fullWidth: Je,
3827
- zeroRight: Qe
3825
+ ct.classNames = {
3826
+ fullWidth: et,
3827
+ zeroRight: Je
3828
3828
  };
3829
3829
  var Ii = function() {
3830
3830
  if (typeof __webpack_nonce__ < "u")
@@ -3914,19 +3914,19 @@ var Fi = function() {
3914
3914
  ].filter(Boolean).join(""), `
3915
3915
  }
3916
3916
 
3917
- .`).concat(Qe, ` {
3917
+ .`).concat(Je, ` {
3918
3918
  right: `).concat(i, "px ").concat(r, `;
3919
3919
  }
3920
3920
 
3921
- .`).concat(Je, ` {
3921
+ .`).concat(et, ` {
3922
3922
  margin-right: `).concat(i, "px ").concat(r, `;
3923
3923
  }
3924
3924
 
3925
- .`).concat(Qe, " .").concat(Qe, ` {
3925
+ .`).concat(Je, " .").concat(Je, ` {
3926
3926
  right: 0 `).concat(r, `;
3927
3927
  }
3928
3928
 
3929
- .`).concat(Je, " .").concat(Je, ` {
3929
+ .`).concat(et, " .").concat(et, ` {
3930
3930
  margin-right: 0 `).concat(r, `;
3931
3931
  }
3932
3932
 
@@ -4125,9 +4125,9 @@ function ol(e) {
4125
4125
  }
4126
4126
  const sl = ji(Wr, rl);
4127
4127
  var Zt = l.forwardRef(function(e, t) {
4128
- return l.createElement(lt, Q({}, e, { ref: t, sideCar: sl }));
4128
+ return l.createElement(ct, Q({}, e, { ref: t, sideCar: sl }));
4129
4129
  });
4130
- Zt.classNames = lt.classNames;
4130
+ Zt.classNames = ct.classNames;
4131
4131
  var al = function(e) {
4132
4132
  if (typeof document > "u")
4133
4133
  return null;
@@ -4271,19 +4271,19 @@ var Jt = "DialogPortal", [ml, Qr] = Yr(Jt, {
4271
4271
  forceMount: void 0
4272
4272
  }), Jr = (e) => {
4273
4273
  const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, s = Z(Jt, t);
4274
- return /* @__PURE__ */ g.jsx(ml, { scope: t, forceMount: n, children: l.Children.map(r, (a) => /* @__PURE__ */ g.jsx(ee, { present: n || s.open, children: /* @__PURE__ */ g.jsx(it, { asChild: !0, container: o, children: a }) })) });
4274
+ return /* @__PURE__ */ g.jsx(ml, { scope: t, forceMount: n, children: l.Children.map(r, (a) => /* @__PURE__ */ g.jsx(ee, { present: n || s.open, children: /* @__PURE__ */ g.jsx(lt, { asChild: !0, container: o, children: a }) })) });
4275
4275
  };
4276
4276
  Jr.displayName = Jt;
4277
- var tt = "DialogOverlay", eo = l.forwardRef(
4277
+ var nt = "DialogOverlay", eo = l.forwardRef(
4278
4278
  (e, t) => {
4279
- const n = Qr(tt, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, s = Z(tt, e.__scopeDialog);
4279
+ const n = Qr(nt, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, s = Z(nt, e.__scopeDialog);
4280
4280
  return s.modal ? /* @__PURE__ */ g.jsx(ee, { present: r || s.open, children: /* @__PURE__ */ g.jsx(gl, { ...o, ref: t }) }) : null;
4281
4281
  }
4282
4282
  );
4283
- eo.displayName = tt;
4283
+ eo.displayName = nt;
4284
4284
  var gl = l.forwardRef(
4285
4285
  (e, t) => {
4286
- const { __scopeDialog: n, ...r } = e, o = Z(tt, n);
4286
+ const { __scopeDialog: n, ...r } = e, o = Z(nt, n);
4287
4287
  return (
4288
4288
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
4289
4289
  // ie. when `Overlay` and `Content` are siblings
@@ -4477,7 +4477,7 @@ var Rl = {
4477
4477
  */
4478
4478
  const td = (e, t, n, r) => {
4479
4479
  const o = H(
4480
- ({ color: s = "currentColor", size: a = 24, stroke: i = 2, title: c, className: u, children: d, ...f }, h) => ht(
4480
+ ({ color: s = "currentColor", size: a = 24, stroke: i = 2, title: c, className: u, children: d, ...f }, h) => Qe(
4481
4481
  "svg",
4482
4482
  {
4483
4483
  ref: h,
@@ -4494,8 +4494,8 @@ const td = (e, t, n, r) => {
4494
4494
  ...f
4495
4495
  },
4496
4496
  [
4497
- c && ht("title", { key: "svg-title" }, c),
4498
- ...r.map(([m, v]) => ht(m, v)),
4497
+ c && Qe("title", { key: "svg-title" }, c),
4498
+ ...r.map(([m, v]) => Qe(m, v)),
4499
4499
  ...Array.isArray(d) ? d : [d]
4500
4500
  ]
4501
4501
  )
@@ -4659,7 +4659,7 @@ const zl = H(
4659
4659
  ({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx("div", { ref: n, className: M("al-flex al-items-center al-p-6 al-pt-0", e), ...t })
4660
4660
  );
4661
4661
  zl.displayName = "CardFooter";
4662
- const Hl = ["top", "right", "bottom", "left"], fe = Math.min, K = Math.max, nt = Math.round, Ze = Math.floor, pe = (e) => ({
4662
+ const Hl = ["top", "right", "bottom", "left"], fe = Math.min, K = Math.max, rt = Math.round, Ze = Math.floor, pe = (e) => ({
4663
4663
  x: e,
4664
4664
  y: e
4665
4665
  }), Gl = {
@@ -4699,10 +4699,10 @@ function Kl(e, t, n) {
4699
4699
  n === void 0 && (n = !1);
4700
4700
  const r = Ie(e), o = on(e), s = rn(o);
4701
4701
  let a = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
4702
- return t.reference[s] > t.floating[s] && (a = rt(a)), [a, rt(a)];
4702
+ return t.reference[s] > t.floating[s] && (a = ot(a)), [a, ot(a)];
4703
4703
  }
4704
4704
  function Yl(e) {
4705
- const t = rt(e);
4705
+ const t = ot(e);
4706
4706
  return [Lt(e), t, Lt(t)];
4707
4707
  }
4708
4708
  function Lt(e) {
@@ -4726,7 +4726,7 @@ function ql(e, t, n, r) {
4726
4726
  let s = Xl(se(e), n === "start", r);
4727
4727
  return o && (s = s.map((a) => a + "-" + o), t && (s = s.concat(s.map(Lt)))), s;
4728
4728
  }
4729
- function rt(e) {
4729
+ function ot(e) {
4730
4730
  return e.replace(/left|right|bottom|top/g, (t) => Gl[t]);
4731
4731
  }
4732
4732
  function Zl(e) {
@@ -4746,7 +4746,7 @@ function bo(e) {
4746
4746
  left: e
4747
4747
  };
4748
4748
  }
4749
- function ot(e) {
4749
+ function st(e) {
4750
4750
  const {
4751
4751
  x: t,
4752
4752
  y: n,
@@ -4889,7 +4889,7 @@ async function $e(e, t) {
4889
4889
  elementContext: f = "floating",
4890
4890
  altBoundary: h = !1,
4891
4891
  padding: m = 0
4892
- } = oe(t, e), v = bo(m), b = i[h ? f === "floating" ? "reference" : "floating" : f], y = ot(await s.getClippingRect({
4892
+ } = oe(t, e), v = bo(m), b = i[h ? f === "floating" ? "reference" : "floating" : f], y = st(await s.getClippingRect({
4893
4893
  element: (n = await (s.isElement == null ? void 0 : s.isElement(b))) == null || n ? b : b.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(i.floating)),
4894
4894
  boundary: u,
4895
4895
  rootBoundary: d,
@@ -4905,7 +4905,7 @@ async function $e(e, t) {
4905
4905
  } : {
4906
4906
  x: 1,
4907
4907
  y: 1
4908
- }, E = ot(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
4908
+ }, E = st(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
4909
4909
  elements: i,
4910
4910
  rect: x,
4911
4911
  offsetParent: C,
@@ -4979,7 +4979,7 @@ const Jl = (e) => ({
4979
4979
  } = oe(e, t);
4980
4980
  if ((n = s.arrow) != null && n.alignmentOffset)
4981
4981
  return {};
4982
- const y = se(o), x = me(i), C = se(i) === i, w = await (c.isRTL == null ? void 0 : c.isRTL(u.floating)), E = h || (C || !p ? [rt(i)] : Yl(i)), P = v !== "none";
4982
+ const y = se(o), x = me(i), C = se(i) === i, w = await (c.isRTL == null ? void 0 : c.isRTL(u.floating)), E = h || (C || !p ? [ot(i)] : Yl(i)), P = v !== "none";
4983
4983
  !h && P && E.push(...ql(i, p, v, w));
4984
4984
  const R = [i, ...E], S = await $e(t, b), I = [];
4985
4985
  let D = ((r = s.flip) == null ? void 0 : r.overflows) || [];
@@ -5276,7 +5276,7 @@ const rc = function(e) {
5276
5276
  }
5277
5277
  };
5278
5278
  };
5279
- function ct() {
5279
+ function ut() {
5280
5280
  return typeof window < "u";
5281
5281
  }
5282
5282
  function Me(e) {
@@ -5291,16 +5291,16 @@ function te(e) {
5291
5291
  return (t = (yo(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
5292
5292
  }
5293
5293
  function yo(e) {
5294
- return ct() ? e instanceof Node || e instanceof Y(e).Node : !1;
5294
+ return ut() ? e instanceof Node || e instanceof Y(e).Node : !1;
5295
5295
  }
5296
5296
  function X(e) {
5297
- return ct() ? e instanceof Element || e instanceof Y(e).Element : !1;
5297
+ return ut() ? e instanceof Element || e instanceof Y(e).Element : !1;
5298
5298
  }
5299
5299
  function J(e) {
5300
- return ct() ? e instanceof HTMLElement || e instanceof Y(e).HTMLElement : !1;
5300
+ return ut() ? e instanceof HTMLElement || e instanceof Y(e).HTMLElement : !1;
5301
5301
  }
5302
5302
  function Gn(e) {
5303
- return !ct() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Y(e).ShadowRoot;
5303
+ return !ut() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Y(e).ShadowRoot;
5304
5304
  }
5305
5305
  function Be(e) {
5306
5306
  const {
@@ -5314,7 +5314,7 @@ function Be(e) {
5314
5314
  function ic(e) {
5315
5315
  return ["table", "td", "th"].includes(Me(e));
5316
5316
  }
5317
- function ut(e) {
5317
+ function dt(e) {
5318
5318
  return [":popover-open", ":modal"].some((t) => {
5319
5319
  try {
5320
5320
  return e.matches(t);
@@ -5332,7 +5332,7 @@ function lc(e) {
5332
5332
  for (; J(t) && !Ne(t); ) {
5333
5333
  if (sn(t))
5334
5334
  return t;
5335
- if (ut(t))
5335
+ if (dt(t))
5336
5336
  return null;
5337
5337
  t = ge(t);
5338
5338
  }
@@ -5347,7 +5347,7 @@ function Ne(e) {
5347
5347
  function q(e) {
5348
5348
  return Y(e).getComputedStyle(e);
5349
5349
  }
5350
- function dt(e) {
5350
+ function ft(e) {
5351
5351
  return X(e) ? {
5352
5352
  scrollLeft: e.scrollLeft,
5353
5353
  scrollTop: e.scrollTop
@@ -5388,7 +5388,7 @@ function Ft(e) {
5388
5388
  function wo(e) {
5389
5389
  const t = q(e);
5390
5390
  let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;
5391
- const o = J(e), s = o ? e.offsetWidth : n, a = o ? e.offsetHeight : r, i = nt(n) !== s || nt(r) !== a;
5391
+ const o = J(e), s = o ? e.offsetWidth : n, a = o ? e.offsetHeight : r, i = rt(n) !== s || rt(r) !== a;
5392
5392
  return i && (n = s, r = a), {
5393
5393
  width: n,
5394
5394
  height: r,
@@ -5407,7 +5407,7 @@ function Ae(e) {
5407
5407
  height: o,
5408
5408
  $: s
5409
5409
  } = wo(t);
5410
- let a = (s ? nt(n.width) : n.width) / r, i = (s ? nt(n.height) : n.height) / o;
5410
+ let a = (s ? rt(n.width) : n.width) / r, i = (s ? rt(n.height) : n.height) / o;
5411
5411
  return (!a || !Number.isFinite(a)) && (a = 1), (!i || !Number.isFinite(i)) && (i = 1), {
5412
5412
  x: a,
5413
5413
  y: i
@@ -5439,7 +5439,7 @@ function xe(e, t, n, r) {
5439
5439
  c *= b.x, u *= b.y, d *= b.x, f *= b.y, c += C, u += w, v = Y(p), p = Ft(v);
5440
5440
  }
5441
5441
  }
5442
- return ot({
5442
+ return st({
5443
5443
  width: d,
5444
5444
  height: f,
5445
5445
  x: c,
@@ -5453,7 +5453,7 @@ function dc(e) {
5453
5453
  offsetParent: r,
5454
5454
  strategy: o
5455
5455
  } = e;
5456
- const s = o === "fixed", a = te(r), i = t ? ut(t.floating) : !1;
5456
+ const s = o === "fixed", a = te(r), i = t ? dt(t.floating) : !1;
5457
5457
  if (r === a || i && s)
5458
5458
  return n;
5459
5459
  let c = {
@@ -5461,7 +5461,7 @@ function dc(e) {
5461
5461
  scrollTop: 0
5462
5462
  }, u = pe(1);
5463
5463
  const d = pe(0), f = J(r);
5464
- if ((f || !f && !s) && ((Me(r) !== "body" || Be(a)) && (c = dt(r)), J(r))) {
5464
+ if ((f || !f && !s) && ((Me(r) !== "body" || Be(a)) && (c = ft(r)), J(r))) {
5465
5465
  const h = xe(r);
5466
5466
  u = Ae(r), d.x = h.x + r.clientLeft, d.y = h.y + r.clientTop;
5467
5467
  }
@@ -5476,11 +5476,11 @@ function fc(e) {
5476
5476
  return Array.from(e.getClientRects());
5477
5477
  }
5478
5478
  function $t(e, t) {
5479
- const n = dt(e).scrollLeft;
5479
+ const n = ft(e).scrollLeft;
5480
5480
  return t ? t.left + n : xe(te(e)).left + n;
5481
5481
  }
5482
5482
  function pc(e) {
5483
- const t = te(e), n = dt(e), r = e.ownerDocument.body, o = K(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), s = K(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
5483
+ const t = te(e), n = ft(e), r = e.ownerDocument.body, o = K(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), s = K(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
5484
5484
  let a = -n.scrollLeft + $t(e);
5485
5485
  const i = -n.scrollTop;
5486
5486
  return q(r).direction === "rtl" && (a += K(t.clientWidth, r.clientWidth) - o), {
@@ -5530,7 +5530,7 @@ function Un(e, t, n) {
5530
5530
  y: t.y - o.y
5531
5531
  };
5532
5532
  }
5533
- return ot(r);
5533
+ return st(r);
5534
5534
  }
5535
5535
  function Eo(e, t) {
5536
5536
  const n = ge(e);
@@ -5556,7 +5556,7 @@ function vc(e) {
5556
5556
  rootBoundary: r,
5557
5557
  strategy: o
5558
5558
  } = e;
5559
- const a = [...n === "clippingAncestors" ? ut(t) ? [] : hc(t, this._c) : [].concat(n), r], i = a[0], c = a.reduce((u, d) => {
5559
+ const a = [...n === "clippingAncestors" ? dt(t) ? [] : hc(t, this._c) : [].concat(n), r], i = a[0], c = a.reduce((u, d) => {
5560
5560
  const f = Un(t, d, o);
5561
5561
  return u.top = K(f.top, u.top), u.right = fe(f.right, u.right), u.bottom = fe(f.bottom, u.bottom), u.left = K(f.left, u.left), u;
5562
5562
  }, Un(t, i, o));
@@ -5585,7 +5585,7 @@ function yc(e, t, n) {
5585
5585
  };
5586
5586
  const c = pe(0);
5587
5587
  if (r || !r && !s)
5588
- if ((Me(t) !== "body" || Be(o)) && (i = dt(t)), r) {
5588
+ if ((Me(t) !== "body" || Be(o)) && (i = ft(t)), r) {
5589
5589
  const m = xe(t, !0, s, t);
5590
5590
  c.x = m.x + t.clientLeft, c.y = m.y + t.clientTop;
5591
5591
  } else o && (c.x = $t(o));
@@ -5616,7 +5616,7 @@ function Kn(e, t) {
5616
5616
  }
5617
5617
  function Ro(e, t) {
5618
5618
  const n = Y(e);
5619
- if (ut(e))
5619
+ if (dt(e))
5620
5620
  return n;
5621
5621
  if (!J(e)) {
5622
5622
  let o = ge(e);
@@ -5754,8 +5754,8 @@ const Pc = rc, Sc = oc, Ac = ec, Nc = ac, Oc = tc, Yn = Jl, Tc = sc, kc = (e, t,
5754
5754
  platform: s
5755
5755
  });
5756
5756
  };
5757
- var et = typeof document < "u" ? Cs : Es;
5758
- function st(e, t) {
5757
+ var tt = typeof document < "u" ? Cs : Es;
5758
+ function at(e, t) {
5759
5759
  if (e === t)
5760
5760
  return !0;
5761
5761
  if (typeof e != typeof t)
@@ -5767,7 +5767,7 @@ function st(e, t) {
5767
5767
  if (Array.isArray(e)) {
5768
5768
  if (n = e.length, n !== t.length) return !1;
5769
5769
  for (r = n; r-- !== 0; )
5770
- if (!st(e[r], t[r]))
5770
+ if (!at(e[r], t[r]))
5771
5771
  return !1;
5772
5772
  return !0;
5773
5773
  }
@@ -5778,7 +5778,7 @@ function st(e, t) {
5778
5778
  return !1;
5779
5779
  for (r = n; r-- !== 0; ) {
5780
5780
  const s = o[r];
5781
- if (!(s === "_owner" && e.$$typeof) && !st(e[s], t[s]))
5781
+ if (!(s === "_owner" && e.$$typeof) && !at(e[s], t[s]))
5782
5782
  return !1;
5783
5783
  }
5784
5784
  return !0;
@@ -5794,7 +5794,7 @@ function Xn(e, t) {
5794
5794
  }
5795
5795
  function At(e) {
5796
5796
  const t = l.useRef(e);
5797
- return et(() => {
5797
+ return tt(() => {
5798
5798
  t.current = e;
5799
5799
  }), t;
5800
5800
  }
@@ -5820,7 +5820,7 @@ function Dc(e) {
5820
5820
  middlewareData: {},
5821
5821
  isPositioned: !1
5822
5822
  }), [h, m] = l.useState(r);
5823
- st(h, r) || m(r);
5823
+ at(h, r) || m(r);
5824
5824
  const [v, p] = l.useState(null), [b, y] = l.useState(null), x = l.useCallback((O) => {
5825
5825
  O !== P.current && (P.current = O, p(O));
5826
5826
  }, []), C = l.useCallback((O) => {
@@ -5842,21 +5842,21 @@ function Dc(e) {
5842
5842
  // setting it to `true` when `open === false` (must be specified).
5843
5843
  isPositioned: A.current !== !1
5844
5844
  };
5845
- j.current && !st(S.current, U) && (S.current = U, qn.flushSync(() => {
5845
+ j.current && !at(S.current, U) && (S.current = U, qn.flushSync(() => {
5846
5846
  f(U);
5847
5847
  }));
5848
5848
  });
5849
5849
  }, [h, t, n, F, A]);
5850
- et(() => {
5850
+ tt(() => {
5851
5851
  u === !1 && S.current.isPositioned && (S.current.isPositioned = !1, f((O) => ({
5852
5852
  ...O,
5853
5853
  isPositioned: !1
5854
5854
  })));
5855
5855
  }, [u]);
5856
5856
  const j = l.useRef(!1);
5857
- et(() => (j.current = !0, () => {
5857
+ tt(() => (j.current = !0, () => {
5858
5858
  j.current = !1;
5859
- }), []), et(() => {
5859
+ }), []), tt(() => {
5860
5860
  if (w && (P.current = w), E && (R.current = E), w && E) {
5861
5861
  if (D.current)
5862
5862
  return D.current(w, E, L);
@@ -5959,7 +5959,7 @@ var Vc = "Arrow", So = l.forwardRef((e, t) => {
5959
5959
  );
5960
5960
  });
5961
5961
  So.displayName = Vc;
5962
- var Bc = So, cn = "Popper", [Ao, ft] = ae(cn), [zc, No] = Ao(cn), Oo = (e) => {
5962
+ var Bc = So, cn = "Popper", [Ao, pt] = ae(cn), [zc, No] = Ao(cn), Oo = (e) => {
5963
5963
  const { __scopePopper: t, children: n } = e, [r, o] = l.useState(null);
5964
5964
  return /* @__PURE__ */ g.jsx(zc, { scope: t, anchor: r, onAnchorChange: o, children: n });
5965
5965
  };
@@ -6270,8 +6270,8 @@ function ou(e) {
6270
6270
  return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
6271
6271
  }
6272
6272
  var fn = "Popover", [Vo, sd] = ae(fn, [
6273
- ft
6274
- ]), ze = ft(), [su, he] = Vo(fn), Bo = (e) => {
6273
+ pt
6274
+ ]), ze = pt(), [su, he] = Vo(fn), Bo = (e) => {
6275
6275
  const {
6276
6276
  __scopePopover: t,
6277
6277
  children: n,
@@ -6332,7 +6332,7 @@ var pn = "PopoverPortal", [iu, lu] = Vo(pn, {
6332
6332
  forceMount: void 0
6333
6333
  }), Uo = (e) => {
6334
6334
  const { __scopePopover: t, forceMount: n, children: r, container: o } = e, s = he(pn, t);
6335
- return /* @__PURE__ */ g.jsx(iu, { scope: t, forceMount: n, children: /* @__PURE__ */ g.jsx(ee, { present: n || s.open, children: /* @__PURE__ */ g.jsx(it, { asChild: !0, container: o, children: r }) }) });
6335
+ return /* @__PURE__ */ g.jsx(iu, { scope: t, forceMount: n, children: /* @__PURE__ */ g.jsx(ee, { present: n || s.open, children: /* @__PURE__ */ g.jsx(lt, { asChild: !0, container: o, children: r }) }) });
6336
6336
  };
6337
6337
  Uo.displayName = pn;
6338
6338
  var Oe = "PopoverContent", Ko = l.forwardRef(
@@ -6620,9 +6620,9 @@ var Eu = "VisuallyHidden", Jo = l.forwardRef(
6620
6620
  )
6621
6621
  );
6622
6622
  Jo.displayName = Eu;
6623
- var Ru = Jo, [pt, ud] = ae("Tooltip", [
6624
- ft
6625
- ]), mt = ft(), es = "TooltipProvider", Pu = 700, Bt = "tooltip.open", [Su, mn] = pt(es), ts = (e) => {
6623
+ var Ru = Jo, [mt, ud] = ae("Tooltip", [
6624
+ pt
6625
+ ]), gt = pt(), es = "TooltipProvider", Pu = 700, Bt = "tooltip.open", [Su, mn] = mt(es), ts = (e) => {
6626
6626
  const {
6627
6627
  __scopeTooltip: t,
6628
6628
  delayDuration: n = Pu,
@@ -6658,7 +6658,7 @@ var Ru = Jo, [pt, ud] = ae("Tooltip", [
6658
6658
  );
6659
6659
  };
6660
6660
  ts.displayName = es;
6661
- var gt = "Tooltip", [Au, He] = pt(gt), ns = (e) => {
6661
+ var ht = "Tooltip", [Au, He] = mt(ht), ns = (e) => {
6662
6662
  const {
6663
6663
  __scopeTooltip: t,
6664
6664
  children: n,
@@ -6667,7 +6667,7 @@ var gt = "Tooltip", [Au, He] = pt(gt), ns = (e) => {
6667
6667
  onOpenChange: s,
6668
6668
  disableHoverableContent: a,
6669
6669
  delayDuration: i
6670
- } = e, c = mn(gt, e.__scopeTooltip), u = mt(t), [d, f] = l.useState(null), h = Pe(), m = l.useRef(0), v = a ?? c.disableHoverableContent, p = i ?? c.delayDuration, b = l.useRef(!1), [y = !1, x] = je({
6670
+ } = e, c = mn(ht, e.__scopeTooltip), u = gt(t), [d, f] = l.useState(null), h = Pe(), m = l.useRef(0), v = a ?? c.disableHoverableContent, p = i ?? c.delayDuration, b = l.useRef(!1), [y = !1, x] = je({
6671
6671
  prop: r,
6672
6672
  defaultProp: o,
6673
6673
  onChange: (R) => {
@@ -6706,10 +6706,10 @@ var gt = "Tooltip", [Au, He] = pt(gt), ns = (e) => {
6706
6706
  }
6707
6707
  ) });
6708
6708
  };
6709
- ns.displayName = gt;
6709
+ ns.displayName = ht;
6710
6710
  var zt = "TooltipTrigger", rs = l.forwardRef(
6711
6711
  (e, t) => {
6712
- const { __scopeTooltip: n, ...r } = e, o = He(zt, n), s = mn(zt, n), a = mt(n), i = l.useRef(null), c = B(t, i, o.onTriggerChange), u = l.useRef(!1), d = l.useRef(!1), f = l.useCallback(() => u.current = !1, []);
6712
+ const { __scopeTooltip: n, ...r } = e, o = He(zt, n), s = mn(zt, n), a = gt(n), i = l.useRef(null), c = B(t, i, o.onTriggerChange), u = l.useRef(!1), d = l.useRef(!1), f = l.useCallback(() => u.current = !1, []);
6713
6713
  return l.useEffect(() => () => document.removeEventListener("pointerup", f), [f]), /* @__PURE__ */ g.jsx(dn, { asChild: !0, ...a, children: /* @__PURE__ */ g.jsx(
6714
6714
  $.button,
6715
6715
  {
@@ -6736,11 +6736,11 @@ var zt = "TooltipTrigger", rs = l.forwardRef(
6736
6736
  }
6737
6737
  );
6738
6738
  rs.displayName = zt;
6739
- var gn = "TooltipPortal", [Nu, Ou] = pt(gn, {
6739
+ var gn = "TooltipPortal", [Nu, Ou] = mt(gn, {
6740
6740
  forceMount: void 0
6741
6741
  }), os = (e) => {
6742
6742
  const { __scopeTooltip: t, forceMount: n, children: r, container: o } = e, s = He(gn, t);
6743
- return /* @__PURE__ */ g.jsx(Nu, { scope: t, forceMount: n, children: /* @__PURE__ */ g.jsx(ee, { present: n || s.open, children: /* @__PURE__ */ g.jsx(it, { asChild: !0, container: o, children: r }) }) });
6743
+ return /* @__PURE__ */ g.jsx(Nu, { scope: t, forceMount: n, children: /* @__PURE__ */ g.jsx(ee, { present: n || s.open, children: /* @__PURE__ */ g.jsx(lt, { asChild: !0, container: o, children: r }) }) });
6744
6744
  };
6745
6745
  os.displayName = gn;
6746
6746
  var Te = "TooltipContent", ss = l.forwardRef(
@@ -6774,7 +6774,7 @@ var Te = "TooltipContent", ss = l.forwardRef(
6774
6774
  return document.addEventListener("pointermove", v), () => document.removeEventListener("pointermove", v);
6775
6775
  }
6776
6776
  }, [c, d, a, u, h]), /* @__PURE__ */ g.jsx(as, { ...e, ref: s });
6777
- }), [ku, Du] = pt(gt, { isInside: !1 }), as = l.forwardRef(
6777
+ }), [ku, Du] = mt(ht, { isInside: !1 }), as = l.forwardRef(
6778
6778
  (e, t) => {
6779
6779
  const {
6780
6780
  __scopeTooltip: n,
@@ -6783,7 +6783,7 @@ var Te = "TooltipContent", ss = l.forwardRef(
6783
6783
  onEscapeKeyDown: s,
6784
6784
  onPointerDownOutside: a,
6785
6785
  ...i
6786
- } = e, c = He(Te, n), u = mt(n), { onClose: d } = c;
6786
+ } = e, c = He(Te, n), u = gt(n), { onClose: d } = c;
6787
6787
  return l.useEffect(() => (document.addEventListener(Bt, d), () => document.removeEventListener(Bt, d)), [d]), l.useEffect(() => {
6788
6788
  if (c.trigger) {
6789
6789
  const f = (h) => {
@@ -6829,7 +6829,7 @@ var Te = "TooltipContent", ss = l.forwardRef(
6829
6829
  ss.displayName = Te;
6830
6830
  var is = "TooltipArrow", ju = l.forwardRef(
6831
6831
  (e, t) => {
6832
- const { __scopeTooltip: n, ...r } = e, o = mt(n);
6832
+ const { __scopeTooltip: n, ...r } = e, o = gt(n);
6833
6833
  return Du(
6834
6834
  is,
6835
6835
  n
@@ -6959,9 +6959,10 @@ const fd = ({
6959
6959
  gap: a = "md",
6960
6960
  className: i,
6961
6961
  direction: c = "row",
6962
- ...u
6963
- }, d) {
6964
- const f = (m) => ({
6962
+ tag: u = "div",
6963
+ ...d
6964
+ }, f) {
6965
+ const h = (v) => ({
6965
6966
  none: "al-gap-0",
6966
6967
  xxs: "al-gap-0.5",
6967
6968
  // 2px
@@ -6989,7 +6990,7 @@ const fd = ({
6989
6990
  // 64px
6990
6991
  "8xl": "al-gap-20"
6991
6992
  // 80px
6992
- })[m], h = M(
6993
+ })[v], m = M(
6993
6994
  "al-flex",
6994
6995
  // Direction
6995
6996
  c === "column" ? "al-flex-col" : "al-flex-row",
@@ -7015,10 +7016,18 @@ const fd = ({
7015
7016
  // Flex
7016
7017
  s && `al-flex-[${s}]`,
7017
7018
  // Gap
7018
- f(a),
7019
+ h(a),
7019
7020
  i
7020
7021
  );
7021
- return /* @__PURE__ */ g.jsx("div", { ...u, className: h, ref: d, children: t });
7022
+ return Qe(
7023
+ u,
7024
+ {
7025
+ ...d,
7026
+ className: m,
7027
+ ref: f
7028
+ },
7029
+ t
7030
+ );
7022
7031
  });
7023
7032
  export {
7024
7033
  cd as $,
@@ -7032,7 +7041,7 @@ export {
7032
7041
  fr as H,
7033
7042
  ii as I,
7034
7043
  _o as J,
7035
- it as K,
7044
+ lt as K,
7036
7045
  Pe as L,
7037
7046
  nd as M,
7038
7047
  qc as N,
@@ -7092,7 +7101,7 @@ export {
7092
7101
  po as l,
7093
7102
  De as m,
7094
7103
  Ia as n,
7095
- ft as o,
7104
+ pt as o,
7096
7105
  mr as p,
7097
7106
  ee as q,
7098
7107
  Ur as r,
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as React$1 from 'react';
2
2
  import { HTMLAttributes, ButtonHTMLAttributes, ReactNode, FC, MouseEvent } from 'react';
3
3
  import { B as ButtonProps } from './Button-CVsSwe4f.js';
4
+ import { Components } from 'react-markdown';
4
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
6
  import { PlotParams } from 'react-plotly.js';
6
7
  import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-Bm5uFaKK.js';
@@ -47,7 +48,7 @@ interface Props$5 {
47
48
  declare const CodeBlockComponent: ({ code, language, fileName, editorTheme, theme, showLineNumbers, className, titleActions, }: Props$5) => JSX.Element;
48
49
 
49
50
  type SpacingSize = "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl";
50
- interface StackProps extends HTMLAttributes<HTMLDivElement> {
51
+ interface StackProps extends HTMLAttributes<HTMLElement> {
51
52
  children: ReactNode;
52
53
  wrap?: boolean;
53
54
  justify?: "start" | "end" | "center" | "between" | "around" | "evenly";
@@ -55,8 +56,9 @@ interface StackProps extends HTMLAttributes<HTMLDivElement> {
55
56
  flex?: string;
56
57
  gap?: SpacingSize;
57
58
  direction?: "row" | "column";
59
+ tag?: keyof JSX.IntrinsicElements;
58
60
  }
59
- declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
61
+ declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLElement>>;
60
62
 
61
63
  interface MermaidDiagramProps {
62
64
  content: string;
@@ -67,6 +69,7 @@ declare const MermaidDiagram: FC<MermaidDiagramProps>;
67
69
  interface MarkdownProps {
68
70
  content: string;
69
71
  id?: string;
72
+ components?: Components;
70
73
  }
71
74
  declare const Markdown: React.FC<MarkdownProps>;
72
75
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altimateai/ui-components",
3
- "version": "0.0.61",
3
+ "version": "0.0.62",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/AltimateAI/altimate-components.git"