@altimateai/ui-components 0.0.23-beta.3 → 0.0.23-beta.4

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.
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
4
4
 
5
5
  declare const buttonVariants: (props?: ({
6
6
  variant?: "link" | "default" | "destructive" | "outline" | "success" | "secondary" | "ghost" | null | undefined;
7
- size?: "sm" | "lg" | "default" | "icon" | null | undefined;
7
+ size?: "sm" | "lg" | "default" | "xs" | "icon" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
10
10
  asChild?: boolean;
package/dist/CoachForm.js CHANGED
@@ -1,9 +1,9 @@
1
- import { j as U, E as t8, D as n8, t as r8, u as i8, v as a8, i as s8, a as o8, R as l8, M as u8, w as c8, x as h8, A as d8, y as f8, C as $1, z as Ip, G as p8, J as m8, m as g8, K as y8 } from "./index2.js";
1
+ import { j as U, E as t8, D as n8, u as r8, v as i8, w as a8, e as s8, d as o8, R as l8, M as u8, x as c8, y as h8, A as d8, z as f8, C as $1, G as Ip, J as p8, K as m8, h as g8, L as y8 } from "./index2.js";
2
2
  import { useFormikContext as vy, Form as Ay, Field as X1, Formik as Sy, useFormik as b8 } from "formik";
3
- import { c as _8, p as Rt, Y as La, K as br, L as vf, U as wy, M as x8, Q as E8, W as T8, I as k8, $ as Ly, a4 as Iy, a5 as Ny, a7 as Dy, T as tc, _ as C8, n as v8, o as A8, q as S8, a8 as w8 } from "./Tooltip.js";
4
- import { c as Wn, g as ko, f as Np, r as L8, h as I8, j as Ry, k as Oy, R as My, l as By, m as N8, n as D8, o as K1, p as Dp, q as Rp, t as R8, v as I0, w as O8, s as Oe, C as Dh, u as ou, S as nt, A as Ci, I as M8, b as Py, a as B8 } from "./redux-toolkit.modern.js";
5
- import { aa as P8, ad as F8, ae as U8, af as H8, ah as z8, ai as V8, ag as j8, ak as Y8, aj as W8, ay as Al, aC as Sc, a7 as Af, al as Fy, a6 as q8, S as G8, v as $8, f as X8, x as K8, z as Q8, $ as Uy, a1 as Z8, a2 as J8, a3 as ek, a4 as tk, H as Hy, D as nk, E as rk, F as ik, C as ak, a as sk, b as ok, c as lk, d as Op, e as Mp, _ as uk } from "./Form.js";
3
+ import { c as _8, Q as Rt, $ as La, Z as nt, U as br, X as vf, ah as wy, N as x8, _ as E8, Y as T8, a5 as k8, H as Ly, J as Iy, am as Ny, ao as Dy, a1 as tc, a6 as C8, a2 as v8, a3 as A8, a4 as S8, ap as w8 } from "./Stack.js";
4
+ import { ad as L8, ag as I8, ah as N8, ai as D8, ak as R8, al as O8, aj as M8, an as B8, am as P8, F as Al, a as Sc, A as Af, N as Ry, aa as F8, S as U8, x as H8, g as z8, z as V8, E as j8, B as Oy, a5 as Y8, a6 as W8, a7 as q8, a8 as G8, O as My, J as $8, K as X8, M as K8, C as Q8, b as Z8, c as J8, d as ek, e as Np, f as Dp, a3 as tk } from "./Form.js";
6
5
  import { z as Mt } from "zod";
6
+ import { c as Wn, g as ko, S as Rp, r as nk, f as rk, h as By, j as Py, R as Fy, k as Uy, l as ik, m as ak, n as K1, o as Op, p as Mp, q as sk, t as I0, v as ok, s as Oe, C as Dh, u as ou, A as Ci, I as lk, b as Hy, a as uk } from "./redux-toolkit.modern.js";
7
7
  import N0, { forwardRef as ck, useRef as ol, useEffect as Br, useState as pn, createContext as hk, useContext as dk, useReducer as fk, useId as wc } from "react";
8
8
  import pk from "react-plotly.js";
9
9
  import './CoachForm.css';const zy = ck(
@@ -597,13 +597,13 @@ function Uk(e) {
597
597
  return Yy(J1, e);
598
598
  }
599
599
  function wf(e) {
600
- return typeof e == "string" ? new Np([document.querySelectorAll(e)], [document.documentElement]) : new Np([I8(e)], L8);
600
+ return typeof e == "string" ? new Rp([document.querySelectorAll(e)], [document.documentElement]) : new Rp([rk(e)], nk);
601
601
  }
602
602
  const Hk = Math.PI / 180, zk = 180 / Math.PI, Ic = 18, Wy = 0.96422, qy = 1, Gy = 0.82521, $y = 4 / 29, zs = 6 / 29, Xy = 3 * zs * zs, Vk = zs * zs * zs;
603
603
  function Ky(e) {
604
604
  if (e instanceof Ei) return new Ei(e.l, e.a, e.b, e.opacity);
605
605
  if (e instanceof Wi) return Qy(e);
606
- e instanceof My || (e = N8(e));
606
+ e instanceof Fy || (e = ik(e));
607
607
  var t = B0(e.r), n = B0(e.g), r = B0(e.b), i = R0((0.2225045 * t + 0.7168786 * n + 0.0606169 * r) / qy), a, s;
608
608
  return t === n && n === r ? a = s = i : (a = R0((0.4360747 * t + 0.3850649 * n + 0.1430804 * r) / Wy), s = R0((0.0139322 * t + 0.0971045 * n + 0.7141733 * r) / Gy)), new Ei(116 * i - 16, 500 * (a - i), 200 * (i - s), e.opacity);
609
609
  }
@@ -613,7 +613,7 @@ function jk(e, t, n, r) {
613
613
  function Ei(e, t, n, r) {
614
614
  this.l = +e, this.a = +t, this.b = +n, this.opacity = +r;
615
615
  }
616
- Ry(Ei, jk, Oy(By, {
616
+ By(Ei, jk, Py(Uy, {
617
617
  brighter(e) {
618
618
  return new Ei(this.l + Ic * (e ?? 1), this.a, this.b, this.opacity);
619
619
  },
@@ -622,7 +622,7 @@ Ry(Ei, jk, Oy(By, {
622
622
  },
623
623
  rgb() {
624
624
  var e = (this.l + 16) / 116, t = isNaN(this.a) ? e : e + this.a / 500, n = isNaN(this.b) ? e : e - this.b / 200;
625
- return t = Wy * O0(t), e = qy * O0(e), n = Gy * O0(n), new My(
625
+ return t = Wy * O0(t), e = qy * O0(e), n = Gy * O0(n), new Fy(
626
626
  M0(3.1338561 * t - 1.6168667 * e - 0.4906146 * n),
627
627
  M0(-0.9787684 * t + 1.9161415 * e + 0.033454 * n),
628
628
  M0(0.0719453 * t - 0.2289914 * e + 1.4052427 * n),
@@ -659,7 +659,7 @@ function Qy(e) {
659
659
  var t = e.h * Hk;
660
660
  return new Ei(e.l, Math.cos(t) * e.c, Math.sin(t) * e.c, e.opacity);
661
661
  }
662
- Ry(Wi, ed, Oy(By, {
662
+ By(Wi, ed, Py(Uy, {
663
663
  brighter(e) {
664
664
  return new Wi(this.h, this.c, this.l + Ic * (e ?? 1), this.opacity);
665
665
  },
@@ -708,7 +708,7 @@ function Xk(e, t) {
708
708
  }
709
709
  function Lf(e, t) {
710
710
  var n = typeof t, r;
711
- return t == null || n === "boolean" ? D8(t) : (n === "number" ? K1 : n === "string" ? (r = Dp(t)) ? (t = r, Rp) : R8 : t instanceof Dp ? Rp : t instanceof Date ? $k : qk(t) ? Wk : Array.isArray(t) ? Gk : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? Xk : K1)(e, t);
711
+ return t == null || n === "boolean" ? ak(t) : (n === "number" ? K1 : n === "string" ? (r = Op(t)) ? (t = r, Mp) : sk : t instanceof Op ? Mp : t instanceof Date ? $k : qk(t) ? Wk : Array.isArray(t) ? Gk : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? Xk : K1)(e, t);
712
712
  }
713
713
  function Kk(e, t) {
714
714
  return e = +e, t = +t, function(n) {
@@ -723,7 +723,7 @@ function Qk(e) {
723
723
  };
724
724
  };
725
725
  }
726
- const Zk = Qk(O8), td = Math.PI, nd = 2 * td, ja = 1e-6, Jk = nd - ja;
726
+ const Zk = Qk(ok), td = Math.PI, nd = 2 * td, ja = 1e-6, Jk = nd - ja;
727
727
  function Zy(e) {
728
728
  this._ += e[0];
729
729
  for (let t = 1, n = e.length; t < n; ++t)
@@ -45569,16 +45569,16 @@ function tre({
45569
45569
  okText: a = "Yes",
45570
45570
  cancelText: s = "No"
45571
45571
  }) {
45572
- return /* @__PURE__ */ U.jsxs(P8, { children: [
45573
- /* @__PURE__ */ U.jsx(F8, { asChild: !0, children: e }),
45574
- /* @__PURE__ */ U.jsxs(U8, { children: [
45575
- /* @__PURE__ */ U.jsxs(H8, { children: [
45576
- /* @__PURE__ */ U.jsx(z8, { children: t }),
45577
- /* @__PURE__ */ U.jsx(V8, { children: n })
45572
+ return /* @__PURE__ */ U.jsxs(L8, { children: [
45573
+ /* @__PURE__ */ U.jsx(I8, { asChild: !0, children: e }),
45574
+ /* @__PURE__ */ U.jsxs(N8, { children: [
45575
+ /* @__PURE__ */ U.jsxs(D8, { children: [
45576
+ /* @__PURE__ */ U.jsx(R8, { children: t }),
45577
+ /* @__PURE__ */ U.jsx(O8, { children: n })
45578
45578
  ] }),
45579
- /* @__PURE__ */ U.jsxs(j8, { children: [
45580
- /* @__PURE__ */ U.jsx(Y8, { onClick: (o) => i == null ? void 0 : i(o), children: s }),
45581
- /* @__PURE__ */ U.jsx(W8, { onClick: (o) => r == null ? void 0 : r(o), children: a })
45579
+ /* @__PURE__ */ U.jsxs(M8, { children: [
45580
+ /* @__PURE__ */ U.jsx(B8, { onClick: (o) => i == null ? void 0 : i(o), children: s }),
45581
+ /* @__PURE__ */ U.jsx(P8, { onClick: (o) => r == null ? void 0 : r(o), children: a })
45582
45582
  ] })
45583
45583
  ] })
45584
45584
  ] });
@@ -45772,7 +45772,7 @@ const are = Mt.object({
45772
45772
  render: ({ field: f }) => /* @__PURE__ */ U.jsxs(Al, { children: [
45773
45773
  /* @__PURE__ */ U.jsx(x8, { children: "Type: " }),
45774
45774
  /* @__PURE__ */ U.jsx(
45775
- Fy,
45775
+ Ry,
45776
45776
  {
45777
45777
  style: { width: 200 },
45778
45778
  placeholder: "Select type",
@@ -46050,7 +46050,7 @@ const fre = ({ check: e, refetch: t }) => {
46050
46050
  method: "PUT"
46051
46051
  }), r(!1), d(!1), t();
46052
46052
  } catch (R) {
46053
- q8({
46053
+ F8({
46054
46054
  title: "Failed to update project governance check",
46055
46055
  description: R.message || R,
46056
46056
  variant: "destructive"
@@ -46099,7 +46099,7 @@ const fre = ({ check: e, refetch: t }) => {
46099
46099
  }
46100
46100
  )
46101
46101
  ] }) : /* @__PURE__ */ U.jsxs(U.Fragment, { children: [
46102
- /* @__PURE__ */ U.jsx(M8, { variant: "ghost", title: "Edit this learning", onClick: y, children: /* @__PURE__ */ U.jsx(t8, {}) }),
46102
+ /* @__PURE__ */ U.jsx(lk, { variant: "ghost", title: "Edit this learning", onClick: y, children: /* @__PURE__ */ U.jsx(t8, {}) }),
46103
46103
  /* @__PURE__ */ U.jsx(
46104
46104
  tre,
46105
46105
  {
@@ -46152,7 +46152,7 @@ const fre = ({ check: e, refetch: t }) => {
46152
46152
  error: t,
46153
46153
  loading: n,
46154
46154
  refetch: r
46155
- } = Py({
46155
+ } = Hy({
46156
46156
  queryFn: () => Ci.get("project_governance/checks"),
46157
46157
  enabled: !1
46158
46158
  });
@@ -46162,10 +46162,10 @@ const fre = ({ check: e, refetch: t }) => {
46162
46162
  "Error loading checks: ",
46163
46163
  t.message
46164
46164
  ] }) : /* @__PURE__ */ U.jsx(U.Fragment, { children: /* @__PURE__ */ U.jsxs("div", { children: [
46165
- /* @__PURE__ */ U.jsx(nt, { className: "al-justify-end", children: /* @__PURE__ */ U.jsxs(G8, { children: [
46166
- /* @__PURE__ */ U.jsx($8, { asChild: !0, children: /* @__PURE__ */ U.jsx(Rt, { variant: "secondary", children: "+ Add new check" }) }),
46167
- /* @__PURE__ */ U.jsxs(X8, { children: [
46168
- /* @__PURE__ */ U.jsx(K8, { children: /* @__PURE__ */ U.jsx(Q8, { children: "Add new check" }) }),
46165
+ /* @__PURE__ */ U.jsx(nt, { className: "al-justify-end", children: /* @__PURE__ */ U.jsxs(U8, { children: [
46166
+ /* @__PURE__ */ U.jsx(H8, { asChild: !0, children: /* @__PURE__ */ U.jsx(Rt, { variant: "secondary", children: "+ Add new check" }) }),
46167
+ /* @__PURE__ */ U.jsxs(z8, { children: [
46168
+ /* @__PURE__ */ U.jsx(V8, { children: /* @__PURE__ */ U.jsx(j8, { children: "Add new check" }) }),
46169
46169
  /* @__PURE__ */ U.jsx(
46170
46170
  BT,
46171
46171
  {
@@ -46216,7 +46216,7 @@ const zT = (e, t) => {
46216
46216
  error: null,
46217
46217
  abortController: null,
46218
46218
  currentActions: []
46219
- }, Cf = B8({
46219
+ }, Cf = uk({
46220
46220
  name: "chat",
46221
46221
  initialState: Ere,
46222
46222
  reducers: {
@@ -48811,7 +48811,7 @@ const Ire = /* @__PURE__ */ ko(Lre), GT = ({ artifacts: e }) => {
48811
48811
  onClick: () => n(l),
48812
48812
  className: "al-p-0 al-m-0 al-border-0 al-bg-transparent",
48813
48813
  "aria-label": `View ${l.name} content`,
48814
- children: /* @__PURE__ */ U.jsx(Uy, { variant: "outline", className: "hover:al-bg-gray-100 al-cursor-pointer", children: l.name })
48814
+ children: /* @__PURE__ */ U.jsx(Oy, { variant: "outline", className: "hover:al-bg-gray-100 al-cursor-pointer", children: l.name })
48815
48815
  },
48816
48816
  l.name
48817
48817
  )),
@@ -48860,12 +48860,12 @@ const Ire = /* @__PURE__ */ ko(Lre), GT = ({ artifacts: e }) => {
48860
48860
  "aria-live": "polite",
48861
48861
  "aria-label": "Action status updates",
48862
48862
  children: [
48863
- /* @__PURE__ */ U.jsx(Z8, { type: "single", defaultValue: t ? void 0 : "actions", collapsible: !0, children: /* @__PURE__ */ U.jsxs(J8, { value: "actions", children: [
48864
- /* @__PURE__ */ U.jsx(ek, { className: "al-text-sm al-text-gray-500 al-pt-0", children: /* @__PURE__ */ U.jsx(nt, { direction: "row", align: "center", children: /* @__PURE__ */ U.jsxs(nt, { direction: "row", align: "center", justify: "between", style: { flex: 1 }, children: [
48863
+ /* @__PURE__ */ U.jsx(Y8, { type: "single", defaultValue: t ? void 0 : "actions", collapsible: !0, children: /* @__PURE__ */ U.jsxs(W8, { value: "actions", children: [
48864
+ /* @__PURE__ */ U.jsx(q8, { className: "al-text-sm al-text-gray-500 al-pt-0", children: /* @__PURE__ */ U.jsx(nt, { direction: "row", align: "center", children: /* @__PURE__ */ U.jsxs(nt, { direction: "row", align: "center", justify: "between", style: { flex: 1 }, children: [
48865
48865
  /* @__PURE__ */ U.jsx(tc, { variant: "h4", children: n }),
48866
48866
  t ? /* @__PURE__ */ U.jsx("span", { children: "View detailed steps" }) : null
48867
48867
  ] }) }) }),
48868
- /* @__PURE__ */ U.jsx(tk, { children: /* @__PURE__ */ U.jsx(nt, { direction: "column", role: "list", children: r.map((a, s) => /* @__PURE__ */ U.jsxs(
48868
+ /* @__PURE__ */ U.jsx(G8, { children: /* @__PURE__ */ U.jsx(nt, { direction: "column", role: "list", children: r.map((a, s) => /* @__PURE__ */ U.jsxs(
48869
48869
  nt,
48870
48870
  {
48871
48871
  direction: "row",
@@ -49221,7 +49221,7 @@ const Ire = /* @__PURE__ */ ko(Lre), GT = ({ artifacts: e }) => {
49221
49221
  n(su(Er.UNINITIALIZED));
49222
49222
  }
49223
49223
  };
49224
- return /* @__PURE__ */ U.jsxs(Hy, { onClick: a, role: "menuitem", className: "al-cursor-pointer", children: [
49224
+ return /* @__PURE__ */ U.jsxs(My, { onClick: a, role: "menuitem", className: "al-cursor-pointer", children: [
49225
49225
  /* @__PURE__ */ U.jsx(l8, { className: "al-mr-2 al-h-4 al-w-4", "aria-hidden": "true" }),
49226
49226
  /* @__PURE__ */ U.jsx("span", { children: "Regenerate response" })
49227
49227
  ] });
@@ -49233,8 +49233,8 @@ const Ire = /* @__PURE__ */ ko(Lre), GT = ({ artifacts: e }) => {
49233
49233
  console.error("Failed to copy message:", r);
49234
49234
  }
49235
49235
  };
49236
- return /* @__PURE__ */ U.jsxs(nk, { children: [
49237
- /* @__PURE__ */ U.jsx(rk, { asChild: !0, children: /* @__PURE__ */ U.jsx(
49236
+ return /* @__PURE__ */ U.jsxs($8, { children: [
49237
+ /* @__PURE__ */ U.jsx(X8, { asChild: !0, children: /* @__PURE__ */ U.jsx(
49238
49238
  Rt,
49239
49239
  {
49240
49240
  variant: "ghost",
@@ -49244,8 +49244,8 @@ const Ire = /* @__PURE__ */ ko(Lre), GT = ({ artifacts: e }) => {
49244
49244
  children: /* @__PURE__ */ U.jsx(u8, { className: "al-h-4 al-w-4", "aria-hidden": "true" })
49245
49245
  }
49246
49246
  ) }),
49247
- /* @__PURE__ */ U.jsxs(ik, { align: "end", role: "menu", "aria-label": "Message actions", children: [
49248
- /* @__PURE__ */ U.jsxs(Hy, { onClick: n, role: "menuitem", children: [
49247
+ /* @__PURE__ */ U.jsxs(K8, { align: "end", role: "menu", "aria-label": "Message actions", children: [
49248
+ /* @__PURE__ */ U.jsxs(My, { onClick: n, role: "menuitem", children: [
49249
49249
  /* @__PURE__ */ U.jsx(c8, { className: "al-mr-2 al-h-4 al-w-4", "aria-hidden": "true" }),
49250
49250
  /* @__PURE__ */ U.jsx("span", { children: "Copy message" })
49251
49251
  ] }),
@@ -49274,7 +49274,7 @@ const Ire = /* @__PURE__ */ ko(Lre), GT = ({ artifacts: e }) => {
49274
49274
  frontEndUrl: t
49275
49275
  }) => !(e != null && e.length) || !t ? null : /* @__PURE__ */ U.jsxs(nt, { className: Bre.citations, children: [
49276
49276
  "Learnings applied:",
49277
- /* @__PURE__ */ U.jsx("ul", { style: { padding: 0, display: "flex", gap: 8, marginTop: -2 }, children: e.map((n, r) => /* @__PURE__ */ U.jsx("li", { style: { listStyle: "none" }, children: /* @__PURE__ */ U.jsx(Uy, { title: n.content, children: /* @__PURE__ */ U.jsx(
49277
+ /* @__PURE__ */ U.jsx("ul", { style: { padding: 0, display: "flex", gap: 8, marginTop: -2 }, children: e.map((n, r) => /* @__PURE__ */ U.jsx("li", { style: { listStyle: "none" }, children: /* @__PURE__ */ U.jsx(Oy, { title: n.content, children: /* @__PURE__ */ U.jsx(
49278
49278
  "a",
49279
49279
  {
49280
49280
  href: `${t}/teammates/${n.taskLabel}?learning=${n.id}`,
@@ -49297,7 +49297,7 @@ const Ire = /* @__PURE__ */ ko(Lre), GT = ({ artifacts: e }) => {
49297
49297
  );
49298
49298
  }, Ure = () => {
49299
49299
  var i;
49300
- const { currentSessionId: e, urls: t } = ci(), { data: n, refetch: r } = Py({
49300
+ const { currentSessionId: e, urls: t } = ci(), { data: n, refetch: r } = Hy({
49301
49301
  queryFn: () => Ci.get(t == null ? void 0 : t.followupPath, { session_id: e }),
49302
49302
  enabled: !1
49303
49303
  });
@@ -49419,20 +49419,20 @@ const Ire = /* @__PURE__ */ ko(Lre), GT = ({ artifacts: e }) => {
49419
49419
  ]
49420
49420
  }
49421
49421
  ) }),
49422
- /* @__PURE__ */ U.jsx(S8, { className: "al-p-0", align: "start", children: /* @__PURE__ */ U.jsxs(ak, { children: [
49423
- /* @__PURE__ */ U.jsx(sk, { placeholder: "Search context...", "aria-label": "Search context options" }),
49424
- /* @__PURE__ */ U.jsxs(ok, { id: r, children: [
49425
- /* @__PURE__ */ U.jsx(lk, { children: "No context found." }),
49422
+ /* @__PURE__ */ U.jsx(S8, { className: "al-p-0", align: "start", children: /* @__PURE__ */ U.jsxs(Q8, { children: [
49423
+ /* @__PURE__ */ U.jsx(Z8, { placeholder: "Search context...", "aria-label": "Search context options" }),
49424
+ /* @__PURE__ */ U.jsxs(J8, { id: r, children: [
49425
+ /* @__PURE__ */ U.jsx(ek, { children: "No context found." }),
49426
49426
  t ? t.map((N) => /* @__PURE__ */ U.jsxs(U.Fragment, { children: [
49427
49427
  /* @__PURE__ */ U.jsx(
49428
- Op,
49428
+ Np,
49429
49429
  {
49430
49430
  heading: N.label,
49431
49431
  "aria-label": `${N.options.length} options`,
49432
49432
  children: N.options.map((T) => {
49433
49433
  var I, m, S;
49434
49434
  return /* @__PURE__ */ U.jsxs(
49435
- Mp,
49435
+ Dp,
49436
49436
  {
49437
49437
  value: T.label,
49438
49438
  onSelect: () => O(T, N.key),
@@ -49461,9 +49461,9 @@ const Ire = /* @__PURE__ */ ko(Lre), GT = ({ artifacts: e }) => {
49461
49461
  },
49462
49462
  N.key
49463
49463
  ),
49464
- /* @__PURE__ */ U.jsx(uk, {})
49464
+ /* @__PURE__ */ U.jsx(tk, {})
49465
49465
  ] })) : null,
49466
- /* @__PURE__ */ U.jsx(Op, { heading: "Upload Files", "aria-label": "File upload", children: /* @__PURE__ */ U.jsx(Mp, { onSelect: M, children: /* @__PURE__ */ U.jsx(nt, { direction: "row", align: "center", children: /* @__PURE__ */ U.jsxs(
49466
+ /* @__PURE__ */ U.jsx(Np, { heading: "Upload Files", "aria-label": "File upload", children: /* @__PURE__ */ U.jsx(Dp, { onSelect: M, children: /* @__PURE__ */ U.jsx(nt, { direction: "row", align: "center", children: /* @__PURE__ */ U.jsxs(
49467
49467
  Rt,
49468
49468
  {
49469
49469
  variant: "ghost",
@@ -49800,7 +49800,7 @@ const Ire = /* @__PURE__ */ ko(Lre), GT = ({ artifacts: e }) => {
49800
49800
  /* @__PURE__ */ U.jsxs(nt, { align: "center", gap: "lg", children: [
49801
49801
  /* @__PURE__ */ U.jsx(Vre, { fileUploadProps: n, contextOptions: r }),
49802
49802
  f && f.length > 0 && /* @__PURE__ */ U.jsx(
49803
- Fy,
49803
+ Ry,
49804
49804
  {
49805
49805
  "aria-label": "Model selection",
49806
49806
  options: f,
package/dist/Form.js CHANGED
@@ -1,7 +1,7 @@
1
- import { j as s, C as ba, c as Sa, b as xr, d as Ca, h as _a, a as jt, i as Na } from "./index2.js";
1
+ import { j as s, C as ba, a as Sa, b as xr, S as Ca, c as _a, d as jt, e as Na } from "./index2.js";
2
2
  import * as a from "react";
3
3
  import T, { forwardRef as ee } from "react";
4
- import { aa as Ot, ab as yr, ac as Ye, ad as kt, ae as qe, c as E, af as Xe, ag as $t, ah as Lt, m as Ze, ai as je, i as Vt, a as Ne, D as Je, w as wr, E as br, j as Oe, u as q, aj as Sr, d as I, ak as Cr, al as _r, F as Nr, z as Ea, G as Er, P as $, A as Ra, g as Qe, H as Rr, am as Ir, l as Ia, x as Ft, J as Bt, k as Mr, y as ne, b as xe, $ as Ma, a4 as Aa, h as ce, an as Ar, ao as Da, C as Dr, e as Pa, V as Ta, M as ja, S as Oa } from "./Tooltip.js";
4
+ import { R as Ot, T as yr, C as Ye, g as kt, O as qe, c as E, h as Xe, i as $t, D as Lt, j as Ze, k as je, l as Vt, a as Ne, m as Je, n as wr, A as br, o as Oe, u as q, p as Sr, d as I, q as Cr, F as _r, r as Nr, s as Ea, t as Er, P as $, I as Ra, v as Qe, w as Rr, x as Ir, y as Ia, z as Ft, B as Bt, E as Mr, G as ne, b as xe, H as Ma, J as Aa, K as ce, L as Ar, W as Da, M as Dr, e as Pa, V as Ta, N as ja, S as Oa } from "./Stack.js";
5
5
  import * as Pr from "react-dom";
6
6
  const rd = Ot, nd = yr, od = Ye, ka = kt, Tr = a.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ s.jsx(
7
7
  qe,
@@ -3560,98 +3560,98 @@ const Jc = a.forwardRef(({ className: e, children: r, ...t }, n) => {
3560
3560
  });
3561
3561
  Jc.displayName = "FormMessage";
3562
3562
  export {
3563
- fd as $,
3564
- wl as A,
3565
- Ga as B,
3563
+ rs as $,
3564
+ Si as A,
3565
+ fd as B,
3566
3566
  Bn as C,
3567
- ld as D,
3568
- sd as E,
3569
- os as F,
3567
+ Fa as D,
3568
+ Ba as E,
3569
+ Yc as F,
3570
3570
  Cl as G,
3571
- as as H,
3571
+ Ga as H,
3572
3572
  Nl as I,
3573
- ls as J,
3574
- ss as K,
3573
+ ld as J,
3574
+ sd as K,
3575
3575
  _l as L,
3576
- is as M,
3577
- cs as N,
3578
- ds as O,
3576
+ os as M,
3577
+ Mc as N,
3578
+ as as O,
3579
3579
  bl as P,
3580
- id as Q,
3580
+ ls as Q,
3581
3581
  Rl as R,
3582
3582
  rd as S,
3583
- cd as T,
3584
- dd as U,
3585
- ns as V,
3586
- rs as W,
3587
- ud as X,
3588
- pd as Y,
3589
- Ks as Z,
3590
- Gs as _,
3591
- Ls as a,
3592
- Us as a0,
3593
- gd as a1,
3594
- pi as a2,
3595
- fi as a3,
3596
- mi as a4,
3597
- xi as a5,
3598
- yi as a6,
3599
- Si as a7,
3600
- Ci as a8,
3601
- _i as a9,
3602
- Xc as aA,
3603
- Zc as aB,
3604
- Jc as aC,
3583
+ ss as T,
3584
+ is as U,
3585
+ cs as V,
3586
+ ds as W,
3587
+ id as X,
3588
+ cd as Y,
3589
+ dd as Z,
3590
+ ns as _,
3591
+ Jc as a,
3592
+ ud as a0,
3593
+ pd as a1,
3594
+ Ks as a2,
3595
+ Gs as a3,
3596
+ Us as a4,
3597
+ gd as a5,
3598
+ pi as a6,
3599
+ fi as a7,
3600
+ mi as a8,
3601
+ xi as a9,
3602
+ qc as aA,
3603
+ Xc as aB,
3604
+ Zc as aC,
3605
3605
  Cd as aD,
3606
- xd as aa,
3607
- Fi as ab,
3608
- No as ac,
3609
- yd as ad,
3610
- Bi as ae,
3611
- Gi as af,
3612
- Hi as ag,
3613
- Ki as ah,
3614
- Ui as ai,
3615
- Wi as aj,
3616
- zi as ak,
3617
- Mc as al,
3618
- _c as am,
3619
- bd as an,
3620
- Nc as ao,
3621
- ca as ap,
3622
- pa as aq,
3623
- Ec as ar,
3624
- fa as as,
3625
- Rc as at,
3626
- da as au,
3627
- ua as av,
3628
- it as aw,
3629
- Sd as ax,
3630
- Yc as ay,
3631
- qc as az,
3632
- Vs as b,
3633
- Fs as c,
3634
- Bs as d,
3635
- Hs as e,
3636
- La as f,
3637
- mr as g,
3638
- kr as h,
3639
- Sl as i,
3640
- El as j,
3641
- Il as k,
3642
- Ml as l,
3643
- Al as m,
3644
- Dl as n,
3645
- Tl as o,
3646
- jl as p,
3647
- yl as q,
3648
- Pl as r,
3649
- ka as s,
3650
- Tr as t,
3606
+ yi as aa,
3607
+ Ci as ab,
3608
+ _i as ac,
3609
+ xd as ad,
3610
+ Fi as ae,
3611
+ No as af,
3612
+ yd as ag,
3613
+ Bi as ah,
3614
+ Gi as ai,
3615
+ Hi as aj,
3616
+ Ki as ak,
3617
+ Ui as al,
3618
+ Wi as am,
3619
+ zi as an,
3620
+ _c as ao,
3621
+ bd as ap,
3622
+ Nc as aq,
3623
+ ca as ar,
3624
+ pa as as,
3625
+ Ec as at,
3626
+ fa as au,
3627
+ Rc as av,
3628
+ da as aw,
3629
+ ua as ax,
3630
+ it as ay,
3631
+ Sd as az,
3632
+ Ls as b,
3633
+ Vs as c,
3634
+ Fs as d,
3635
+ Bs as e,
3636
+ Hs as f,
3637
+ La as g,
3638
+ mr as h,
3639
+ kr as i,
3640
+ wl as j,
3641
+ Sl as k,
3642
+ El as l,
3643
+ Il as m,
3644
+ Ml as n,
3645
+ Al as o,
3646
+ Dl as p,
3647
+ Tl as q,
3648
+ jl as r,
3649
+ yl as s,
3650
+ Pl as t,
3651
3651
  vd as u,
3652
- nd as v,
3653
- od as w,
3654
- Va as x,
3655
- Fa as y,
3656
- Ba as z
3652
+ ka as v,
3653
+ Tr as w,
3654
+ nd as x,
3655
+ od as y,
3656
+ Va as z
3657
3657
  };