@altimateai/ui-components 0.0.76 → 0.0.77-beta.2

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/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, { variant: "body", children: e.description })
4499
+ /* @__PURE__ */ h.jsx(ft, { children: e.description })
4500
4500
  ] })
4501
4501
  ] }),
4502
4502
  /* @__PURE__ */ h.jsxs(oe, { justify: "between", align: "center", children: [
@@ -1,4 +1,4 @@
1
- import { a as Button, B as ButtonProps, b as ButtonSize } from '../Button-42Dj_nRE.js';
1
+ import { a as Button, B as ButtonProps, b as ButtonSize$1 } 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,18 +282,34 @@ 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 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;
285
+ type HeadingVariant = "h1" | "h2" | "h3" | "h4";
286
+ type HeadingWeight = "medium" | "semibold";
287
+ type BodyWeight = "regular" | "medium";
288
+ type BodySize = "lg" | "regular" | "sm" | "xs" | "xxs";
289
+ type ButtonSize = "xs" | "sm" | "md";
290
+ type PlaceholderSize = "regular" | "large";
291
+ type SemanticVariant = "page-heading" | "section-heading";
292
+ type TypographyVariant = HeadingVariant | "body" | "button" | "table-header" | "placeholder" | "subheading" | "caption" | SemanticVariant;
293
+ type WeightForVariant<V extends TypographyVariant> = V extends HeadingVariant | "subheading" | "table-header" ? HeadingWeight : V extends "body" | "caption" ? BodyWeight : never;
294
+ interface BaseProps {
290
295
  children: React.ReactNode;
291
296
  className?: string;
292
- weight?: FontWeight;
293
- size?: FontSize;
294
297
  role?: AriaRole | undefined;
295
298
  }
296
- declare const Typography: ({ variant, children, className, weight, size, role, }: TypographyProps) => react_jsx_runtime.JSX.Element;
299
+ type TypographyProps<V extends TypographyVariant = "body"> = BaseProps & (V extends SemanticVariant ? {
300
+ variant: V;
301
+ } : // Other variants can have weight and optionally size
302
+ {
303
+ variant?: V;
304
+ weight?: WeightForVariant<V>;
305
+ } & (V extends HeadingVariant | "subheading" | "table-header" ? {} : V extends "button" ? {
306
+ size?: ButtonSize;
307
+ } : V extends "placeholder" ? {
308
+ size?: PlaceholderSize;
309
+ } : V extends "body" | "caption" ? {
310
+ size?: BodySize;
311
+ } : {}));
312
+ declare const Typography: <V extends TypographyVariant = "body">(props: TypographyProps<V>) => react_jsx_runtime.JSX.Element;
297
313
 
298
314
  declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
299
315
  declare const TooltipCore: React$1.FC<TooltipPrimitive.TooltipProps>;
@@ -516,7 +532,7 @@ declare const SidebarTrigger: React$1.ForwardRefExoticComponent<Omit<React$1.But
516
532
  } & class_variance_authority_types.ClassProp) | undefined) => string>, "size"> & {
517
533
  asChild?: boolean;
518
534
  } & {
519
- size?: ButtonSize | undefined;
535
+ size?: ButtonSize$1 | undefined;
520
536
  title?: string;
521
537
  } & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
522
538
  declare const SidebarRail: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
@@ -657,7 +673,7 @@ declare const PaginationContent: React$1.ForwardRefExoticComponent<Omit<React$1.
657
673
  declare const PaginationItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
658
674
  type PaginationLinkProps = {
659
675
  isActive?: boolean;
660
- size?: ButtonSize;
676
+ size?: ButtonSize$1;
661
677
  } & React$1.ComponentProps<"a">;
