@altimateai/ui-components 0.0.69-beta.2 → 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 +2 -2
- package/dist/Stack.js +299 -297
- package/dist/ToggleGroup.js +31 -21
- package/dist/chatbotV2/index.d.ts +2 -2
- package/dist/index.d.ts +9 -9
- package/dist/redux-toolkit.modern.js +1 -11
- package/dist/shadcn/index.d.ts +28 -19
- package/dist/shadcn/index.js +154 -128
- package/dist/{types-C2UJ4TLI.d.ts → types-CPALoG7v.d.ts} +0 -2
- package/package.json +1 -1
package/dist/shadcn/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { b as Bi, S as Hi, c as Yi, d as Zn, e as Vi, f as Gi, C as Ki, G as Ui, L as qi, I as Xi, g as Zi, R as Qi, h as Ji, i as el, j as tl, k as nl, l as al, m as rl, n as ol, P as sl, o as il } from "../ToggleGroup.js";
|
|
2
|
-
import { af as
|
|
2
|
+
import { af as Og, ai as Ig, ag as Ag, ah as jg, A as Wg, am as Lg, an as zg, aw as Fg, ax as $g, ar as Bg, av as Hg, at as Yg, as as Vg, ap as Gg, ao as Kg, au as Ug, aq as qg, al as Xg, O as Zg, B as Qg, aW as Jg, aX as eb, aY as tb, a_ as nb, aZ as ab, aJ as rb, aI as ob, a5 as sb, a6 as ib, a9 as lb, aa as cb, a7 as ub, ab as db, a8 as fb, ad as mb, ac as hb, D as pb, Q as gb, W as bb, U as vb, $ as wb, V as yb, Y as xb, a0 as Sb, a4 as Mb, X as Cb, Z as Nb, _ as Pb, a1 as Db, a2 as Tb, a3 as Eb, T as Rb, aL as kb, aN as _b, aO as Ob, aP as Ib, F as Ab, aM as jb, a as Wb, p as Lb, q as zb, r as Fb, t as $b, s as Bb, v as Hb, N as Yb, ay as Vb, aC as Gb, az as Kb, aE as Ub, aD as qb, aH as Xb, aG as Zb, aF as Qb, aB as Jb, aA as ev, z as tv, K as nv, H as av, E as rv, x as ov, w as sv, J as iv, y as lv, aQ as cv, aV as uv, aT as dv, aU as fv, aR as mv, aS as hv, a$ as pv, b1 as gv, b2 as bv, ae as vv, aj as wv, ak as yv, b0 as xv, M as Sv, aK as Mv } from "../ToggleGroup.js";
|
|
3
3
|
import { f as P, U as An, B as Ue, Z as ll, _ as cl, X as $t, $ as ul, a0 as dl, c as Qe, P as ne, y as Se, Q as tn, n as Qn, u as he, ab as fl, V as rr, a as It, q as dt, b as F, ac as ml, K as hl, G as pl, g as ft, ad as gl, I as bl, ae as vl, af as wl, ag as yl, a2 as mt, a3 as jn, H as Jn, e as xl, d as Sl, p as or, v as Ml, x as Cl, L as Mn, o as sr, A as Nl, t as Pl, w as Dl, z as Tl, J as El, a4 as Rl, a5 as kl } from "../Stack.js";
|
|
4
|
-
import { ak as
|
|
4
|
+
import { ak as Nv, aj as Pv, a7 as Dv, a6 as Tv, a8 as Ev, M as Rv, am as kv, N as _v, ar as Ov, ap as Iv, ao as Av, aa as jv, a9 as Wv, aq as Lv, an as zv, a1 as Fv, al as $v, ah as Bv, ai as Hv, T as Yv, Y as Vv } from "../Stack.js";
|
|
5
5
|
import { j as u, o as ir, C as nn, b as _l, p as Ol, d as lr, q as Il, M as cr, a as Al, S as jl, r as Wl, s as Ll, F as zl } from "../index2.js";
|
|
6
6
|
import * as d from "react";
|
|
7
7
|
import E, { createContext as Fl, useContext as $l, useCallback as ie, useRef as ot, useLayoutEffect as Bl, useState as Ee, useEffect as Vt, useMemo as Dt, forwardRef as an } from "react";
|
|
8
|
-
import { S as
|
|
8
|
+
import { S as Kv } from "../Switch.js";
|
|
9
9
|
import * as Hl from "react-dom";
|
|
10
10
|
const Cn = {}, Mt = {};
|
|
11
11
|
function Tt(e, t) {
|
|
@@ -3556,10 +3556,9 @@ ho.displayName = so.displayName;
|
|
|
3556
3556
|
function cg() {
|
|
3557
3557
|
const { toasts: e } = Bi();
|
|
3558
3558
|
return /* @__PURE__ */ u.jsxs(bf, { children: [
|
|
3559
|
-
e.map(function({ id: t, title: n, description: a, action: r,
|
|
3560
|
-
return /* @__PURE__ */ u.jsxs(uo, { ...
|
|
3561
|
-
|
|
3562
|
-
/* @__PURE__ */ u.jsxs("div", { className: "al-grid al-gap-1 al-flex-1", children: [
|
|
3559
|
+
e.map(function({ id: t, title: n, description: a, action: r, ...o }) {
|
|
3560
|
+
return /* @__PURE__ */ u.jsxs(uo, { ...o, children: [
|
|
3561
|
+
/* @__PURE__ */ u.jsxs("div", { className: "al-grid al-gap-1", children: [
|
|
3563
3562
|
n && /* @__PURE__ */ u.jsx(mo, { children: n }),
|
|
3564
3563
|
a && /* @__PURE__ */ u.jsx(ho, { children: a })
|
|
3565
3564
|
] }),
|
|
@@ -8426,30 +8425,55 @@ function Tg({
|
|
|
8426
8425
|
}
|
|
8427
8426
|
) }) });
|
|
8428
8427
|
}
|
|
8428
|
+
function Eg({ className: e, ...t }) {
|
|
8429
|
+
return /* @__PURE__ */ u.jsx(
|
|
8430
|
+
"kbd",
|
|
8431
|
+
{
|
|
8432
|
+
"data-slot": "kbd",
|
|
8433
|
+
className: P(
|
|
8434
|
+
"!al-bg-muted al-text-muted-foreground al-pointer-events-none al-inline-flex al-h-5 al-w-fit al-min-w-5 al-items-center al-justify-center al-gap-1 al-rounded-sm al-px-1 al-font-sans al-text-xs al-font-medium al-select-none",
|
|
8435
|
+
"[&_svg:not([class*='size-'])]:al-size-3",
|
|
8436
|
+
"[[data-slot=tooltip-content]_&]:!al-bg-background/20 [[data-slot=tooltip-content]_&]:al-text-background dark:[[data-slot=tooltip-content]_&]:!al-bg-background/10",
|
|
8437
|
+
e
|
|
8438
|
+
),
|
|
8439
|
+
...t
|
|
8440
|
+
}
|
|
8441
|
+
);
|
|
8442
|
+
}
|
|
8443
|
+
function Rg({ className: e, ...t }) {
|
|
8444
|
+
return /* @__PURE__ */ u.jsx(
|
|
8445
|
+
"kbd",
|
|
8446
|
+
{
|
|
8447
|
+
"data-slot": "kbd-group",
|
|
8448
|
+
className: P("al-inline-flex al-items-center al-gap-1", e),
|
|
8449
|
+
...t
|
|
8450
|
+
}
|
|
8451
|
+
);
|
|
8452
|
+
}
|
|
8429
8453
|
export {
|
|
8430
|
-
|
|
8431
|
-
|
|
8432
|
-
|
|
8433
|
-
|
|
8434
|
-
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8443
|
-
|
|
8444
|
-
|
|
8445
|
-
|
|
8446
|
-
|
|
8447
|
-
|
|
8448
|
-
|
|
8454
|
+
Og as Accordion,
|
|
8455
|
+
Ig as AccordionContent,
|
|
8456
|
+
Ag as AccordionItem,
|
|
8457
|
+
jg as AccordionTrigger,
|
|
8458
|
+
Wg as Alert,
|
|
8459
|
+
Lg as AlertDescription,
|
|
8460
|
+
zg as AlertDialog,
|
|
8461
|
+
Fg as AlertDialogAction,
|
|
8462
|
+
$g as AlertDialogCancel,
|
|
8463
|
+
Bg as AlertDialogContent,
|
|
8464
|
+
Hg as AlertDialogDescription,
|
|
8465
|
+
Yg as AlertDialogFooter,
|
|
8466
|
+
Vg as AlertDialogHeader,
|
|
8467
|
+
Gg as AlertDialogOverlay,
|
|
8468
|
+
Kg as AlertDialogPortal,
|
|
8469
|
+
Ug as AlertDialogTitle,
|
|
8470
|
+
qg as AlertDialogTrigger,
|
|
8471
|
+
Xg as AlertTitle,
|
|
8472
|
+
Zg as AutosizeTextarea,
|
|
8449
8473
|
qd as Avatar,
|
|
8450
8474
|
Zd as AvatarFallback,
|
|
8451
8475
|
Xd as AvatarImage,
|
|
8452
|
-
|
|
8476
|
+
Qg as Badge,
|
|
8453
8477
|
Hm as Breadcrumb,
|
|
8454
8478
|
qm as BreadcrumbEllipsis,
|
|
8455
8479
|
Vm as BreadcrumbItem,
|
|
@@ -8462,72 +8486,74 @@ export {
|
|
|
8462
8486
|
Yd as CalendarDayButton,
|
|
8463
8487
|
Rl as Card,
|
|
8464
8488
|
kl as CardContent,
|
|
8465
|
-
|
|
8466
|
-
|
|
8467
|
-
|
|
8468
|
-
|
|
8469
|
-
|
|
8470
|
-
|
|
8471
|
-
|
|
8472
|
-
|
|
8473
|
-
|
|
8474
|
-
|
|
8475
|
-
|
|
8476
|
-
|
|
8477
|
-
|
|
8478
|
-
|
|
8479
|
-
|
|
8480
|
-
|
|
8481
|
-
|
|
8482
|
-
|
|
8483
|
-
|
|
8484
|
-
|
|
8485
|
-
|
|
8486
|
-
|
|
8487
|
-
|
|
8488
|
-
|
|
8489
|
-
|
|
8490
|
-
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
|
|
8489
|
+
Nv as CardDescription,
|
|
8490
|
+
Pv as CardFooter,
|
|
8491
|
+
Dv as CardHeader,
|
|
8492
|
+
Tv as CardTitle,
|
|
8493
|
+
Jg as Carousel,
|
|
8494
|
+
eb as CarouselContent,
|
|
8495
|
+
tb as CarouselItem,
|
|
8496
|
+
nb as CarouselNext,
|
|
8497
|
+
ab as CarouselPrevious,
|
|
8498
|
+
Ev as Checkbox,
|
|
8499
|
+
rb as Combobox,
|
|
8500
|
+
ob as ComboboxInner,
|
|
8501
|
+
sb as Command,
|
|
8502
|
+
ib as CommandDialog,
|
|
8503
|
+
lb as CommandEmpty,
|
|
8504
|
+
cb as CommandGroup,
|
|
8505
|
+
ub as CommandInput,
|
|
8506
|
+
db as CommandItem,
|
|
8507
|
+
fb as CommandList,
|
|
8508
|
+
mb as CommandSeparator,
|
|
8509
|
+
hb as CommandShortcut,
|
|
8510
|
+
pb as DebouncedInput,
|
|
8511
|
+
Rv as Dialog,
|
|
8512
|
+
kv as DialogClose,
|
|
8513
|
+
_v as DialogContent,
|
|
8514
|
+
Ov as DialogDescription,
|
|
8515
|
+
Iv as DialogFooter,
|
|
8516
|
+
Av as DialogHeader,
|
|
8517
|
+
jv as DialogOverlay,
|
|
8518
|
+
Wv as DialogPortal,
|
|
8519
|
+
Lv as DialogTitle,
|
|
8520
|
+
zv as DialogTrigger,
|
|
8497
8521
|
Tg as DragAndDropFileUpload,
|
|
8498
|
-
|
|
8499
|
-
|
|
8500
|
-
|
|
8501
|
-
|
|
8502
|
-
|
|
8503
|
-
|
|
8504
|
-
|
|
8505
|
-
|
|
8506
|
-
|
|
8507
|
-
|
|
8508
|
-
|
|
8509
|
-
|
|
8510
|
-
|
|
8511
|
-
|
|
8512
|
-
|
|
8513
|
-
|
|
8514
|
-
|
|
8515
|
-
|
|
8516
|
-
|
|
8517
|
-
|
|
8518
|
-
|
|
8519
|
-
|
|
8522
|
+
gb as DropdownMenu,
|
|
8523
|
+
bb as DropdownMenuCheckboxItem,
|
|
8524
|
+
vb as DropdownMenuContent,
|
|
8525
|
+
wb as DropdownMenuGroup,
|
|
8526
|
+
yb as DropdownMenuItem,
|
|
8527
|
+
xb as DropdownMenuLabel,
|
|
8528
|
+
Sb as DropdownMenuPortal,
|
|
8529
|
+
Mb as DropdownMenuRadioGroup,
|
|
8530
|
+
Cb as DropdownMenuRadioItem,
|
|
8531
|
+
Nb as DropdownMenuSeparator,
|
|
8532
|
+
Pb as DropdownMenuShortcut,
|
|
8533
|
+
Db as DropdownMenuSub,
|
|
8534
|
+
Tb as DropdownMenuSubContent,
|
|
8535
|
+
Eb as DropdownMenuSubTrigger,
|
|
8536
|
+
Rb as DropdownMenuTrigger,
|
|
8537
|
+
kb as Form,
|
|
8538
|
+
_b as FormControl,
|
|
8539
|
+
Ob as FormDescription,
|
|
8540
|
+
Ib as FormField,
|
|
8541
|
+
Ab as FormItem,
|
|
8542
|
+
jb as FormLabel,
|
|
8543
|
+
Wb as FormMessage,
|
|
8520
8544
|
Pg as HoverCard,
|
|
8521
8545
|
tg as HoverCardContent,
|
|
8522
8546
|
Dg as HoverCardTrigger,
|
|
8523
8547
|
bl as Input,
|
|
8524
|
-
|
|
8525
|
-
|
|
8526
|
-
|
|
8527
|
-
|
|
8528
|
-
|
|
8529
|
-
|
|
8530
|
-
|
|
8548
|
+
Lb as InputGroup,
|
|
8549
|
+
zb as InputGroupAddon,
|
|
8550
|
+
Fb as InputGroupButton,
|
|
8551
|
+
$b as InputGroupInput,
|
|
8552
|
+
Bb as InputGroupText,
|
|
8553
|
+
Hb as InputGroupTextarea,
|
|
8554
|
+
Eg as Kbd,
|
|
8555
|
+
Rg as KbdGroup,
|
|
8556
|
+
Fv as Label,
|
|
8531
8557
|
zh as Menubar,
|
|
8532
8558
|
Vh as MenubarCheckboxItem,
|
|
8533
8559
|
Hh as MenubarContent,
|
|
@@ -8544,7 +8570,7 @@ export {
|
|
|
8544
8570
|
Bh as MenubarSubContent,
|
|
8545
8571
|
$h as MenubarSubTrigger,
|
|
8546
8572
|
Fh as MenubarTrigger,
|
|
8547
|
-
|
|
8573
|
+
Yb as NativeSelect,
|
|
8548
8574
|
Ir as PREDEFINED_RANGES,
|
|
8549
8575
|
Xh as Pagination,
|
|
8550
8576
|
Zh as PaginationContent,
|
|
@@ -8554,38 +8580,38 @@ export {
|
|
|
8554
8580
|
ep as PaginationNext,
|
|
8555
8581
|
Jh as PaginationPrevious,
|
|
8556
8582
|
ll as Popover,
|
|
8557
|
-
|
|
8583
|
+
$v as PopoverClose,
|
|
8558
8584
|
ul as PopoverContent,
|
|
8559
8585
|
cl as PopoverTrigger,
|
|
8560
8586
|
Df as Progress,
|
|
8561
|
-
|
|
8562
|
-
|
|
8587
|
+
Bv as RadioGroup,
|
|
8588
|
+
Hv as RadioGroupItem,
|
|
8563
8589
|
Sg as ResizableHandle,
|
|
8564
8590
|
xg as ResizablePanel,
|
|
8565
8591
|
yg as ResizablePanelGroup,
|
|
8566
8592
|
Vp as ScrollArea,
|
|
8567
8593
|
Xn as ScrollBar,
|
|
8568
|
-
|
|
8569
|
-
|
|
8570
|
-
|
|
8571
|
-
|
|
8572
|
-
|
|
8573
|
-
|
|
8574
|
-
|
|
8575
|
-
|
|
8576
|
-
|
|
8577
|
-
|
|
8594
|
+
Vb as Select,
|
|
8595
|
+
Gb as SelectContent,
|
|
8596
|
+
Kb as SelectGroup,
|
|
8597
|
+
Ub as SelectItem,
|
|
8598
|
+
qb as SelectLabel,
|
|
8599
|
+
Xb as SelectScrollDownButton,
|
|
8600
|
+
Zb as SelectScrollUpButton,
|
|
8601
|
+
Qb as SelectSeparator,
|
|
8602
|
+
Jb as SelectTrigger,
|
|
8603
|
+
ev as SelectValue,
|
|
8578
8604
|
So as Separator,
|
|
8579
8605
|
Hi as Sheet,
|
|
8580
|
-
|
|
8606
|
+
tv as SheetClose,
|
|
8581
8607
|
Yi as SheetContent,
|
|
8582
|
-
|
|
8583
|
-
|
|
8584
|
-
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
|
|
8588
|
-
|
|
8608
|
+
nv as SheetDescription,
|
|
8609
|
+
av as SheetFooter,
|
|
8610
|
+
rv as SheetHeader,
|
|
8611
|
+
ov as SheetOverlay,
|
|
8612
|
+
sv as SheetPortal,
|
|
8613
|
+
iv as SheetTitle,
|
|
8614
|
+
lv as SheetTrigger,
|
|
8589
8615
|
zf as Sidebar,
|
|
8590
8616
|
Kf as SidebarContent,
|
|
8591
8617
|
Vf as SidebarFooter,
|
|
@@ -8611,19 +8637,19 @@ export {
|
|
|
8611
8637
|
Ff as SidebarTrigger,
|
|
8612
8638
|
Ga as Skeleton,
|
|
8613
8639
|
hh as Slider,
|
|
8614
|
-
|
|
8640
|
+
Kv as Switch,
|
|
8615
8641
|
sg as TZDateRange,
|
|
8616
8642
|
zm as Tabs,
|
|
8617
8643
|
Bm as TabsContent,
|
|
8618
8644
|
Fm as TabsList,
|
|
8619
8645
|
$m as TabsTrigger,
|
|
8620
|
-
|
|
8621
|
-
|
|
8622
|
-
|
|
8623
|
-
|
|
8624
|
-
|
|
8625
|
-
|
|
8626
|
-
|
|
8646
|
+
cv as TagsInput,
|
|
8647
|
+
uv as TagsInputClear,
|
|
8648
|
+
dv as TagsInputInput,
|
|
8649
|
+
fv as TagsInputItem,
|
|
8650
|
+
mv as TagsInputLabel,
|
|
8651
|
+
hv as TagsInputList,
|
|
8652
|
+
Yv as Textarea,
|
|
8627
8653
|
uo as Toast,
|
|
8628
8654
|
wf as ToastAction,
|
|
8629
8655
|
fo as ToastClose,
|
|
@@ -8632,23 +8658,23 @@ export {
|
|
|
8632
8658
|
mo as ToastTitle,
|
|
8633
8659
|
co as ToastViewport,
|
|
8634
8660
|
cg as Toaster,
|
|
8635
|
-
|
|
8636
|
-
|
|
8637
|
-
|
|
8638
|
-
|
|
8661
|
+
pv as Toggle,
|
|
8662
|
+
gv as ToggleGroup,
|
|
8663
|
+
bv as ToggleGroupItem,
|
|
8664
|
+
Vv as Tooltip,
|
|
8639
8665
|
yl as TooltipContent,
|
|
8640
8666
|
vl as TooltipCore,
|
|
8641
8667
|
gl as TooltipProvider,
|
|
8642
8668
|
wl as TooltipTrigger,
|
|
8643
8669
|
dl as Typography,
|
|
8644
|
-
|
|
8670
|
+
vv as badgeVariants,
|
|
8645
8671
|
An as buttonVariants,
|
|
8646
|
-
|
|
8672
|
+
wv as reducer,
|
|
8647
8673
|
jm as tabsVariants,
|
|
8648
|
-
|
|
8649
|
-
|
|
8650
|
-
|
|
8651
|
-
|
|
8674
|
+
yv as toast,
|
|
8675
|
+
xv as toggleVariants,
|
|
8676
|
+
Sv as useAutosizeTextArea,
|
|
8677
|
+
Mv as useFormField,
|
|
8652
8678
|
ln as useSidebar,
|
|
8653
8679
|
Bi as useToast
|
|
8654
8680
|
};
|
|
@@ -117,7 +117,6 @@ interface ChatbotProps {
|
|
|
117
117
|
classNames?: {
|
|
118
118
|
chatbot?: string;
|
|
119
119
|
chatMessages?: string;
|
|
120
|
-
messageItem?: string;
|
|
121
120
|
};
|
|
122
121
|
initialMessage?: string;
|
|
123
122
|
submitInitialMessageOnMount?: boolean;
|
|
@@ -247,7 +246,6 @@ interface ChatState {
|
|
|
247
246
|
classNames?: {
|
|
248
247
|
chatbot?: string;
|
|
249
248
|
chatMessages?: string;
|
|
250
|
-
messageItem?: string;
|
|
251
249
|
};
|
|
252
250
|
}
|
|
253
251
|
declare const todoItemSchema: z.ZodObject<{
|