@altimateai/ui-components 0.0.68-beta.1 → 0.0.68-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.
- package/dist/{Button-CVsSwe4f.d.ts → Button-Bsgqi8kG.d.ts} +9 -2
- package/dist/CoachForm.js +3686 -3674
- package/dist/Stack.js +4144 -4145
- package/dist/ToggleGroup.js +16 -12
- package/dist/chatbotV2/index.d.ts +2 -2
- package/dist/index.d.ts +6 -5
- package/dist/lineage/index.js +60 -59
- package/dist/main.js +9 -2
- package/dist/redux-toolkit.modern.js +710 -720
- package/dist/shadcn/index.d.ts +29 -13
- package/dist/shadcn/index.js +9 -6
- package/dist/storybook/Button.stories.tsx +1 -0
- package/dist/{types-CPs2m921.d.ts → types-CPALoG7v.d.ts} +7 -6
- package/package.json +1 -1
package/dist/shadcn/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as Button, B as ButtonProps } from '../Button-
|
|
2
|
-
export { b as buttonVariants } from '../Button-
|
|
1
|
+
import { a as Button, B as ButtonProps } from '../Button-Bsgqi8kG.js';
|
|
2
|
+
export { b as buttonVariants } from '../Button-Bsgqi8kG.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { DayPicker, DayButton, DateRange } from 'react-day-picker';
|
|
5
5
|
import * as React$1 from 'react';
|
|
@@ -97,7 +97,7 @@ declare const SheetClose: React$1.ForwardRefExoticComponent<SheetPrimitive.Dialo
|
|
|
97
97
|
declare const SheetPortal: React$1.FC<SheetPrimitive.DialogPortalProps>;
|
|
98
98
|
declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
99
99
|
declare const sheetVariants: (props?: ({
|
|
100
|
-
side?: "
|
|
100
|
+
side?: "top" | "right" | "bottom" | "left" | null | undefined;
|
|
101
101
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
102
102
|
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
103
103
|
children: React$1.ReactNode;
|
|
@@ -181,7 +181,7 @@ declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
181
181
|
ref?: React.Ref<HTMLDivElement>;
|
|
182
182
|
} & {
|
|
183
183
|
asChild?: boolean;
|
|
184
|
-
}, "
|
|
184
|
+
}, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
185
185
|
label?: string;
|
|
186
186
|
shouldFilter?: boolean;
|
|
187
187
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -197,7 +197,7 @@ declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pic
|
|
|
197
197
|
ref?: React.Ref<HTMLInputElement>;
|
|
198
198
|
} & {
|
|
199
199
|
asChild?: boolean;
|
|
200
|
-
}, "
|
|
200
|
+
}, "key" | "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
|
|
201
201
|
value?: string;
|
|
202
202
|
onValueChange?: (search: string) => void;
|
|
203
203
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -207,7 +207,7 @@ declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
207
207
|
ref?: React.Ref<HTMLDivElement>;
|
|
208
208
|
} & {
|
|
209
209
|
asChild?: boolean;
|
|
210
|
-
}, "
|
|
210
|
+
}, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
211
211
|
label?: string;
|
|
212
212
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
213
213
|
declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
@@ -216,14 +216,14 @@ declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
216
216
|
ref?: React.Ref<HTMLDivElement>;
|
|
217
217
|
} & {
|
|
218
218
|
asChild?: boolean;
|
|
219
|
-
}, "
|
|
219
|
+
}, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
220
220
|
declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
221
221
|
children?: React.ReactNode;
|
|
222
222
|
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof HTMLAttributes<HTMLDivElement>> & {
|
|
223
223
|
ref?: React.Ref<HTMLDivElement>;
|
|
224
224
|
} & {
|
|
225
225
|
asChild?: boolean;
|
|
226
|
-
}, "
|
|
226
|
+
}, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild">, "heading" | "value"> & {
|
|
227
227
|
heading?: React.ReactNode;
|
|
228
228
|
value?: string;
|
|
229
229
|
forceMount?: boolean;
|
|
@@ -232,7 +232,7 @@ declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick
|
|
|
232
232
|
ref?: React.Ref<HTMLDivElement>;
|
|
233
233
|
} & {
|
|
234
234
|
asChild?: boolean;
|
|
235
|
-
}, "
|
|
235
|
+
}, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
236
236
|
alwaysRender?: boolean;
|
|
237
237
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
238
238
|
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
@@ -241,7 +241,7 @@ declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
241
241
|
ref?: React.Ref<HTMLDivElement>;
|
|
242
242
|
} & {
|
|
243
243
|
asChild?: boolean;
|
|
244
|
-
}, "
|
|
244
|
+
}, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
|
245
245
|
disabled?: boolean;
|
|
246
246
|
onSelect?: (value: string) => void;
|
|
247
247
|
value?: string;
|
|
@@ -503,7 +503,23 @@ declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttri
|
|
|
503
503
|
variant?: "sidebar" | "floating" | "inset";
|
|
504
504
|
collapsible?: "offcanvas" | "icon" | "none";
|
|
505
505
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
506
|
-
declare const SidebarTrigger: React$1.ForwardRefExoticComponent<Omit<
|
|
506
|
+
declare const SidebarTrigger: React$1.ForwardRefExoticComponent<(Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement> & Omit<VariantProps<(props?: ({
|
|
507
|
+
variant?: "link" | "default" | "destructive" | "outline" | "success" | "secondary" | "ghost" | null | undefined;
|
|
508
|
+
size?: "xs" | "sm" | "lg" | "default" | "icon" | null | undefined;
|
|
509
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "size"> & {
|
|
510
|
+
asChild?: boolean;
|
|
511
|
+
} & {
|
|
512
|
+
size: "icon";
|
|
513
|
+
title: string;
|
|
514
|
+
} & React$1.RefAttributes<HTMLButtonElement>, "ref"> | Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement> & Omit<VariantProps<(props?: ({
|
|
515
|
+
variant?: "link" | "default" | "destructive" | "outline" | "success" | "secondary" | "ghost" | null | undefined;
|
|
516
|
+
size?: "xs" | "sm" | "lg" | "default" | "icon" | null | undefined;
|
|
517
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "size"> & {
|
|
518
|
+
asChild?: boolean;
|
|
519
|
+
} & {
|
|
520
|
+
size?: "default" | "sm" | "xs" | "lg";
|
|
521
|
+
title?: string;
|
|
522
|
+
} & React$1.RefAttributes<HTMLButtonElement>, "ref">) & React$1.RefAttributes<HTMLButtonElement>>;
|
|
507
523
|
declare const SidebarRail: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
508
524
|
declare const SidebarInset: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
509
525
|
declare const SidebarInput: React$1.ForwardRefExoticComponent<Omit<InputProps & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -709,8 +725,8 @@ type CarouselProps = {
|
|
|
709
725
|
declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React$1.ComponentProps<"div"> & CarouselProps): react_jsx_runtime.JSX.Element;
|
|
710
726
|
declare function CarouselContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
711
727
|
declare function CarouselItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
712
|
-
declare function CarouselPrevious({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
713
|
-
declare function CarouselNext({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
728
|
+
declare function CarouselPrevious({ className, variant, size, title, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
729
|
+
declare function CarouselNext({ className, variant, size, title, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
714
730
|
|
|
715
731
|
declare const toggleVariants: (props?: ({
|
|
716
732
|
variant?: "default" | "outline" | null | undefined;
|
package/dist/shadcn/index.js
CHANGED
|
@@ -2762,6 +2762,7 @@ function Yd({
|
|
|
2762
2762
|
ref: o,
|
|
2763
2763
|
variant: "ghost",
|
|
2764
2764
|
size: "icon",
|
|
2765
|
+
title: t.date.toLocaleDateString(),
|
|
2765
2766
|
"data-day": t.date.toLocaleDateString(),
|
|
2766
2767
|
"data-selected-single": n.selected && !n.range_start && !n.range_end && !n.range_middle,
|
|
2767
2768
|
"data-range-start": n.range_start,
|
|
@@ -3909,20 +3910,21 @@ const zf = d.forwardRef(
|
|
|
3909
3910
|
}
|
|
3910
3911
|
);
|
|
3911
3912
|
zf.displayName = "Sidebar";
|
|
3912
|
-
const Ff = d.forwardRef(({ className: e, onClick: t,
|
|
3913
|
-
const { toggleSidebar:
|
|
3913
|
+
const Ff = d.forwardRef(({ className: e, onClick: t, title: n = "Toggle Sidebar", ...a }, r) => {
|
|
3914
|
+
const { toggleSidebar: o } = ln();
|
|
3914
3915
|
return /* @__PURE__ */ u.jsxs(
|
|
3915
3916
|
Ue,
|
|
3916
3917
|
{
|
|
3917
|
-
ref:
|
|
3918
|
+
ref: r,
|
|
3918
3919
|
"data-sidebar": "trigger",
|
|
3919
3920
|
variant: "ghost",
|
|
3920
3921
|
size: "icon",
|
|
3922
|
+
title: n,
|
|
3921
3923
|
className: P("al-h-7 al-w-7", e),
|
|
3922
|
-
onClick: (
|
|
3923
|
-
t == null || t(
|
|
3924
|
+
onClick: (i) => {
|
|
3925
|
+
t == null || t(i), o();
|
|
3924
3926
|
},
|
|
3925
|
-
...
|
|
3927
|
+
...a,
|
|
3926
3928
|
children: [
|
|
3927
3929
|
/* @__PURE__ */ u.jsx(Il, {}),
|
|
3928
3930
|
/* @__PURE__ */ u.jsx("span", { className: "al-sr-only", children: "Toggle Sidebar" })
|
|
@@ -8408,6 +8410,7 @@ function Tg({
|
|
|
8408
8410
|
variant: "ghost",
|
|
8409
8411
|
size: "icon",
|
|
8410
8412
|
className: "al-h-6 al-w-6",
|
|
8413
|
+
title: "Remove file",
|
|
8411
8414
|
onClick: (S) => {
|
|
8412
8415
|
S.stopPropagation(), w(v);
|
|
8413
8416
|
},
|
|
@@ -119,6 +119,7 @@ interface ChatbotProps {
|
|
|
119
119
|
chatMessages?: string;
|
|
120
120
|
};
|
|
121
121
|
initialMessage?: string;
|
|
122
|
+
submitInitialMessageOnMount?: boolean;
|
|
122
123
|
questionFormLeftActions?: ReactNode[];
|
|
123
124
|
refetchSession?: () => Promise<unknown>;
|
|
124
125
|
chatboxStartPosition?: "middle" | "bottom";
|
|
@@ -335,12 +336,12 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
335
336
|
value: z.ZodString;
|
|
336
337
|
}, "strip", z.ZodTypeAny, {
|
|
337
338
|
id: string;
|
|
338
|
-
value: string;
|
|
339
339
|
label: string;
|
|
340
|
+
value: string;
|
|
340
341
|
}, {
|
|
341
342
|
id: string;
|
|
342
|
-
value: string;
|
|
343
343
|
label: string;
|
|
344
|
+
value: string;
|
|
344
345
|
}>, "many">>;
|
|
345
346
|
}, "strip", z.ZodTypeAny, {
|
|
346
347
|
id: string;
|
|
@@ -349,8 +350,8 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
349
350
|
required?: boolean | undefined;
|
|
350
351
|
choices?: {
|
|
351
352
|
id: string;
|
|
352
|
-
value: string;
|
|
353
353
|
label: string;
|
|
354
|
+
value: string;
|
|
354
355
|
}[] | undefined;
|
|
355
356
|
}, {
|
|
356
357
|
id: string;
|
|
@@ -359,8 +360,8 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
359
360
|
required?: boolean | undefined;
|
|
360
361
|
choices?: {
|
|
361
362
|
id: string;
|
|
362
|
-
value: string;
|
|
363
363
|
label: string;
|
|
364
|
+
value: string;
|
|
364
365
|
}[] | undefined;
|
|
365
366
|
}>>;
|
|
366
367
|
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -428,8 +429,8 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
428
429
|
required?: boolean | undefined;
|
|
429
430
|
choices?: {
|
|
430
431
|
id: string;
|
|
431
|
-
value: string;
|
|
432
432
|
label: string;
|
|
433
|
+
value: string;
|
|
433
434
|
}[] | undefined;
|
|
434
435
|
} | undefined;
|
|
435
436
|
artifacts?: {
|
|
@@ -471,8 +472,8 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
471
472
|
required?: boolean | undefined;
|
|
472
473
|
choices?: {
|
|
473
474
|
id: string;
|
|
474
|
-
value: string;
|
|
475
475
|
label: string;
|
|
476
|
+
value: string;
|
|
476
477
|
}[] | undefined;
|
|
477
478
|
} | undefined;
|
|
478
479
|
artifacts?: {
|