@atxp/design-system 0.1.3 → 0.2.1

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/index.d.cts CHANGED
@@ -140,6 +140,54 @@ declare const Avatar: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLD
140
140
  declare const AvatarImage: React.ForwardRefExoticComponent<React.ImgHTMLAttributes<HTMLImageElement> & React.RefAttributes<HTMLImageElement>>;
141
141
  declare const AvatarFallback: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
142
142
 
143
+ /**
144
+ * AvatarGroup Component
145
+ *
146
+ * Displays multiple user avatars in an overlapping group.
147
+ * Each avatar shows with a border for visual separation.
148
+ * Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=5069-7627
149
+ *
150
+ * @example
151
+ * ```tsx
152
+ * <AvatarGroup>
153
+ * <AvatarGroupItem fallback="L" className="bg-orange-100" />
154
+ * <AvatarGroupItem fallback="B" className="bg-green-100" />
155
+ * <AvatarGroupItem fallback="R" className="bg-pink-100" />
156
+ * </AvatarGroup>
157
+ * ```
158
+ */
159
+ declare const avatarGroupVariants: (props?: ({
160
+ size?: "default" | "sm" | "lg" | null | undefined;
161
+ spacing?: "default" | "tight" | "loose" | null | undefined;
162
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
163
+ interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof avatarGroupVariants> {
164
+ }
165
+ declare const AvatarGroup: React.ForwardRefExoticComponent<AvatarGroupProps & React.RefAttributes<HTMLDivElement>>;
166
+ interface AvatarGroupItemProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
167
+ /**
168
+ * URL of the avatar image
169
+ */
170
+ src?: string;
171
+ /**
172
+ * Alt text for the avatar image
173
+ */
174
+ alt?: string;
175
+ /**
176
+ * Fallback text (usually initials)
177
+ */
178
+ fallback: string;
179
+ /**
180
+ * Whether to show a presence indicator (green dot)
181
+ */
182
+ showPresence?: boolean;
183
+ /**
184
+ * Classes for the fallback background/text (e.g., bg-indigo-500 text-white)
185
+ * Defaults to bg-muted text-foreground if not provided
186
+ */
187
+ fallbackClassName?: string;
188
+ }
189
+ declare const AvatarGroupItem: React.ForwardRefExoticComponent<AvatarGroupItemProps & React.RefAttributes<HTMLDivElement>>;
190
+
143
191
  /**
144
192
  * Badge variants using class-variance-authority
145
193
  * Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=620:965
@@ -219,7 +267,7 @@ declare const BreadcrumbEllipsis: {
219
267
  */
220
268
  declare const buttonVariants: (props?: ({
221
269
  variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "success" | "destructive-subtle" | "secondary-outline" | "ghost" | "side-panel" | null | undefined;
222
- size?: "default" | "sm" | "icon" | "lg" | null | undefined;
270
+ size?: "default" | "sm" | "lg" | "icon" | null | undefined;
223
271
  } & class_variance_authority_types.ClassProp) | undefined) => string;
224
272
  interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
225
273
  asChild?: boolean;
@@ -407,6 +455,57 @@ declare const DrawerTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<
407
455
  declare const DrawerDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
408
456
  declare const DrawerFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
409
457
 
458
+ /**
459
+ * DropdownMenu Component
460
+ *
461
+ * Displays a menu to the user — such as a set of actions or functions — triggered by a button.
462
+ * Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=5070-8203
463
+ *
464
+ * @see https://ui.shadcn.com/docs/components/dropdown-menu
465
+ *
466
+ * @example
467
+ * ```tsx
468
+ * <DropdownMenu>
469
+ * <DropdownMenuLabel>Add participants</DropdownMenuLabel>
470
+ * <DropdownMenuItem>Group</DropdownMenuItem>
471
+ * <DropdownMenuItem>Team member</DropdownMenuItem>
472
+ * </DropdownMenu>
473
+ * ```
474
+ */
475
+ type DropdownMenuProps = React.HTMLAttributes<HTMLDivElement>;
476
+ declare const DropdownMenu: React.ForwardRefExoticComponent<DropdownMenuProps & React.RefAttributes<HTMLDivElement>>;
477
+ declare const dropdownMenuItemVariants: (props?: ({
478
+ variant?: "default" | "active" | null | undefined;
479
+ disabled?: boolean | null | undefined;
480
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
481
+ interface DropdownMenuItemProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'disabled'>, VariantProps<typeof dropdownMenuItemVariants> {
482
+ /**
483
+ * Optional icon to display on the left
484
+ */
485
+ icon?: LucideIcon;
486
+ /**
487
+ * Optional secondary icon to display on the right
488
+ */
489
+ secondaryIcon?: LucideIcon | 'check' | 'plus' | 'chevron';
490
+ /**
491
+ * Whether to show a checkmark (shorthand for secondaryIcon="check")
492
+ */
493
+ checked?: boolean;
494
+ /**
495
+ * Whether this item has a submenu (shorthand for secondaryIcon="chevron")
496
+ */
497
+ hasSubmenu?: boolean;
498
+ /**
499
+ * Optional avatar element to display instead of icon
500
+ */
501
+ avatar?: React.ReactNode;
502
+ }
503
+ declare const DropdownMenuItem: React.ForwardRefExoticComponent<DropdownMenuItemProps & React.RefAttributes<HTMLButtonElement>>;
504
+ type DropdownMenuLabelProps = React.HTMLAttributes<HTMLDivElement>;
505
+ declare const DropdownMenuLabel: React.ForwardRefExoticComponent<DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>>;
506
+ type DropdownMenuSeparatorProps = React.HTMLAttributes<HTMLDivElement>;
507
+ declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>>;
508
+
410
509
  /**
411
510
  * Header Component
412
511
  *
@@ -645,6 +744,42 @@ declare const MenubarSeparator: React.ForwardRefExoticComponent<MenubarSeparator
645
744
  type MenubarLabelProps = React.HTMLAttributes<HTMLDivElement>;
646
745
  declare const MenubarLabel: React.ForwardRefExoticComponent<MenubarLabelProps & React.RefAttributes<HTMLDivElement>>;
647
746
 
747
+ /**
748
+ * ModelUserManagement Component
749
+ *
750
+ * A compound component for managing model selection and user participants.
751
+ * Combines model selector button with user management controls including
752
+ * add user button, avatar display, and user dropdown.
753
+ * Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=5070-8794
754
+ *
755
+ * @example
756
+ * ```tsx
757
+ * <ModelUserManagement>
758
+ * <ModelSelector>Claude Sonnet 4.5</ModelSelector>
759
+ * <UserManagementGroup>
760
+ * <AddUserButton />
761
+ * <UserAvatars>
762
+ * <AvatarGroupItem fallback="L" className="bg-orange-100" />
763
+ * <AvatarGroupItem fallback="B" className="bg-green-100" />
764
+ * <UserDropdownTrigger />
765
+ * </UserAvatars>
766
+ * </UserManagementGroup>
767
+ * </ModelUserManagement>
768
+ * ```
769
+ */
770
+ type ModelUserManagementProps = React.HTMLAttributes<HTMLDivElement>;
771
+ declare const ModelUserManagement: React.ForwardRefExoticComponent<ModelUserManagementProps & React.RefAttributes<HTMLDivElement>>;
772
+ type ModelSelectorProps = React.ButtonHTMLAttributes<HTMLButtonElement>;
773
+ declare const ModelSelector: React.ForwardRefExoticComponent<ModelSelectorProps & React.RefAttributes<HTMLButtonElement>>;
774
+ type UserManagementGroupProps = React.HTMLAttributes<HTMLDivElement>;
775
+ declare const UserManagementGroup: React.ForwardRefExoticComponent<UserManagementGroupProps & React.RefAttributes<HTMLDivElement>>;
776
+ type AddUserButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement>;
777
+ declare const AddUserButton: React.ForwardRefExoticComponent<AddUserButtonProps & React.RefAttributes<HTMLButtonElement>>;
778
+ type UserAvatarsProps = React.HTMLAttributes<HTMLDivElement>;
779
+ declare const UserAvatars: React.ForwardRefExoticComponent<UserAvatarsProps & React.RefAttributes<HTMLDivElement>>;
780
+ type UserDropdownTriggerProps = React.ButtonHTMLAttributes<HTMLButtonElement>;
781
+ declare const UserDropdownTrigger: React.ForwardRefExoticComponent<UserDropdownTriggerProps & React.RefAttributes<HTMLButtonElement>>;
782
+
648
783
  /**
649
784
  * NavHeader Component
650
785
  *
@@ -1159,9 +1294,29 @@ interface ToggleProps extends React.ComponentPropsWithoutRef<typeof TogglePrimit
1159
1294
  }
1160
1295
  declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<HTMLButtonElement>>;
1161
1296
 
1297
+ /**
1298
+ * Tooltip Component
1299
+ *
1300
+ * A popup that displays information related to an element when the element
1301
+ * receives keyboard focus or the mouse hovers over it.
1302
+ * Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=2688-451
1303
+ *
1304
+ * @see https://ui.shadcn.com/docs/components/tooltip
1305
+ *
1306
+ * @example
1307
+ * ```tsx
1308
+ * <Tooltip>
1309
+ * Chat participants
1310
+ * </Tooltip>
1311
+ * ```
1312
+ */
1313
+ type TooltipProps = React.HTMLAttributes<HTMLDivElement>;
1314
+ declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefAttributes<HTMLDivElement>>;
1315
+
1162
1316
  /**
1163
1317
  * Utility function to merge class names
1164
- * Combines clsx for conditional classes
1318
+ * Combines clsx for conditional classes with tailwind-merge
1319
+ * to properly handle conflicting Tailwind classes
1165
1320
  */
1166
1321
  declare function cn(...inputs: ClassValue[]): string;
1167
1322
 
@@ -1237,4 +1392,4 @@ declare function ThemeProvider({ children, defaultTheme, storageKey, enablePersi
1237
1392
  */
1238
1393
  declare function useTheme(): ThemeContextValue;
1239
1394
 
1240
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, type CheckboxProps, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, type DialogProps, DialogTitle, Drawer, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, type DrawerProps, DrawerTitle, Header, HeaderActions, HeaderBreadcrumbs, HeaderContent, HeaderDescription, HeaderTitle, HoverCard, HoverCardDescription, type HoverCardDescriptionProps, HoverCardHeader, type HoverCardHeaderProps, type HoverCardProps, HoverCardTitle, type HoverCardTitleProps, Icon, IndicatorCircle, type IndicatorCircleProps, IndicatorDot, type IndicatorDotProps, Input, InputGroup, InputGroupHelpText, type InputGroupHelpTextProps, InputGroupLabel, type InputGroupLabelProps, type InputGroupProps, type InputProps, Label, type LabelProps, Menubar, MenubarDropdown, type MenubarDropdownProps, MenubarItem, type MenubarItemProps, MenubarLabel, type MenubarLabelProps, type MenubarProps, MenubarSeparator, type MenubarSeparatorProps, MenubarTrigger, type MenubarTriggerProps, NavHeader, NavHeaderBrand, type NavHeaderBrandProps, NavHeaderDivider, type NavHeaderDividerProps, NavHeaderItem, type NavHeaderItemProps, NavHeaderNav, type NavHeaderNavProps, type NavHeaderProps, NavSidePanel, NavSidePanelBrand, type NavSidePanelBrandProps, NavSidePanelFooter, type NavSidePanelFooterProps, NavSidePanelHeader, type NavSidePanelHeaderProps, NavSidePanelItem, type NavSidePanelItemProps, NavSidePanelNav, type NavSidePanelNavProps, type NavSidePanelProps, NavSidePanelSeparator, type NavSidePanelSeparatorProps, Pagination, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, type PaginationProps, Popover, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, type PopoverProps, PopoverTitle, type PopoverTitleProps, Progress, type ProgressProps, Radio, type RadioProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, type SheetProps, SheetTitle, Skeleton, Slider, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, type Theme, ThemeProvider, type ThemeProviderProps, Toaster as Toast, Toggle, type ToggleProps, badgeVariants, buttonVariants, cn, indicatorCircleVariants, indicatorDotVariants, menubarItemVariants, menubarTriggerVariants, navHeaderItemVariants, navSidePanelItemVariants, paginationItemVariants, toggleVariants, useTheme };
1395
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AddUserButton, type AddUserButtonProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertTitle, Avatar, AvatarFallback, AvatarGroup, AvatarGroupItem, type AvatarGroupItemProps, type AvatarGroupProps, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, type CheckboxProps, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, type DialogProps, DialogTitle, Drawer, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, type DrawerProps, DrawerTitle, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, Header, HeaderActions, HeaderBreadcrumbs, HeaderContent, HeaderDescription, HeaderTitle, HoverCard, HoverCardDescription, type HoverCardDescriptionProps, HoverCardHeader, type HoverCardHeaderProps, type HoverCardProps, HoverCardTitle, type HoverCardTitleProps, Icon, IndicatorCircle, type IndicatorCircleProps, IndicatorDot, type IndicatorDotProps, Input, InputGroup, InputGroupHelpText, type InputGroupHelpTextProps, InputGroupLabel, type InputGroupLabelProps, type InputGroupProps, type InputProps, Label, type LabelProps, Menubar, MenubarDropdown, type MenubarDropdownProps, MenubarItem, type MenubarItemProps, MenubarLabel, type MenubarLabelProps, type MenubarProps, MenubarSeparator, type MenubarSeparatorProps, MenubarTrigger, type MenubarTriggerProps, ModelSelector, type ModelSelectorProps, ModelUserManagement, type ModelUserManagementProps, NavHeader, NavHeaderBrand, type NavHeaderBrandProps, NavHeaderDivider, type NavHeaderDividerProps, NavHeaderItem, type NavHeaderItemProps, NavHeaderNav, type NavHeaderNavProps, type NavHeaderProps, NavSidePanel, NavSidePanelBrand, type NavSidePanelBrandProps, NavSidePanelFooter, type NavSidePanelFooterProps, NavSidePanelHeader, type NavSidePanelHeaderProps, NavSidePanelItem, type NavSidePanelItemProps, NavSidePanelNav, type NavSidePanelNavProps, type NavSidePanelProps, NavSidePanelSeparator, type NavSidePanelSeparatorProps, Pagination, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, type PaginationProps, Popover, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, type PopoverProps, PopoverTitle, type PopoverTitleProps, Progress, type ProgressProps, Radio, type RadioProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, type SheetProps, SheetTitle, Skeleton, Slider, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, type Theme, ThemeProvider, type ThemeProviderProps, Toaster as Toast, Toggle, type ToggleProps, Tooltip, type TooltipProps, UserAvatars, type UserAvatarsProps, UserDropdownTrigger, type UserDropdownTriggerProps, UserManagementGroup, type UserManagementGroupProps, avatarGroupVariants, badgeVariants, buttonVariants, cn, dropdownMenuItemVariants, indicatorCircleVariants, indicatorDotVariants, menubarItemVariants, menubarTriggerVariants, navHeaderItemVariants, navSidePanelItemVariants, paginationItemVariants, toggleVariants, useTheme };
package/dist/index.d.ts CHANGED
@@ -140,6 +140,54 @@ declare const Avatar: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLD
140
140
  declare const AvatarImage: React.ForwardRefExoticComponent<React.ImgHTMLAttributes<HTMLImageElement> & React.RefAttributes<HTMLImageElement>>;
141
141
  declare const AvatarFallback: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
142
142
 
143
+ /**
144
+ * AvatarGroup Component
145
+ *
146
+ * Displays multiple user avatars in an overlapping group.
147
+ * Each avatar shows with a border for visual separation.
148
+ * Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=5069-7627
149
+ *
150
+ * @example
151
+ * ```tsx
152
+ * <AvatarGroup>
153
+ * <AvatarGroupItem fallback="L" className="bg-orange-100" />
154
+ * <AvatarGroupItem fallback="B" className="bg-green-100" />
155
+ * <AvatarGroupItem fallback="R" className="bg-pink-100" />
156
+ * </AvatarGroup>
157
+ * ```
158
+ */
159
+ declare const avatarGroupVariants: (props?: ({
160
+ size?: "default" | "sm" | "lg" | null | undefined;
161
+ spacing?: "default" | "tight" | "loose" | null | undefined;
162
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
163
+ interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof avatarGroupVariants> {
164
+ }
165
+ declare const AvatarGroup: React.ForwardRefExoticComponent<AvatarGroupProps & React.RefAttributes<HTMLDivElement>>;
166
+ interface AvatarGroupItemProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
167
+ /**
168
+ * URL of the avatar image
169
+ */
170
+ src?: string;
171
+ /**
172
+ * Alt text for the avatar image
173
+ */
174
+ alt?: string;
175
+ /**
176
+ * Fallback text (usually initials)
177
+ */
178
+ fallback: string;
179
+ /**
180
+ * Whether to show a presence indicator (green dot)
181
+ */
182
+ showPresence?: boolean;
183
+ /**
184
+ * Classes for the fallback background/text (e.g., bg-indigo-500 text-white)
185
+ * Defaults to bg-muted text-foreground if not provided
186
+ */
187
+ fallbackClassName?: string;
188
+ }
189
+ declare const AvatarGroupItem: React.ForwardRefExoticComponent<AvatarGroupItemProps & React.RefAttributes<HTMLDivElement>>;
190
+
143
191
  /**
144
192
  * Badge variants using class-variance-authority
145
193
  * Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=620:965
@@ -219,7 +267,7 @@ declare const BreadcrumbEllipsis: {
219
267
  */
220
268
  declare const buttonVariants: (props?: ({
221
269
  variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "success" | "destructive-subtle" | "secondary-outline" | "ghost" | "side-panel" | null | undefined;
222
- size?: "default" | "sm" | "icon" | "lg" | null | undefined;
270
+ size?: "default" | "sm" | "lg" | "icon" | null | undefined;
223
271
  } & class_variance_authority_types.ClassProp) | undefined) => string;
224
272
  interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
225
273
  asChild?: boolean;
@@ -407,6 +455,57 @@ declare const DrawerTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<
407
455
  declare const DrawerDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
408
456
  declare const DrawerFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
409
457
 
458
+ /**
459
+ * DropdownMenu Component
460
+ *
461
+ * Displays a menu to the user — such as a set of actions or functions — triggered by a button.
462
+ * Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=5070-8203
463
+ *
464
+ * @see https://ui.shadcn.com/docs/components/dropdown-menu
465
+ *
466
+ * @example
467
+ * ```tsx
468
+ * <DropdownMenu>
469
+ * <DropdownMenuLabel>Add participants</DropdownMenuLabel>
470
+ * <DropdownMenuItem>Group</DropdownMenuItem>
471
+ * <DropdownMenuItem>Team member</DropdownMenuItem>
472
+ * </DropdownMenu>
473
+ * ```
474
+ */
475
+ type DropdownMenuProps = React.HTMLAttributes<HTMLDivElement>;
476
+ declare const DropdownMenu: React.ForwardRefExoticComponent<DropdownMenuProps & React.RefAttributes<HTMLDivElement>>;
477
+ declare const dropdownMenuItemVariants: (props?: ({
478
+ variant?: "default" | "active" | null | undefined;
479
+ disabled?: boolean | null | undefined;
480
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
481
+ interface DropdownMenuItemProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'disabled'>, VariantProps<typeof dropdownMenuItemVariants> {
482
+ /**
483
+ * Optional icon to display on the left
484
+ */
485
+ icon?: LucideIcon;
486
+ /**
487
+ * Optional secondary icon to display on the right
488
+ */
489
+ secondaryIcon?: LucideIcon | 'check' | 'plus' | 'chevron';
490
+ /**
491
+ * Whether to show a checkmark (shorthand for secondaryIcon="check")
492
+ */
493
+ checked?: boolean;
494
+ /**
495
+ * Whether this item has a submenu (shorthand for secondaryIcon="chevron")
496
+ */
497
+ hasSubmenu?: boolean;
498
+ /**
499
+ * Optional avatar element to display instead of icon
500
+ */
501
+ avatar?: React.ReactNode;
502
+ }
503
+ declare const DropdownMenuItem: React.ForwardRefExoticComponent<DropdownMenuItemProps & React.RefAttributes<HTMLButtonElement>>;
504
+ type DropdownMenuLabelProps = React.HTMLAttributes<HTMLDivElement>;
505
+ declare const DropdownMenuLabel: React.ForwardRefExoticComponent<DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>>;
506
+ type DropdownMenuSeparatorProps = React.HTMLAttributes<HTMLDivElement>;
507
+ declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>>;
508
+
410
509
  /**
411
510
  * Header Component
412
511
  *
@@ -645,6 +744,42 @@ declare const MenubarSeparator: React.ForwardRefExoticComponent<MenubarSeparator
645
744
  type MenubarLabelProps = React.HTMLAttributes<HTMLDivElement>;
646
745
  declare const MenubarLabel: React.ForwardRefExoticComponent<MenubarLabelProps & React.RefAttributes<HTMLDivElement>>;
647
746
 
747
+ /**
748
+ * ModelUserManagement Component
749
+ *
750
+ * A compound component for managing model selection and user participants.
751
+ * Combines model selector button with user management controls including
752
+ * add user button, avatar display, and user dropdown.
753
+ * Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=5070-8794
754
+ *
755
+ * @example
756
+ * ```tsx
757
+ * <ModelUserManagement>
758
+ * <ModelSelector>Claude Sonnet 4.5</ModelSelector>
759
+ * <UserManagementGroup>
760
+ * <AddUserButton />
761
+ * <UserAvatars>
762
+ * <AvatarGroupItem fallback="L" className="bg-orange-100" />
763
+ * <AvatarGroupItem fallback="B" className="bg-green-100" />
764
+ * <UserDropdownTrigger />
765
+ * </UserAvatars>
766
+ * </UserManagementGroup>
767
+ * </ModelUserManagement>
768
+ * ```
769
+ */
770
+ type ModelUserManagementProps = React.HTMLAttributes<HTMLDivElement>;
771
+ declare const ModelUserManagement: React.ForwardRefExoticComponent<ModelUserManagementProps & React.RefAttributes<HTMLDivElement>>;
772
+ type ModelSelectorProps = React.ButtonHTMLAttributes<HTMLButtonElement>;
773
+ declare const ModelSelector: React.ForwardRefExoticComponent<ModelSelectorProps & React.RefAttributes<HTMLButtonElement>>;
774
+ type UserManagementGroupProps = React.HTMLAttributes<HTMLDivElement>;
775
+ declare const UserManagementGroup: React.ForwardRefExoticComponent<UserManagementGroupProps & React.RefAttributes<HTMLDivElement>>;
776
+ type AddUserButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement>;
777
+ declare const AddUserButton: React.ForwardRefExoticComponent<AddUserButtonProps & React.RefAttributes<HTMLButtonElement>>;
778
+ type UserAvatarsProps = React.HTMLAttributes<HTMLDivElement>;
779
+ declare const UserAvatars: React.ForwardRefExoticComponent<UserAvatarsProps & React.RefAttributes<HTMLDivElement>>;
780
+ type UserDropdownTriggerProps = React.ButtonHTMLAttributes<HTMLButtonElement>;
781
+ declare const UserDropdownTrigger: React.ForwardRefExoticComponent<UserDropdownTriggerProps & React.RefAttributes<HTMLButtonElement>>;
782
+
648
783
  /**
649
784
  * NavHeader Component
650
785
  *
@@ -1159,9 +1294,29 @@ interface ToggleProps extends React.ComponentPropsWithoutRef<typeof TogglePrimit
1159
1294
  }
1160
1295
  declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<HTMLButtonElement>>;
1161
1296
 
1297
+ /**
1298
+ * Tooltip Component
1299
+ *
1300
+ * A popup that displays information related to an element when the element
1301
+ * receives keyboard focus or the mouse hovers over it.
1302
+ * Based on Figma component: https://www.figma.com/design/nadcKNlrnZUHbbLwm9GdK4?node-id=2688-451
1303
+ *
1304
+ * @see https://ui.shadcn.com/docs/components/tooltip
1305
+ *
1306
+ * @example
1307
+ * ```tsx
1308
+ * <Tooltip>
1309
+ * Chat participants
1310
+ * </Tooltip>
1311
+ * ```
1312
+ */
1313
+ type TooltipProps = React.HTMLAttributes<HTMLDivElement>;
1314
+ declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefAttributes<HTMLDivElement>>;
1315
+
1162
1316
  /**
1163
1317
  * Utility function to merge class names
1164
- * Combines clsx for conditional classes
1318
+ * Combines clsx for conditional classes with tailwind-merge
1319
+ * to properly handle conflicting Tailwind classes
1165
1320
  */
1166
1321
  declare function cn(...inputs: ClassValue[]): string;
1167
1322
 
@@ -1237,4 +1392,4 @@ declare function ThemeProvider({ children, defaultTheme, storageKey, enablePersi
1237
1392
  */
1238
1393
  declare function useTheme(): ThemeContextValue;
1239
1394
 
1240
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, type CheckboxProps, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, type DialogProps, DialogTitle, Drawer, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, type DrawerProps, DrawerTitle, Header, HeaderActions, HeaderBreadcrumbs, HeaderContent, HeaderDescription, HeaderTitle, HoverCard, HoverCardDescription, type HoverCardDescriptionProps, HoverCardHeader, type HoverCardHeaderProps, type HoverCardProps, HoverCardTitle, type HoverCardTitleProps, Icon, IndicatorCircle, type IndicatorCircleProps, IndicatorDot, type IndicatorDotProps, Input, InputGroup, InputGroupHelpText, type InputGroupHelpTextProps, InputGroupLabel, type InputGroupLabelProps, type InputGroupProps, type InputProps, Label, type LabelProps, Menubar, MenubarDropdown, type MenubarDropdownProps, MenubarItem, type MenubarItemProps, MenubarLabel, type MenubarLabelProps, type MenubarProps, MenubarSeparator, type MenubarSeparatorProps, MenubarTrigger, type MenubarTriggerProps, NavHeader, NavHeaderBrand, type NavHeaderBrandProps, NavHeaderDivider, type NavHeaderDividerProps, NavHeaderItem, type NavHeaderItemProps, NavHeaderNav, type NavHeaderNavProps, type NavHeaderProps, NavSidePanel, NavSidePanelBrand, type NavSidePanelBrandProps, NavSidePanelFooter, type NavSidePanelFooterProps, NavSidePanelHeader, type NavSidePanelHeaderProps, NavSidePanelItem, type NavSidePanelItemProps, NavSidePanelNav, type NavSidePanelNavProps, type NavSidePanelProps, NavSidePanelSeparator, type NavSidePanelSeparatorProps, Pagination, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, type PaginationProps, Popover, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, type PopoverProps, PopoverTitle, type PopoverTitleProps, Progress, type ProgressProps, Radio, type RadioProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, type SheetProps, SheetTitle, Skeleton, Slider, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, type Theme, ThemeProvider, type ThemeProviderProps, Toaster as Toast, Toggle, type ToggleProps, badgeVariants, buttonVariants, cn, indicatorCircleVariants, indicatorDotVariants, menubarItemVariants, menubarTriggerVariants, navHeaderItemVariants, navSidePanelItemVariants, paginationItemVariants, toggleVariants, useTheme };
1395
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AddUserButton, type AddUserButtonProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertTitle, Avatar, AvatarFallback, AvatarGroup, AvatarGroupItem, type AvatarGroupItemProps, type AvatarGroupProps, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, type CheckboxProps, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, type DialogProps, DialogTitle, Drawer, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, type DrawerProps, DrawerTitle, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, Header, HeaderActions, HeaderBreadcrumbs, HeaderContent, HeaderDescription, HeaderTitle, HoverCard, HoverCardDescription, type HoverCardDescriptionProps, HoverCardHeader, type HoverCardHeaderProps, type HoverCardProps, HoverCardTitle, type HoverCardTitleProps, Icon, IndicatorCircle, type IndicatorCircleProps, IndicatorDot, type IndicatorDotProps, Input, InputGroup, InputGroupHelpText, type InputGroupHelpTextProps, InputGroupLabel, type InputGroupLabelProps, type InputGroupProps, type InputProps, Label, type LabelProps, Menubar, MenubarDropdown, type MenubarDropdownProps, MenubarItem, type MenubarItemProps, MenubarLabel, type MenubarLabelProps, type MenubarProps, MenubarSeparator, type MenubarSeparatorProps, MenubarTrigger, type MenubarTriggerProps, ModelSelector, type ModelSelectorProps, ModelUserManagement, type ModelUserManagementProps, NavHeader, NavHeaderBrand, type NavHeaderBrandProps, NavHeaderDivider, type NavHeaderDividerProps, NavHeaderItem, type NavHeaderItemProps, NavHeaderNav, type NavHeaderNavProps, type NavHeaderProps, NavSidePanel, NavSidePanelBrand, type NavSidePanelBrandProps, NavSidePanelFooter, type NavSidePanelFooterProps, NavSidePanelHeader, type NavSidePanelHeaderProps, NavSidePanelItem, type NavSidePanelItemProps, NavSidePanelNav, type NavSidePanelNavProps, type NavSidePanelProps, NavSidePanelSeparator, type NavSidePanelSeparatorProps, Pagination, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, type PaginationProps, Popover, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, type PopoverProps, PopoverTitle, type PopoverTitleProps, Progress, type ProgressProps, Radio, type RadioProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, type SheetProps, SheetTitle, Skeleton, Slider, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, type Theme, ThemeProvider, type ThemeProviderProps, Toaster as Toast, Toggle, type ToggleProps, Tooltip, type TooltipProps, UserAvatars, type UserAvatarsProps, UserDropdownTrigger, type UserDropdownTriggerProps, UserManagementGroup, type UserManagementGroupProps, avatarGroupVariants, badgeVariants, buttonVariants, cn, dropdownMenuItemVariants, indicatorCircleVariants, indicatorDotVariants, menubarItemVariants, menubarTriggerVariants, navHeaderItemVariants, navSidePanelItemVariants, paginationItemVariants, toggleVariants, useTheme };