@altimateai/ui-components 0.0.75-beta.1 → 0.0.76
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 +22944 -16319
- package/dist/Stack.js +27 -53
- package/dist/ToggleGroup.js +2 -2
- package/dist/chatbotV2/index.d.ts +46 -3
- package/dist/index.d.ts +2 -2
- package/dist/lineage/index.js +367 -367
- package/dist/main.js +1 -1
- package/dist/shadcn/index.d.ts +12 -24
- package/dist/shadcn/index.js +2 -9
- package/dist/storybook/Typography.stories.tsx +93 -94
- package/dist/{types-dxSjfpqi.d.ts → types-ByRPUpXR.d.ts} +5 -5
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -4496,7 +4496,7 @@ const Hi = {
|
|
|
4496
4496
|
/* @__PURE__ */ h.jsx("img", { alt: "Teammate", src: e.avatar, className: "al-w-16 al-h-16 al-rounded" }),
|
|
4497
4497
|
/* @__PURE__ */ h.jsxs("div", { className: "al-ml-2 al-mt-2", children: [
|
|
4498
4498
|
/* @__PURE__ */ h.jsx(ft, { variant: "subheading", children: e.name }),
|
|
4499
|
-
/* @__PURE__ */ h.jsx(ft, { children: e.description })
|
|
4499
|
+
/* @__PURE__ */ h.jsx(ft, { variant: "body", children: e.description })
|
|
4500
4500
|
] })
|
|
4501
4501
|
] }),
|
|
4502
4502
|
/* @__PURE__ */ h.jsxs(oe, { justify: "between", align: "center", children: [
|
package/dist/shadcn/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Button, B as ButtonProps, b as ButtonSize
|
|
1
|
+
import { a as Button, B as ButtonProps, b as ButtonSize } from '../Button-42Dj_nRE.js';
|
|
2
2
|
export { c as buttonVariants } from '../Button-42Dj_nRE.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { DayPicker, DayButton, DateRange } from 'react-day-picker';
|
|
@@ -282,30 +282,18 @@ declare const DialogFooter: {
|
|
|
282
282
|
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
283
283
|
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
284
284
|
|
|
285
|
-
type
|
|
286
|
-
type
|
|
287
|
-
type
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
type PlaceholderSize = "regular" | "large";
|
|
291
|
-
type TypographyVariant = HeadingVariant | "body" | "button" | "table-header" | "placeholder" | "subheading" | "caption";
|
|
292
|
-
type WeightForVariant<V extends TypographyVariant> = V extends HeadingVariant | "subheading" | "table-header" ? HeadingWeight : V extends "body" | "caption" ? BodyWeight : never;
|
|
293
|
-
interface BaseProps {
|
|
285
|
+
type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "subheading" | "body" | "caption";
|
|
286
|
+
type FontWeight = "light" | "regular" | "medium" | "semibold" | "bold";
|
|
287
|
+
type FontSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
288
|
+
interface TypographyProps {
|
|
289
|
+
variant?: TypographyVariant;
|
|
294
290
|
children: React.ReactNode;
|
|
295
291
|
className?: string;
|
|
292
|
+
weight?: FontWeight;
|
|
293
|
+
size?: FontSize;
|
|
296
294
|
role?: AriaRole | undefined;
|
|
297
295
|
}
|
|
298
|
-
|
|
299
|
-
variant?: V;
|
|
300
|
-
weight?: WeightForVariant<V>;
|
|
301
|
-
} & (V extends HeadingVariant | "subheading" | "table-header" ? {} : V extends "button" ? {
|
|
302
|
-
size?: ButtonSize;
|
|
303
|
-
} : V extends "placeholder" ? {
|
|
304
|
-
size?: PlaceholderSize;
|
|
305
|
-
} : V extends "body" | "caption" ? {
|
|
306
|
-
size?: BodySize;
|
|
307
|
-
} : {});
|
|
308
|
-
declare const Typography: <V extends TypographyVariant = "body">(props: TypographyProps<V>) => react_jsx_runtime.JSX.Element;
|
|
296
|
+
declare const Typography: ({ variant, children, className, weight, size, role, }: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
309
297
|
|
|
310
298
|
declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
311
299
|
declare const TooltipCore: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
@@ -528,7 +516,7 @@ declare const SidebarTrigger: React$1.ForwardRefExoticComponent<Omit<React$1.But
|
|
|
528
516
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "size"> & {
|
|
529
517
|
asChild?: boolean;
|
|
530
518
|
} & {
|
|
531
|
-
size?: ButtonSize
|
|
519
|
+
size?: ButtonSize | undefined;
|
|
532
520
|
title?: string;
|
|
533
521
|
} & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
534
522
|
declare const SidebarRail: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -669,7 +657,7 @@ declare const PaginationContent: React$1.ForwardRefExoticComponent<Omit<React$1.
|
|
|
669
657
|
declare const PaginationItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
670
658
|
type PaginationLinkProps = {
|
|
671
659
|
isActive?: boolean;
|
|
672
|
-
size?: ButtonSize
|
|
660
|
+
size?: ButtonSize;
|
|
673
661
|
} & React$1.ComponentProps<"a">;
|
|
674
662
|
declare const PaginationLink: {
|
|
675
663
|
({ className, isActive, size, children, "aria-label": ariaLabel, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
@@ -751,4 +739,4 @@ declare function ToggleGroup({ className, variant, size, spacing, children, ...p
|
|
|
751
739
|
}): react_jsx_runtime.JSX.Element;
|
|
752
740
|
declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
753
741
|
|
|
754
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AutosizeTextAreaRef, AutosizeTextarea, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonProps, ButtonSize
|
|
742
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AutosizeTextAreaRef, AutosizeTextarea, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonProps, ButtonSize, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Combobox, ComboboxInner, type ComboboxOption, type ComboboxRef, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DebouncedInput, type DebouncedInputProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DragAndDropFileUpload, type DragAndDropFileUploadProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputPassword, type InputPasswordProps, type InputProps, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, type Option, PREDEFINED_RANGES, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Switch, TZDateRange, Tabs, TabsContent, TabsList, type TabsProps, TabsTrigger, TagsInput, TagsInputClear, TagsInputInput, TagsInputItem, TagsInputLabel, TagsInputList, Textarea, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipCore, TooltipProvider, TooltipTrigger, Typography, badgeVariants, reducer, tabsVariants, toast, toggleVariants, useAutosizeTextArea, useFormField, useSidebar, useToast };
|
package/dist/shadcn/index.js
CHANGED
|
@@ -2948,7 +2948,7 @@ const Fa = (e, t) => {
|
|
|
2948
2948
|
)
|
|
2949
2949
|
] }),
|
|
2950
2950
|
/* @__PURE__ */ u.jsxs(Bt, { justify: "between", className: "al-p-4 al-border-t", children: [
|
|
2951
|
-
/* @__PURE__ */ u.jsxs(pl, {
|
|
2951
|
+
/* @__PURE__ */ u.jsxs(pl, { className: "al-leading-5", size: "sm", children: [
|
|
2952
2952
|
/* @__PURE__ */ u.jsx("span", { className: "al-font-semibold", children: "Timezone:" }),
|
|
2953
2953
|
" ",
|
|
2954
2954
|
n
|
|
@@ -2968,14 +2968,7 @@ const Qd = [["path", { d: "M10.585 10.587a2 2 0 0 0 2.829 2.828", key: "svg-0" }
|
|
|
2968
2968
|
({ className: e, ...t }, n) => {
|
|
2969
2969
|
const [a, r] = Ne(!1);
|
|
2970
2970
|
return /* @__PURE__ */ u.jsxs(Bi, { className: e, children: [
|
|
2971
|
-
/* @__PURE__ */ u.jsx(
|
|
2972
|
-
Hi,
|
|
2973
|
-
{
|
|
2974
|
-
ref: n,
|
|
2975
|
-
type: a ? "text" : "password",
|
|
2976
|
-
...t
|
|
2977
|
-
}
|
|
2978
|
-
),
|
|
2971
|
+
/* @__PURE__ */ u.jsx(Hi, { ref: n, type: a ? "text" : "password", ...t }),
|
|
2979
2972
|
/* @__PURE__ */ u.jsx(Yi, { align: "inline-end", children: /* @__PURE__ */ u.jsx(
|
|
2980
2973
|
Vi,
|
|
2981
2974
|
{
|
|
@@ -15,13 +15,22 @@ type Story = StoryObj<typeof meta>;
|
|
|
15
15
|
export const Typography: Story = {
|
|
16
16
|
args: {
|
|
17
17
|
variant: "h1",
|
|
18
|
-
weight: "
|
|
18
|
+
weight: "regular",
|
|
19
|
+
size: "md",
|
|
19
20
|
children: "Heading 1",
|
|
20
21
|
},
|
|
21
22
|
render: () => (
|
|
22
23
|
<div className="space-y-8">
|
|
23
|
-
{/* Heading 1 Variations
|
|
24
|
+
{/* Heading 1 Variations */}
|
|
24
25
|
<div className="al-border al-flex al-justify-between al-p-4 al-my-2">
|
|
26
|
+
<Component variant="h1" weight="light">
|
|
27
|
+
Heading 1
|
|
28
|
+
<br /> Light
|
|
29
|
+
</Component>
|
|
30
|
+
<Component variant="h1" weight="regular">
|
|
31
|
+
Heading 1
|
|
32
|
+
<br /> Regular
|
|
33
|
+
</Component>
|
|
25
34
|
<Component variant="h1" weight="medium">
|
|
26
35
|
Heading 1 <br />
|
|
27
36
|
Medium
|
|
@@ -30,13 +39,25 @@ export const Typography: Story = {
|
|
|
30
39
|
Heading 1 <br />
|
|
31
40
|
Semibold
|
|
32
41
|
</Component>
|
|
42
|
+
<Component variant="h1" weight="bold">
|
|
43
|
+
Heading 1 <br />
|
|
44
|
+
Bold
|
|
45
|
+
</Component>
|
|
33
46
|
<Component variant="caption" className="text-gray-500">
|
|
34
|
-
|
|
47
|
+
32px / Line height: 32px
|
|
35
48
|
</Component>
|
|
36
49
|
</div>
|
|
37
50
|
|
|
38
|
-
{/* Heading 2 Variations
|
|
51
|
+
{/* Heading 2 Variations */}
|
|
39
52
|
<div className="al-border al-flex al-justify-between al-p-4 al-my-2">
|
|
53
|
+
<Component variant="h2" weight="light">
|
|
54
|
+
Heading 2 <br />
|
|
55
|
+
Light
|
|
56
|
+
</Component>
|
|
57
|
+
<Component variant="h2" weight="regular">
|
|
58
|
+
Heading 2 <br />
|
|
59
|
+
Regular
|
|
60
|
+
</Component>
|
|
40
61
|
<Component variant="h2" weight="medium">
|
|
41
62
|
Heading 2 <br />
|
|
42
63
|
Medium
|
|
@@ -45,13 +66,25 @@ export const Typography: Story = {
|
|
|
45
66
|
Heading 2 <br />
|
|
46
67
|
Semibold
|
|
47
68
|
</Component>
|
|
69
|
+
<Component variant="h2" weight="bold">
|
|
70
|
+
Heading 2 <br />
|
|
71
|
+
Bold
|
|
72
|
+
</Component>
|
|
48
73
|
<Component variant="caption" className="text-gray-500">
|
|
49
74
|
24px / Line height: 32px
|
|
50
75
|
</Component>
|
|
51
76
|
</div>
|
|
52
77
|
|
|
53
|
-
{/* Heading 3 Variations
|
|
78
|
+
{/* Heading 3 Variations */}
|
|
54
79
|
<div className="al-border al-flex al-justify-between al-p-4 al-my-2">
|
|
80
|
+
<Component variant="h3" weight="light">
|
|
81
|
+
Heading 3 <br />
|
|
82
|
+
Light
|
|
83
|
+
</Component>
|
|
84
|
+
<Component variant="h3" weight="regular">
|
|
85
|
+
Heading 3 <br />
|
|
86
|
+
Regular
|
|
87
|
+
</Component>
|
|
55
88
|
<Component variant="h3" weight="medium">
|
|
56
89
|
Heading 3 <br />
|
|
57
90
|
Medium
|
|
@@ -60,13 +93,25 @@ export const Typography: Story = {
|
|
|
60
93
|
Heading 3 <br />
|
|
61
94
|
Semibold
|
|
62
95
|
</Component>
|
|
96
|
+
<Component variant="h3" weight="bold">
|
|
97
|
+
Heading 3 <br />
|
|
98
|
+
Bold
|
|
99
|
+
</Component>
|
|
63
100
|
<Component variant="caption" className="text-gray-500">
|
|
64
|
-
|
|
101
|
+
18px / Line height: 26px
|
|
65
102
|
</Component>
|
|
66
103
|
</div>
|
|
67
104
|
|
|
68
|
-
{/* Heading 4 Variations
|
|
105
|
+
{/* Heading 4 Variations */}
|
|
69
106
|
<div className="al-border al-flex al-justify-between al-p-4 al-my-2">
|
|
107
|
+
<Component variant="h4" weight="light">
|
|
108
|
+
Heading 4 <br />
|
|
109
|
+
Light
|
|
110
|
+
</Component>
|
|
111
|
+
<Component variant="h4" weight="regular">
|
|
112
|
+
Heading 4 <br />
|
|
113
|
+
Regular
|
|
114
|
+
</Component>
|
|
70
115
|
<Component variant="h4" weight="medium">
|
|
71
116
|
Heading 4 <br />
|
|
72
117
|
Medium
|
|
@@ -75,13 +120,25 @@ export const Typography: Story = {
|
|
|
75
120
|
Heading 4 <br />
|
|
76
121
|
Semibold
|
|
77
122
|
</Component>
|
|
123
|
+
<Component variant="h4" weight="bold">
|
|
124
|
+
Heading 4 <br />
|
|
125
|
+
Bold
|
|
126
|
+
</Component>
|
|
78
127
|
<Component variant="caption" className="text-gray-500">
|
|
79
128
|
16px / Line height: 24px
|
|
80
129
|
</Component>
|
|
81
130
|
</div>
|
|
82
131
|
|
|
83
|
-
{/* Subheading Variations
|
|
132
|
+
{/* Subheading Variations */}
|
|
84
133
|
<div className="al-border al-flex al-justify-between al-p-4 al-my-2">
|
|
134
|
+
<Component variant="subheading" weight="light">
|
|
135
|
+
Sub heading <br />
|
|
136
|
+
Light
|
|
137
|
+
</Component>
|
|
138
|
+
<Component variant="subheading" weight="regular">
|
|
139
|
+
Sub heading <br />
|
|
140
|
+
Regular
|
|
141
|
+
</Component>
|
|
85
142
|
<Component variant="subheading" weight="medium">
|
|
86
143
|
Sub heading <br />
|
|
87
144
|
Medium
|
|
@@ -90,114 +147,56 @@ export const Typography: Story = {
|
|
|
90
147
|
Sub heading <br />
|
|
91
148
|
Semibold
|
|
92
149
|
</Component>
|
|
93
|
-
<Component variant="
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
</div>
|
|
97
|
-
|
|
98
|
-
{/* Body Text - Regular Weight */}
|
|
99
|
-
<div className="al-border al-flex al-justify-between al-p-4 al-my-2">
|
|
100
|
-
<Component variant="body" weight="regular" size="lg">
|
|
101
|
-
Body Large <br /> Regular
|
|
102
|
-
</Component>
|
|
103
|
-
<Component variant="body" weight="regular" size="regular">
|
|
104
|
-
Body Regular <br /> Regular
|
|
105
|
-
</Component>
|
|
106
|
-
<Component variant="body" weight="regular" size="sm">
|
|
107
|
-
Body Small <br /> Regular
|
|
108
|
-
</Component>
|
|
109
|
-
<Component variant="body" weight="regular" size="xs">
|
|
110
|
-
Body X-Small <br /> Regular
|
|
111
|
-
</Component>
|
|
112
|
-
<Component weight="regular" size="xxs">
|
|
113
|
-
Body XX-Small <br /> Regular
|
|
114
|
-
</Component>
|
|
115
|
-
<Component variant="caption" className="text-gray-500">
|
|
116
|
-
18px/24px, 16px/24px, 14px/20px, 12px/18px, 10px/14px
|
|
117
|
-
</Component>
|
|
118
|
-
</div>
|
|
119
|
-
|
|
120
|
-
{/* Body Text - Medium Weight */}
|
|
121
|
-
<div className="al-border al-flex al-justify-between al-p-4 al-my-2">
|
|
122
|
-
<Component variant="body" weight="medium" size="lg">
|
|
123
|
-
Body Large <br /> Medium
|
|
124
|
-
</Component>
|
|
125
|
-
<Component variant="body" weight="medium" size="regular">
|
|
126
|
-
Body Regular <br /> Medium
|
|
127
|
-
</Component>
|
|
128
|
-
<Component variant="body" weight="medium" size="sm">
|
|
129
|
-
Body Small <br /> Medium
|
|
130
|
-
</Component>
|
|
131
|
-
<Component variant="body" weight="medium" size="xs">
|
|
132
|
-
Body X-Small <br /> Medium
|
|
133
|
-
</Component>
|
|
134
|
-
<Component variant="body" weight="medium" size="xxs">
|
|
135
|
-
Body XX-Small <br /> Medium
|
|
150
|
+
<Component variant="subheading" weight="bold">
|
|
151
|
+
Sub heading <br />
|
|
152
|
+
Bold
|
|
136
153
|
</Component>
|
|
137
154
|
<Component variant="caption" className="text-gray-500">
|
|
138
|
-
|
|
155
|
+
14px / Line height: 20px
|
|
139
156
|
</Component>
|
|
140
157
|
</div>
|
|
141
158
|
|
|
142
|
-
{/*
|
|
159
|
+
{/* Body/Paragraph Example */}
|
|
143
160
|
<div className="al-border al-flex al-justify-between al-p-4 al-my-2">
|
|
144
|
-
<Component variant="
|
|
145
|
-
|
|
161
|
+
<Component variant="body" size="xs">
|
|
162
|
+
Body XS <br /> Regular
|
|
146
163
|
</Component>
|
|
147
|
-
<Component variant="
|
|
148
|
-
|
|
164
|
+
<Component variant="body" size="sm">
|
|
165
|
+
Body SM <br /> Regular
|
|
149
166
|
</Component>
|
|
150
|
-
<Component variant="
|
|
151
|
-
|
|
167
|
+
<Component variant="body" size="md">
|
|
168
|
+
Body MD <br /> Regular
|
|
152
169
|
</Component>
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
{/* Utilities Section Header */}
|
|
156
|
-
<div className="al-border-t-2 al-pt-8 al-mt-8">
|
|
157
|
-
<Component variant="h2" weight="semibold" className="al-mb-4">
|
|
158
|
-
Utility Variants
|
|
170
|
+
<Component variant="body" size="lg">
|
|
171
|
+
Body LG <br /> Regular
|
|
159
172
|
</Component>
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
{/* Button Text Utility - 3 sizes, fixed Medium weight */}
|
|
163
|
-
<div className="al-border al-flex al-justify-between al-p-4 al-my-2">
|
|
164
|
-
<Component variant="button" size="xs">
|
|
165
|
-
Button XS <br /> (12px/16px)
|
|
166
|
-
</Component>
|
|
167
|
-
<Component variant="button" size="sm">
|
|
168
|
-
Button SM <br /> (14px/20px)
|
|
169
|
-
</Component>
|
|
170
|
-
<Component variant="button" size="md">
|
|
171
|
-
Button MD <br /> (16px/24px)
|
|
173
|
+
<Component variant="body" size="xl">
|
|
174
|
+
Body XL <br /> Regular
|
|
172
175
|
</Component>
|
|
173
176
|
<Component variant="caption" className="text-gray-500">
|
|
174
|
-
|
|
177
|
+
14px, 10px, 8px | Line height: 18px, 16px, 14px
|
|
175
178
|
</Component>
|
|
176
179
|
</div>
|
|
177
180
|
|
|
178
|
-
{/*
|
|
181
|
+
{/* Caption Example */}
|
|
179
182
|
<div className="al-border al-flex al-justify-between al-p-4 al-my-2">
|
|
180
|
-
<Component variant="
|
|
181
|
-
|
|
183
|
+
<Component variant="caption" size="xs">
|
|
184
|
+
Caption XS <br /> Regular
|
|
182
185
|
</Component>
|
|
183
|
-
<Component variant="
|
|
184
|
-
|
|
186
|
+
<Component variant="caption" size="sm">
|
|
187
|
+
Caption SM <br /> Regular
|
|
185
188
|
</Component>
|
|
186
|
-
<Component variant="caption"
|
|
187
|
-
|
|
189
|
+
<Component variant="caption" weight="medium" size="sm">
|
|
190
|
+
Caption SM <br /> Medium
|
|
188
191
|
</Component>
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
{/* Placeholder Utility - 2 sizes, fixed Regular weight, auto-italic */}
|
|
192
|
-
<div className="al-border al-flex al-justify-between al-p-4 al-my-2">
|
|
193
|
-
<Component variant="placeholder" size="regular">
|
|
194
|
-
Placeholder Regular <br /> (14px/20px)
|
|
192
|
+
<Component variant="caption" weight="medium" size="md">
|
|
193
|
+
Caption MD <br /> Medium
|
|
195
194
|
</Component>
|
|
196
|
-
<Component variant="
|
|
197
|
-
|
|
195
|
+
<Component variant="caption" weight="medium" size="lg">
|
|
196
|
+
Caption LG <br /> Medium
|
|
198
197
|
</Component>
|
|
199
198
|
<Component variant="caption" className="text-gray-500">
|
|
200
|
-
|
|
199
|
+
14px, 10px | Line height: 18px, 16px
|
|
201
200
|
</Component>
|
|
202
201
|
</div>
|
|
203
202
|
</div>
|
|
@@ -286,7 +286,7 @@ interface FinalResponseData {
|
|
|
286
286
|
}
|
|
287
287
|
declare const agentStreamResponseSchema: z.ZodObject<{
|
|
288
288
|
id: z.ZodOptional<z.ZodString>;
|
|
289
|
-
type: z.ZodEnum<["info", "agent_outcome", "require_user_action", "analysis", "error", "citations", "text", "tool_use", "final_response", "complete", "custom"]>;
|
|
289
|
+
type: z.ZodEnum<["info", "agent_outcome", "require_user_action", "analysis", "error", "citations", "text", "tool_use", "final_response", "complete", "stream_complete", "custom"]>;
|
|
290
290
|
heading: z.ZodOptional<z.ZodString>;
|
|
291
291
|
content: z.ZodOptional<z.ZodString>;
|
|
292
292
|
tool: z.ZodOptional<z.ZodString>;
|
|
@@ -402,7 +402,7 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
402
402
|
}>, "many">>;
|
|
403
403
|
confidence_str: z.ZodOptional<z.ZodString>;
|
|
404
404
|
}, "strip", z.ZodTypeAny, {
|
|
405
|
-
type: "text" | "info" | "error" | "custom" | "analysis" | "complete" | "agent_outcome" | "require_user_action" | "citations" | "tool_use" | "final_response";
|
|
405
|
+
type: "text" | "info" | "error" | "custom" | "analysis" | "complete" | "agent_outcome" | "require_user_action" | "citations" | "tool_use" | "final_response" | "stream_complete";
|
|
406
406
|
id?: string | undefined;
|
|
407
407
|
content?: string | undefined;
|
|
408
408
|
heading?: string | undefined;
|
|
@@ -445,7 +445,7 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
445
445
|
}[] | undefined;
|
|
446
446
|
confidence_str?: string | undefined;
|
|
447
447
|
}, {
|
|
448
|
-
type: "text" | "info" | "error" | "custom" | "analysis" | "complete" | "agent_outcome" | "require_user_action" | "citations" | "tool_use" | "final_response";
|
|
448
|
+
type: "text" | "info" | "error" | "custom" | "analysis" | "complete" | "agent_outcome" | "require_user_action" | "citations" | "tool_use" | "final_response" | "stream_complete";
|
|
449
449
|
id?: string | undefined;
|
|
450
450
|
content?: string | undefined;
|
|
451
451
|
heading?: string | undefined;
|
|
@@ -490,7 +490,7 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
490
490
|
}>;
|
|
491
491
|
interface AgentStreamResponse {
|
|
492
492
|
id?: string;
|
|
493
|
-
type: "info" | "agent_outcome" | "require_user_action" | "analysis" | "error" | "citations" | "text" | "tool_use" | "final_response" | "complete";
|
|
493
|
+
type: "info" | "agent_outcome" | "require_user_action" | "analysis" | "error" | "citations" | "text" | "tool_use" | "final_response" | "complete" | "stream_complete";
|
|
494
494
|
heading?: string;
|
|
495
495
|
content?: string;
|
|
496
496
|
tool?: string;
|
|
@@ -621,4 +621,4 @@ interface Citation {
|
|
|
621
621
|
taskLabel: TaskLabels;
|
|
622
622
|
}
|
|
623
623
|
|
|
624
|
-
export { type Artifact as A, type Datamate as B, type CoachAiResponse as C, type DetectedEntity as D, EntityType as E, type Feedback as F, type EntityDetectionRequest as G, type EntityDetectionResponse as H, type InteractionRequest as I, type Mode as J, type InteractionType as K, type Learning as L, type MessageAttachment as M, type InteractionChoice as N, sessionStatusSchema as O, PersonalizationScope as P, todoItemSchema as Q, type ToolUsageData as R, type SessionStatusEnum as S, TaskLabels as T, type UploadedFile as U, type ProgressUpdate as V, type FinalResponseData as W, agentStreamResponseSchema as X, type TeamMateContextProps as a, type TeamMateState as b, type TeamMateConfig as c, TeamMateActionType as d, TeamMateAvailability as e, type CoachAiConfirmationResponse as f, ContentCategory as g, type TeamMateComponentProps as h, type Citation as i, type ChatbotProps as j, type
|
|
624
|
+
export { type Artifact as A, type Datamate as B, type CoachAiResponse as C, type DetectedEntity as D, EntityType as E, type Feedback as F, type EntityDetectionRequest as G, type EntityDetectionResponse as H, type InteractionRequest as I, type Mode as J, type InteractionType as K, type Learning as L, type MessageAttachment as M, type InteractionChoice as N, sessionStatusSchema as O, PersonalizationScope as P, todoItemSchema as Q, type ToolUsageData as R, type SessionStatusEnum as S, TaskLabels as T, type UploadedFile as U, type ProgressUpdate as V, type FinalResponseData as W, agentStreamResponseSchema as X, type TeamMateContextProps as a, type TeamMateState as b, type TeamMateConfig as c, TeamMateActionType as d, TeamMateAvailability as e, type CoachAiConfirmationResponse as f, ContentCategory as g, type TeamMateComponentProps as h, type Citation as i, type ChatbotProps as j, type ChatSession as k, learningSchema as l, type ChatbotProviderProps as m, type ChatState as n, type ContextOption as o, type ChatMessage as p, type AgentAction as q, type TodoItem as r, type ChatResponse as s, LoadingState as t, type AgentStreamResponse as u, type ChatEventStatus as v, type ChatEvent as w, type AssistantMeta as x, type FileUploadProps as y, type ChatbotUrls as z };
|