662
678
  declare const PaginationLink: {
663
679
  ({ className, isActive, size, children, "aria-label": ariaLabel, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
@@ -739,4 +755,4 @@ declare function ToggleGroup({ className, variant, size, spacing, children, ...p
739
755
  }): react_jsx_runtime.JSX.Element;
740
756
  declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
741
757
 
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 };
758
+ 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$1 as 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 };
@@ -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, { className: "al-leading-5", size: "sm", children: [
2951
+ /* @__PURE__ */ u.jsxs(pl, { size: "sm", className: "al-leading-5", children: [
2952
2952
  /* @__PURE__ */ u.jsx("span", { className: "al-font-semibold", children: "Timezone:" }),
2953
2953
  " ",
2954
2954
  n
@@ -15,22 +15,13 @@ type Story = StoryObj<typeof meta>;
15
15
  export const Typography: Story = {
16
16
  args: {
17
17
  variant: "h1",
18
- weight: "regular",
19
- size: "md",
18
+ weight: "semibold",
20
19
  children: "Heading 1",
21
20
  },
22
21
  render: () => (
23
22
  <div className="space-y-8">
24
- {/* Heading 1 Variations */}
23
+ {/* Heading 1 Variations - Only Medium & Semibold */}
25
24
  <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>
34
25
  <Component variant="h1" weight="medium">
35
26
  Heading 1 <br />
36
27
  Medium
@@ -39,25 +30,13 @@ export const Typography: Story = {
39
30
  Heading 1 <br />
40
31
  Semibold
41
32
  </Component>
42
- <Component variant="h1" weight="bold">
43
- Heading 1 <br />
44
- Bold
45
- </Component>
46
33
  <Component variant="caption" className="text-gray-500">
47
- 32px / Line height: 32px
34
+ 30px / Line height: 38px
48
35
  </Component>
49
36
  </div>
50
37
 
51
- {/* Heading 2 Variations */}
38
+ {/* Heading 2 Variations - Only Medium & Semibold */}
52
39
  <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>
61
40
  <Component variant="h2" weight="medium">
62
41
  Heading 2 <br />
63
42
  Medium
@@ -66,25 +45,13 @@ export const Typography: Story = {
66
45
  Heading 2 <br />
67
46
  Semibold
68
47
  </Component>
69
- <Component variant="h2" weight="bold">
70
- Heading 2 <br />
71
- Bold
72
- </Component>
73
48
  <Component variant="caption" className="text-gray-500">
74
49
  24px / Line height: 32px
75
50
  </Component>
76
51
  </div>
77
52
 
78
- {/* Heading 3 Variations */}
53
+ {/* Heading 3 Variations - Only Medium & Semibold */}
79
54
  <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>
88
55
  <Component variant="h3" weight="medium">
89
56
  Heading 3 <br />
90
57
  Medium
@@ -93,25 +60,13 @@ export const Typography: Story = {
93
60
  Heading 3 <br />
94
61
  Semibold
95
62
  </Component>
96
- <Component variant="h3" weight="bold">
97
- Heading 3 <br />
98
- Bold
99
- </Component>
100
63
  <Component variant="caption" className="text-gray-500">
101
- 18px / Line height: 26px
64
+ 20px / Line height: 24px
102
65
  </Component>
103
66
  </div>
104
67
 
105
- {/* Heading 4 Variations */}
68
+ {/* Heading 4 Variations - Only Medium & Semibold */}
106
69
  <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>
115
70
  <Component variant="h4" weight="medium">
116
71
  Heading 4 <br />
117
72
  Medium
@@ -120,25 +75,13 @@ export const Typography: Story = {
120
75
  Heading 4 <br />
121
76
  Semibold
122
77
  </Component>
123
- <Component variant="h4" weight="bold">
124
- Heading 4 <br />
125
- Bold
126
- </Component>
127
78
  <Component variant="caption" className="text-gray-500">
128
79
  16px / Line height: 24px
129
80
  </Component>
130
81
  </div>
131
82
 
132
- {/* Subheading Variations */}
83
+ {/* Subheading Variations - Only Medium & Semibold */}
133
84
  <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>
142
85
  <Component variant="subheading" weight="medium">
143
86
  Sub heading <br />
144
87
  Medium
@@ -147,56 +90,140 @@ export const Typography: Story = {
147
90
  Sub heading <br />
148
91
  Semibold
149
92
  </Component>
150
- <Component variant="subheading" weight="bold">
151
- Sub heading <br />
152
- Bold
153
- </Component>
154
93
  <Component variant="caption" className="text-gray-500">
155
94
  14px / Line height: 20px
156
95
  </Component>
157
96
  </div>
158
97
 
159
- {/* Body/Paragraph Example */}
98
+ {/* Body Text - Regular Weight */}
160
99
  <div className="al-border al-flex al-justify-between al-p-4 al-my-2">
161
- <Component variant="body" size="xs">
162
- Body XS <br /> Regular
100
+ <Component variant="body" weight="regular" size="lg">
101
+ Body Large <br /> Regular
163
102
  </Component>
164
- <Component variant="body" size="sm">
165
- Body SM <br /> Regular
103
+ <Component variant="body" weight="regular" size="regular">
104
+ Body Regular <br /> Regular
166
105
  </Component>
167
- <Component variant="body" size="md">
168
- Body MD <br /> Regular
106
+ <Component variant="body" weight="regular" size="sm">
107
+ Body Small <br /> Regular
169
108
  </Component>
170
- <Component variant="body" size="lg">
171
- Body LG <br /> Regular
109
+ <Component variant="body" weight="regular" size="xs">
110
+ Body X-Small <br /> Regular
172
111
  </Component>
173
- <Component variant="body" size="xl">
174
- Body XL <br /> Regular
112
+ <Component weight="regular" size="xxs">
113
+ Body XX-Small <br /> Regular
175
114
  </Component>
176
115
  <Component variant="caption" className="text-gray-500">
177
- 14px, 10px, 8px | Line height: 18px, 16px, 14px
116
+ 18px/24px, 16px/24px, 14px/20px, 12px/18px, 10px/14px
178
117
  </Component>
179
118
  </div>
180
119
 
181
- {/* Caption Example */}
120
+ {/* Body Text - Medium Weight */}
182
121
  <div className="al-border al-flex al-justify-between al-p-4 al-my-2">
183
- <Component variant="caption" size="xs">
184
- Caption XS <br /> Regular
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
185
127
  </Component>
186
- <Component variant="caption" size="sm">
187
- Caption SM <br /> Regular
128
+ <Component variant="body" weight="medium" size="sm">
129
+ Body Small <br /> Medium
188
130
  </Component>
189
- <Component variant="caption" weight="medium" size="sm">
190
- Caption SM <br /> Medium
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
136
+ </Component>
137
+ <Component variant="caption" className="text-gray-500">
138
+ For emphasis, key values, important inline text
139
+ </Component>
140
+ </div>
141
+
142
+ {/* Caption - Base Size Only (8px/16px) */}
143
+ <div className="al-border al-flex al-justify-between al-p-4 al-my-2">
144
+ <Component variant="caption">
145
+ Caption <br /> Base Size
146
+ </Component>
147
+ <Component variant="caption" className="text-gray-500">
148
+ 8px/16px - For extremely tiny metadata only
191
149
  </Component>
192
- <Component variant="caption" weight="medium" size="md">
193
- Caption MD <br /> Medium
150
+ <Component variant="caption" className="text-gray-500">
151
+ Note: For all other sizes, use variant=&quot;body&quot;
152
+ </Component>
153
+ </div>
154
+
155
+ {/* Semantic Variants 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
+ Semantic Variants
159
+ </Component>
160
+ <Component variant="caption" className="text-gray-500 al-mb-4 al-block">
161
+ Pre-configured variants for consistent page structure. No weight/size props allowed.
162
+ </Component>
163
+ </div>
164
+
165
+ {/* Page Heading - Fixed H2 Semibold */}
166
+ <div className="al-border al-flex al-justify-between al-p-4 al-my-2">
167
+ <Component variant="page-heading">Page Heading</Component>
168
+ <Component variant="caption" className="text-gray-500">
169
+ H2 + Semibold (fixed) - Use for main page titles
170
+ </Component>
171
+ </div>
172
+
173
+ {/* Section Heading - Fixed H3 Medium */}
174
+ <div className="al-border al-flex al-justify-between al-p-4 al-my-2">
175
+ <Component variant="section-heading">Section Heading</Component>
176
+ <Component variant="caption" className="text-gray-500">
177
+ H3 + Medium (fixed) - Use for section titles within a page
178
+ </Component>
179
+ </div>
180
+
181
+ {/* Utilities Section Header */}
182
+ <div className="al-border-t-2 al-pt-8 al-mt-8">
183
+ <Component variant="h2" weight="semibold" className="al-mb-4">
184
+ Utility Variants
185
+ </Component>
186
+ </div>
187
+
188
+ {/* Button Text Utility - 3 sizes, fixed Medium weight */}
189
+ <div className="al-border al-flex al-justify-between al-p-4 al-my-2">
190
+ <Component variant="button" size="xs">
191
+ Button XS <br /> (12px/16px)
192
+ </Component>
193
+ <Component variant="button" size="sm">
194
+ Button SM <br /> (14px/20px)
195
+ </Component>
196
+ <Component variant="button" size="md">
197
+ Button MD <br /> (16px/24px)
198
+ </Component>
199
+ <Component variant="caption" className="text-gray-500">
200
+ Button text utility - Fixed Medium weight (500)
201
+ </Component>
202
+ </div>
203
+
204
+ {/* Table Header Utility - Fixed size, 2 weights */}
205
+ <div className="al-border al-flex al-justify-between al-p-4 al-my-2">
206
+ <Component variant="table-header" weight="medium">
207
+ Table Header <br /> Medium
208
+ </Component>
209
+ <Component variant="table-header" weight="semibold">
210
+ Table Header <br /> Semibold
211
+ </Component>
212
+ <Component variant="caption" className="text-gray-500">
213
+ 12px/18px - For table column headers
214
+ </Component>
215
+ </div>
216
+
217
+ {/* Placeholder Utility - 2 sizes, fixed Regular weight, auto-italic */}
218
+ <div className="al-border al-flex al-justify-between al-p-4 al-my-2">
219
+ <Component variant="placeholder" size="regular">
220
+ Placeholder Regular <br /> (14px/20px)
194
221
  </Component>
195
- <Component variant="caption" weight="medium" size="lg">
196
- Caption LG <br /> Medium
222
+ <Component variant="placeholder" size="large">
223
+ Placeholder Large <br /> (16px/24px)
197
224
  </Component>
198
225
  <Component variant="caption" className="text-gray-500">
199
- 14px, 10px | Line height: 18px, 16px
226
+ Italic placeholder text - Fixed Regular weight (400)
200
227
  </Component>
201
228
  </div>
202
229
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altimateai/ui-components",
3
- "version": "0.0.76",
3
+ "version": "0.0.77-beta.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/AltimateAI/altimate-components.git"