@altimateai/ui-components 0.0.69-beta.3 → 0.0.69-beta1
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/{Button-42Dj_nRE.d.ts → Button-Bsgqi8kG.d.ts} +5 -12
- package/dist/CoachForm.js +4 -4
- package/dist/Stack.js +364 -362
- package/dist/Switch.js +1 -1
- package/dist/ToggleGroup.js +80 -70
- package/dist/chatbotV2/index.d.ts +2 -2
- package/dist/dayjs.min.js +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/lineage/index.js +801 -795
- package/dist/redux-toolkit.modern.js +2 -12
- package/dist/shadcn/index.d.ts +28 -23
- package/dist/shadcn/index.js +1110 -1118
- package/dist/{types-C2UJ4TLI.d.ts → types-CPALoG7v.d.ts} +0 -2
- package/package.json +1 -1
- package/dist/IconEye.js +0 -11
|
@@ -6,23 +6,16 @@ declare const buttonVariants: (props?: ({
|
|
|
6
6
|
variant?: "link" | "default" | "destructive" | "outline" | "success" | "secondary" | "ghost" | null | undefined;
|
|
7
7
|
size?: "xs" | "sm" | "lg" | "default" | "icon" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
-
type ButtonSize = "default" | "sm" | "xs" | "lg" | "icon";
|
|
10
9
|
type BaseButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & Omit<VariantProps<typeof buttonVariants>, "size"> & {
|
|
11
10
|
asChild?: boolean;
|
|
12
11
|
};
|
|
13
|
-
type ButtonProps
|
|
12
|
+
type ButtonProps = BaseButtonProps & ({
|
|
14
13
|
size: "icon";
|
|
15
14
|
title: string;
|
|
16
|
-
}
|
|
17
|
-
size?:
|
|
18
|
-
title?: string;
|
|
19
|
-
} : {
|
|
20
|
-
size?: TSize;
|
|
15
|
+
} | {
|
|
16
|
+
size?: "default" | "sm" | "xs" | "lg";
|
|
21
17
|
title?: string;
|
|
22
18
|
});
|
|
23
|
-
|
|
24
|
-
declare const Button: GenericButtonComponent & {
|
|
25
|
-
displayName?: string;
|
|
26
|
-
};
|
|
19
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
27
20
|
|
|
28
|
-
export { type ButtonProps as B, Button as a,
|
|
21
|
+
export { type ButtonProps as B, Button as a, buttonVariants as b };
|
package/dist/CoachForm.js
CHANGED
|
@@ -3,8 +3,8 @@ var k3 = (t, e, n) => e in t ? E3(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var ae = (t, e, n) => k3(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
4
|
import { j as E, E as S3, D as w3, t as A3, c as v3, b as L3, u as I3, R as N3, v as Xd, w as R3, x as D3, g as O3, y as M3 } from "./index2.js";
|
|
5
5
|
import zl, { forwardRef as Hp, useRef as Er, useEffect as xe, lazy as B3, Suspense as P3, useState as _e, createContext as F3, useContext as $3, useReducer as H3, useImperativeHandle as z3, useCallback as ji, useMemo as U3, useId as go } from "react";
|
|
6
|
-
import {
|
|
7
|
-
import { an as Q3, aq as Z3, ar as J3, as as t_, au as e_, av as n_, at as r_, ax as i_, aw as a_, b3 as zu, b4 as Ul, b5 as s_, u as sh, A as nl, F as bo, a as Uu, N as Up, ak as Qa, S as o_, y as l_,
|
|
6
|
+
import { f as Xe, h as cn, B as ee, as as j3, T as si, X as Tt, a4 as kn, a5 as eh, aj as zp, a1 as W3, a7 as q3, a6 as Y3, I as V3, Y as Wi, M as nh, N as rh, ao as ih, aq as ah, ar as G3, ap as X3, a8 as K3, a0 as Pa } from "./Stack.js";
|
|
7
|
+
import { an as Q3, aq as Z3, ar as J3, as as t_, au as e_, av as n_, at as r_, ax as i_, aw as a_, b3 as zu, b4 as Ul, b5 as s_, u as sh, A as nl, F as bo, a as Uu, N as Up, ak as Qa, S as o_, y as l_, c as u_, E as c_, J as h_, b1 as d_, b2 as f_, B as jp, aJ as p_, aW as m_, aX as g_, aY as jl, b6 as Kd, aZ as b_, a_ as y_, Q as x_, T as C_, U as __, V as Wl, a1 as T_, a3 as E_, a2 as k_, a5 as S_, a7 as w_, a8 as A_, a9 as v_, aa as L_, ab as I_, b7 as N_, b8 as R_, aQ as D_, aR as O_, aS as M_, aU as B_, aT as P_, aV as F_, af as $_, ag as H_, ah as z_, ai as U_, O as j_ } from "./ToggleGroup.js";
|
|
8
8
|
import { z as St } from "zod";
|
|
9
9
|
import { c as qr, g as oh, s as ne, l as rl, u as ps, A as In, I as W_, m as Wp, k as q_, t as Y_ } from "./redux-toolkit.modern.js";
|
|
10
10
|
import { createPortal as V_ } from "react-dom";
|
|
@@ -37002,14 +37002,14 @@ const V$ = /* @__PURE__ */ oh(Y$), m3 = ({ artifacts: t }) => {
|
|
|
37002
37002
|
handleSavePrompt: r,
|
|
37003
37003
|
showSavePromptButton: i
|
|
37004
37004
|
}) => {
|
|
37005
|
-
const a = t.role === "assistant", { currentSessionId: s, loadingState: o, urls: l
|
|
37005
|
+
const a = t.role === "assistant", { currentSessionId: s, loadingState: o, urls: l } = We();
|
|
37006
37006
|
return /* @__PURE__ */ E.jsxs(Tt, { gap: "sm", direction: "column", children: [
|
|
37007
37007
|
/* @__PURE__ */ E.jsx(Tt, { gap: "sm", justify: a ? "start" : "end", children: t.attachments && t.attachments.length > 0 && /* @__PURE__ */ E.jsx("div", { id: `message-${t.id}-attachments`, children: /* @__PURE__ */ E.jsx(yH, { attachments: t.attachments }) }) }),
|
|
37008
37008
|
/* @__PURE__ */ E.jsxs(
|
|
37009
37009
|
"div",
|
|
37010
37010
|
{
|
|
37011
37011
|
id: `message-${t.id}`,
|
|
37012
|
-
className: `al-flex al-items-start al-gap-2 ${a ? "" : "al-justify-end"}
|
|
37012
|
+
className: `al-flex al-items-start al-gap-2 ${a ? "" : "al-justify-end"}`,
|
|
37013
37013
|
role: "article",
|
|
37014
37014
|
"aria-label": `${a ? "Assistant" : "User"} message`,
|
|
37015
37015
|
children: [
|