design-zystem 1.0.418 → 1.0.420

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.
@@ -634,6 +634,7 @@ interface TagLevelItem {
634
634
  * scales (e.g. one tag maxing at 3, another at 8). */
635
635
  levelCount?: number;
636
636
  }
637
+ type TagLevelPickerSize = 's' | 'm';
637
638
  interface TagLevelPickerProps {
638
639
  /** Tags currently assigned. */
639
640
  tags: TagLevelItem[];
@@ -653,6 +654,9 @@ interface TagLevelPickerProps {
653
654
  placeholder?: string;
654
655
  /** Caps the suggestions list — unset shows every matching/available tag. */
655
656
  maxSuggestions?: number;
657
+ /** `m` (défaut) : champ de 52 px, chips de 36 px. `s` : champ de 36 px,
658
+ * chips de 24 px — pour une barre de filtres ou un panneau dense. */
659
+ size?: TagLevelPickerSize;
656
660
  disabled?: boolean;
657
661
  className?: string;
658
662
  }
@@ -665,7 +669,7 @@ interface TagLevelPickerProps {
665
669
  * peut avoir sa propre échelle (`tag.levelCount`) — plusieurs tags à nombre
666
670
  * de niveaux différent cohabitent dans le même picker.
667
671
  */
668
- declare const TagLevelPicker: ({ tags, options, levelCount, levelLabel, onAdd, onRemove, onLevelChange, placeholder, maxSuggestions, disabled, className, }: TagLevelPickerProps) => react.JSX.Element;
672
+ declare const TagLevelPicker: ({ tags, options, levelCount, levelLabel, onAdd, onRemove, onLevelChange, placeholder, maxSuggestions, size, disabled, className, }: TagLevelPickerProps) => react.JSX.Element;
669
673
 
670
674
  interface TableEmptyState {
671
675
  icon?: ReactNode;
@@ -738,8 +742,8 @@ interface TableHeaderCellProps {
738
742
  /** Laisse le libellé passer à la ligne au lieu d'être tronqué. */
739
743
  wrap?: boolean;
740
744
  className?: string;
741
- /** Rend la cellule triable — affiche `children` dans un bouton avec une icône
742
- * de tri (neutre / chevron haut / chevron bas selon `isSort`+`sortOrder`). */
745
+ /** Rend la cellule triable — affiche `children` dans un bouton avec une
746
+ * flèche de tri unique (↑ / ↓), visible sur la colonne triée et en survol. */
743
747
  useSort?: boolean;
744
748
  /** Cette colonne est la colonne de tri actuellement active. */
745
749
  isSort?: boolean;
@@ -956,9 +960,13 @@ interface PopoverProps {
956
960
  children?: ReactNode;
957
961
  align?: 'start' | 'center' | 'end';
958
962
  side?: 'top' | 'bottom' | 'left' | 'right';
963
+ sideOffset?: number;
964
+ open?: boolean;
965
+ onOpenChange?: (open: boolean) => void;
966
+ width?: string;
959
967
  className?: string;
960
968
  }
961
- declare const Popover: ({ trigger, items, children, align, side, className, }: PopoverProps) => react.JSX.Element;
969
+ declare const Popover: ({ trigger, items, children, align, side, sideOffset, open, onOpenChange, width, className, }: PopoverProps) => react.JSX.Element;
962
970
 
963
971
  interface SidebarProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
964
972
  /** Rétracte le panneau en rail d'icônes (64px, assez large pour des boutons de 40px comme en déplié) — contrôlé par le consommateur, comme `Tabs value`. */
@@ -1008,6 +1016,17 @@ interface SidebarMenuButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonEle
1008
1016
  /** Entrée de navigation d'un `SidebarGroup` (ou déclencheur d'action, ex. recherche globale). Replié (`Sidebar collapsed`) : ne garde que l'icône et bascule `label` en tooltip au survol. */
1009
1017
  declare const SidebarMenuButton: react.ForwardRefExoticComponent<SidebarMenuButtonProps & react.RefAttributes<HTMLButtonElement>>;
1010
1018
 
1019
+ interface SidebarActionCardProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'title' | 'color'> {
1020
+ icon: string;
1021
+ iconFamily?: FaFamily;
1022
+ title: string;
1023
+ subtitle?: string;
1024
+ /** Compteur en pastille rouge, à la place du chevron — masqué si `0`/`undefined`. */
1025
+ badge?: number;
1026
+ }
1027
+ /** Carte d'appel à l'action en bas d'un `Sidebar` (ex. « Une idée ? »). Replié : seule la pastille reste, titre et sous-titre passent en tooltip. */
1028
+ declare const SidebarActionCard: react.ForwardRefExoticComponent<SidebarActionCardProps & react.RefAttributes<HTMLButtonElement>>;
1029
+
1011
1030
  type SidebarMenuSubProps = HTMLAttributes<HTMLUListElement>;
1012
1031
  /** Liste des sous-items d'un `SidebarMenuButton` extensible (ex. déplié via `Collapsible`) — indentée, reliée par un trait vertical, comme `SidebarMenuSub` du sidebar shadcn/ui. */
1013
1032
  declare const SidebarMenuSub: react.ForwardRefExoticComponent<SidebarMenuSubProps & react.RefAttributes<HTMLUListElement>>;
@@ -1549,10 +1568,12 @@ interface FilePickerProps {
1549
1568
  iconSize?: IconSize;
1550
1569
  iconColor?: IconColor;
1551
1570
  disabled?: boolean;
1571
+ /** `icon` : icône seule sous tooltip. `button` : bouton contour avec l'icône et le libellé visible. */
1572
+ variant?: 'icon' | 'button';
1552
1573
  className?: string;
1553
1574
  }
1554
1575
  /** Déclencheur de sélection de fichier : une icône sous tooltip, l'`input file` natif restant caché à l'intérieur. Pour une zone de dépôt pleine largeur, voir `FileUploadZone`. */
1555
- declare const FilePicker: ({ label, onSelect, accept, multiple, icon, iconFamily, iconSize, iconColor, disabled, className, }: FilePickerProps) => react.JSX.Element;
1576
+ declare const FilePicker: ({ label, onSelect, accept, multiple, icon, iconFamily, iconSize, iconColor, disabled, variant, className, }: FilePickerProps) => react.JSX.Element;
1556
1577
 
1557
1578
  declare const itemVariants: (props?: ({
1558
1579
  variant?: "default" | "muted" | "outline" | null | undefined;
@@ -1644,9 +1665,11 @@ interface ScrollAreaProps extends Omit<ComponentPropsWithoutRef<typeof RadixScro
1644
1665
  orientation?: 'vertical' | 'horizontal' | 'both';
1645
1666
  /** Ref sur le viewport Radix — le noeud qui scrolle réellement. Indispensable pour piloter `scrollTop` (auto-scroll en bas d'une messagerie). */
1646
1667
  viewportRef?: Ref<HTMLDivElement>;
1668
+ /** Hauteur au-delà de laquelle le contenu défile (ex. `"60vh"`), sans hauteur fixe sur le conteneur. */
1669
+ maxHeight?: string;
1647
1670
  }
1648
1671
  /** Construit sur `@radix-ui/react-scroll-area` (comme le `ScrollArea` de shadcn) — scroll natif, sans jamais afficher de scrollbar. */
1649
- declare const ScrollArea: ({ children, className, orientation, viewportRef, ...props }: ScrollAreaProps) => react.JSX.Element;
1672
+ declare const ScrollArea: ({ children, className, orientation, viewportRef, maxHeight, ...props }: ScrollAreaProps) => react.JSX.Element;
1650
1673
 
1651
1674
  type MessageVariant = 'solid' | 'pale';
1652
1675
  interface MessageProps extends HTMLAttributes<HTMLDivElement> {
@@ -2050,4 +2073,4 @@ interface TourTargetProps {
2050
2073
  declare const TourTarget: ({ id, children }: TourTargetProps) => react.JSX.Element;
2051
2074
  declare const Tour: ({ steps, open, step, onStepChange, onClose, labels, targetTimeout, }: TourProps) => null;
2052
2075
 
2053
- export { type ActivityFeedItem, ActivityFeedPanel, type ActivityFeedPanelProps, Attachment, type AttachmentProps, type AttachmentStatus, Avatar, AvatarBadge, type AvatarBadgeConfig, type AvatarBadgeProps, AvatarFallback, type AvatarFallbackProps, AvatarGroup, type AvatarGroupProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Banner, type BannerAction, type BannerJustify, type BannerProps, type BannerToggle, Box, type BoxProps, Bulk, type BulkProps, type BulkSection, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, COLOR_TOKENS, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColorKey, ColorPicker, type ColorPickerProps, type ColorToken, DatePicker, type DatePickerMode, type DatePickerProps, type DatePreset, Divider, type DividerProps, Drawer, DrawerBody, DrawerClose, DrawerDescription, type DrawerDirection, DrawerFooter, DrawerHeader, type DrawerProps, DrawerTitle, EmailInput, type EmailInputProps, EmptyState, type EmptyStateProps, FAB_EDGE_MARGIN, FAB_SIZE, FilePicker, type FilePickerProps, FileUploadZone, type FileUploadZoneProps, type FloatingAction, FloatingButton, type FloatingButtonProps, type FloatingSafeArea, Gantt, type GanttBand, type GanttBar, type GanttDay, GanttDot, type GanttProps, type GanttRow, GanttSwatch, type HexColor, HistoryButton, type HistoryButtonProps, type HistoryChange, HistoryDrawer, type HistoryDrawerProps, type HistoryEntry, type HistoryFilter, HistoryList, type HistoryListProps, Icon, IconBadge, type IconBadgeProps, type IconColor, type IconFamily, type IconProps, type IconSize, type IconTabItem, IconTabs, type IconTabsProps, IconTooltip, type IconTooltipProps, type IconVariant, Image, type ImageProps, InfoTooltip, type InfoTooltipProps, type InfoTooltipVariant, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, type InputGroupProps, type InputProps, Item, ItemActions, ItemContent, ItemDescription, ItemMedia, type ItemMediaProps, type ItemProps, ItemTitle, Label, type LabelProps, Layout, type LayoutProps, Link, type LinkProps, Message, MessageDateSeparator, type MessageDateSeparatorProps, type MessageProps, MessageScroller, type MessageScrollerProps, type MessageSeparatorTone, type MessageVariant, MetricCard, type MetricCardProps, Modal, ModalBody, ModalClose, ModalDescription, ModalFooter, ModalHeader, type ModalProps, ModalTitle, type MultiSelectProps, type OptimizeImageOptions, type OptimizeImageResult, PageContainer, type PageContainerProps, Pagination, type PaginationProps, PasswordInput, type PasswordInputProps, PdfPreview, type PdfPreviewProps, PhoneInput, type PhoneInputMeta, type PhoneInputProps, Popover, type PopoverMenuItem, type PopoverProps, ProgressBar, type ProgressBarProps, type ProgressSegment, Radio, type RadioOption, type RadioProps, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Select, type SelectBubbleOption, type SelectGroup, type SelectItem, type SelectOption, type SelectProps, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuSearchInput, type SidebarMenuSearchInputProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarMenuSubItemProps, type SidebarMenuSubProps, type SidebarProps, SidebarSupportInfo, type SidebarSupportInfoProps, SidebarTrigger, type SidebarTriggerProps, SidebarUserMenu, type SidebarUserMenuAction, type SidebarUserMenuLeafAction, type SidebarUserMenuProps, type SingleSelectProps, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, type SpinnerSize, Stepper, type StepperProps, Switch, type SwitchProps, TOUR_TARGET_ATTRIBUTE, type TabItem, Table, TableCell, type TableCellProps, type TableEmptyState, TableFooter, TableFooterCell, type TableFooterCellProps, type TableFooterProps, TableFooterRow, type TableFooterRowProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, TableHeaderRow, type TableHeaderRowProps, type TablePagination, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, type TabsVariant, TagBubble, type TagBubbleProps, type TagLevelItem, TagLevelPicker, type TagLevelPickerProps, type TagOption, type TagSearchOption, TagSelect, type TagSelectProps, Text, type TextProps, Textarea, type TextareaProps, type TextareaVariant, Tile, type TileProps, type TileVariant, Timeline, type TimelineItem, type TimelineProps, type ToastId, type ToastOptions, type ToastType, Toaster, Tooltip, type TooltipProps, Tour, type TourCloseReason, type TourLabels, type TourPlacement, type TourProps, type TourStep, TourTarget, type TourTargetProps, VideoPlayer, type VideoPlayerProps, addBusinessDays, allowAutofill, appendCacheBuster, appendQueryParam, buttonGroupVariants, buttonVariants, capitalizeFirstLetter, colors, easterDate, formatAddress, formatCityFromFormattedAddress, formatCityWithPostalCode, formatDate, formatDateWithTime, formatDistance, formatDuration, formatEuro, formatKM, formatLocality, formatName, formatNameWithInitial, formatPhoneNumber, formatPlate, formatPlateWithoutDashes, formatPostalCodeFromFormattedAddress, formatRegionCode, formatTime, formatVideoDuration, formatVin, generateHexColor, getAvatarColor, getCleanFileName, getElapsedTime, getFileIconByMimeType, getFileKind, getFileNameFromUrl, getInitials, getMimeCategory, getPastelColorPair, getRelativeTime, isHoliday, isSameDay, isolateCity, linkVariants, noAutofillProps, optimizeImage, parseAmount, parseIsoDate, toast, truncateFileName, truncateText, useAvatarSize };
2076
+ export { type ActivityFeedItem, ActivityFeedPanel, type ActivityFeedPanelProps, Attachment, type AttachmentProps, type AttachmentStatus, Avatar, AvatarBadge, type AvatarBadgeConfig, type AvatarBadgeProps, AvatarFallback, type AvatarFallbackProps, AvatarGroup, type AvatarGroupProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Banner, type BannerAction, type BannerJustify, type BannerProps, type BannerToggle, Box, type BoxProps, Bulk, type BulkProps, type BulkSection, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, COLOR_TOKENS, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColorKey, ColorPicker, type ColorPickerProps, type ColorToken, DatePicker, type DatePickerMode, type DatePickerProps, type DatePreset, Divider, type DividerProps, Drawer, DrawerBody, DrawerClose, DrawerDescription, type DrawerDirection, DrawerFooter, DrawerHeader, type DrawerProps, DrawerTitle, EmailInput, type EmailInputProps, EmptyState, type EmptyStateProps, FAB_EDGE_MARGIN, FAB_SIZE, FilePicker, type FilePickerProps, FileUploadZone, type FileUploadZoneProps, type FloatingAction, FloatingButton, type FloatingButtonProps, type FloatingSafeArea, Gantt, type GanttBand, type GanttBar, type GanttDay, GanttDot, type GanttProps, type GanttRow, GanttSwatch, type HexColor, HistoryButton, type HistoryButtonProps, type HistoryChange, HistoryDrawer, type HistoryDrawerProps, type HistoryEntry, type HistoryFilter, HistoryList, type HistoryListProps, Icon, IconBadge, type IconBadgeProps, type IconColor, type IconFamily, type IconProps, type IconSize, type IconTabItem, IconTabs, type IconTabsProps, IconTooltip, type IconTooltipProps, type IconVariant, Image, type ImageProps, InfoTooltip, type InfoTooltipProps, type InfoTooltipVariant, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, type InputGroupProps, type InputProps, Item, ItemActions, ItemContent, ItemDescription, ItemMedia, type ItemMediaProps, type ItemProps, ItemTitle, Label, type LabelProps, Layout, type LayoutProps, Link, type LinkProps, Message, MessageDateSeparator, type MessageDateSeparatorProps, type MessageProps, MessageScroller, type MessageScrollerProps, type MessageSeparatorTone, type MessageVariant, MetricCard, type MetricCardProps, Modal, ModalBody, ModalClose, ModalDescription, ModalFooter, ModalHeader, type ModalProps, ModalTitle, type MultiSelectProps, type OptimizeImageOptions, type OptimizeImageResult, PageContainer, type PageContainerProps, Pagination, type PaginationProps, PasswordInput, type PasswordInputProps, PdfPreview, type PdfPreviewProps, PhoneInput, type PhoneInputMeta, type PhoneInputProps, Popover, type PopoverMenuItem, type PopoverProps, ProgressBar, type ProgressBarProps, type ProgressSegment, Radio, type RadioOption, type RadioProps, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Select, type SelectBubbleOption, type SelectGroup, type SelectItem, type SelectOption, type SelectProps, Sidebar, SidebarActionCard, type SidebarActionCardProps, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuSearchInput, type SidebarMenuSearchInputProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarMenuSubItemProps, type SidebarMenuSubProps, type SidebarProps, SidebarSupportInfo, type SidebarSupportInfoProps, SidebarTrigger, type SidebarTriggerProps, SidebarUserMenu, type SidebarUserMenuAction, type SidebarUserMenuLeafAction, type SidebarUserMenuProps, type SingleSelectProps, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, type SpinnerSize, Stepper, type StepperProps, Switch, type SwitchProps, TOUR_TARGET_ATTRIBUTE, type TabItem, Table, TableCell, type TableCellProps, type TableEmptyState, TableFooter, TableFooterCell, type TableFooterCellProps, type TableFooterProps, TableFooterRow, type TableFooterRowProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, TableHeaderRow, type TableHeaderRowProps, type TablePagination, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, type TabsVariant, TagBubble, type TagBubbleProps, type TagLevelItem, TagLevelPicker, type TagLevelPickerProps, type TagLevelPickerSize, type TagOption, type TagSearchOption, TagSelect, type TagSelectProps, Text, type TextProps, Textarea, type TextareaProps, type TextareaVariant, Tile, type TileProps, type TileVariant, Timeline, type TimelineItem, type TimelineProps, type ToastId, type ToastOptions, type ToastType, Toaster, Tooltip, type TooltipProps, Tour, type TourCloseReason, type TourLabels, type TourPlacement, type TourProps, type TourStep, TourTarget, type TourTargetProps, VideoPlayer, type VideoPlayerProps, addBusinessDays, allowAutofill, appendCacheBuster, appendQueryParam, buttonGroupVariants, buttonVariants, capitalizeFirstLetter, colors, easterDate, formatAddress, formatCityFromFormattedAddress, formatCityWithPostalCode, formatDate, formatDateWithTime, formatDistance, formatDuration, formatEuro, formatKM, formatLocality, formatName, formatNameWithInitial, formatPhoneNumber, formatPlate, formatPlateWithoutDashes, formatPostalCodeFromFormattedAddress, formatRegionCode, formatTime, formatVideoDuration, formatVin, generateHexColor, getAvatarColor, getCleanFileName, getElapsedTime, getFileIconByMimeType, getFileKind, getFileNameFromUrl, getInitials, getMimeCategory, getPastelColorPair, getRelativeTime, isHoliday, isSameDay, isolateCity, linkVariants, noAutofillProps, optimizeImage, parseAmount, parseIsoDate, toast, truncateFileName, truncateText, useAvatarSize };
@@ -634,6 +634,7 @@ interface TagLevelItem {
634
634
  * scales (e.g. one tag maxing at 3, another at 8). */
635
635
  levelCount?: number;
636
636
  }
637
+ type TagLevelPickerSize = 's' | 'm';
637
638
  interface TagLevelPickerProps {
638
639
  /** Tags currently assigned. */
639
640
  tags: TagLevelItem[];
@@ -653,6 +654,9 @@ interface TagLevelPickerProps {
653
654
  placeholder?: string;
654
655
  /** Caps the suggestions list — unset shows every matching/available tag. */
655
656
  maxSuggestions?: number;
657
+ /** `m` (défaut) : champ de 52 px, chips de 36 px. `s` : champ de 36 px,
658
+ * chips de 24 px — pour une barre de filtres ou un panneau dense. */
659
+ size?: TagLevelPickerSize;
656
660
  disabled?: boolean;
657
661
  className?: string;
658
662
  }
@@ -665,7 +669,7 @@ interface TagLevelPickerProps {
665
669
  * peut avoir sa propre échelle (`tag.levelCount`) — plusieurs tags à nombre
666
670
  * de niveaux différent cohabitent dans le même picker.
667
671
  */
668
- declare const TagLevelPicker: ({ tags, options, levelCount, levelLabel, onAdd, onRemove, onLevelChange, placeholder, maxSuggestions, disabled, className, }: TagLevelPickerProps) => react.JSX.Element;
672
+ declare const TagLevelPicker: ({ tags, options, levelCount, levelLabel, onAdd, onRemove, onLevelChange, placeholder, maxSuggestions, size, disabled, className, }: TagLevelPickerProps) => react.JSX.Element;
669
673
 
670
674
  interface TableEmptyState {
671
675
  icon?: ReactNode;
@@ -738,8 +742,8 @@ interface TableHeaderCellProps {
738
742
  /** Laisse le libellé passer à la ligne au lieu d'être tronqué. */
739
743
  wrap?: boolean;
740
744
  className?: string;
741
- /** Rend la cellule triable — affiche `children` dans un bouton avec une icône
742
- * de tri (neutre / chevron haut / chevron bas selon `isSort`+`sortOrder`). */
745
+ /** Rend la cellule triable — affiche `children` dans un bouton avec une
746
+ * flèche de tri unique (↑ / ↓), visible sur la colonne triée et en survol. */
743
747
  useSort?: boolean;
744
748
  /** Cette colonne est la colonne de tri actuellement active. */
745
749
  isSort?: boolean;
@@ -956,9 +960,13 @@ interface PopoverProps {
956
960
  children?: ReactNode;
957
961
  align?: 'start' | 'center' | 'end';
958
962
  side?: 'top' | 'bottom' | 'left' | 'right';
963
+ sideOffset?: number;
964
+ open?: boolean;
965
+ onOpenChange?: (open: boolean) => void;
966
+ width?: string;
959
967
  className?: string;
960
968
  }
961
- declare const Popover: ({ trigger, items, children, align, side, className, }: PopoverProps) => react.JSX.Element;
969
+ declare const Popover: ({ trigger, items, children, align, side, sideOffset, open, onOpenChange, width, className, }: PopoverProps) => react.JSX.Element;
962
970
 
963
971
  interface SidebarProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
964
972
  /** Rétracte le panneau en rail d'icônes (64px, assez large pour des boutons de 40px comme en déplié) — contrôlé par le consommateur, comme `Tabs value`. */
@@ -1008,6 +1016,17 @@ interface SidebarMenuButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonEle
1008
1016
  /** Entrée de navigation d'un `SidebarGroup` (ou déclencheur d'action, ex. recherche globale). Replié (`Sidebar collapsed`) : ne garde que l'icône et bascule `label` en tooltip au survol. */
1009
1017
  declare const SidebarMenuButton: react.ForwardRefExoticComponent<SidebarMenuButtonProps & react.RefAttributes<HTMLButtonElement>>;
1010
1018
 
1019
+ interface SidebarActionCardProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'title' | 'color'> {
1020
+ icon: string;
1021
+ iconFamily?: FaFamily;
1022
+ title: string;
1023
+ subtitle?: string;
1024
+ /** Compteur en pastille rouge, à la place du chevron — masqué si `0`/`undefined`. */
1025
+ badge?: number;
1026
+ }
1027
+ /** Carte d'appel à l'action en bas d'un `Sidebar` (ex. « Une idée ? »). Replié : seule la pastille reste, titre et sous-titre passent en tooltip. */
1028
+ declare const SidebarActionCard: react.ForwardRefExoticComponent<SidebarActionCardProps & react.RefAttributes<HTMLButtonElement>>;
1029
+
1011
1030
  type SidebarMenuSubProps = HTMLAttributes<HTMLUListElement>;
1012
1031
  /** Liste des sous-items d'un `SidebarMenuButton` extensible (ex. déplié via `Collapsible`) — indentée, reliée par un trait vertical, comme `SidebarMenuSub` du sidebar shadcn/ui. */
1013
1032
  declare const SidebarMenuSub: react.ForwardRefExoticComponent<SidebarMenuSubProps & react.RefAttributes<HTMLUListElement>>;
@@ -1549,10 +1568,12 @@ interface FilePickerProps {
1549
1568
  iconSize?: IconSize;
1550
1569
  iconColor?: IconColor;
1551
1570
  disabled?: boolean;
1571
+ /** `icon` : icône seule sous tooltip. `button` : bouton contour avec l'icône et le libellé visible. */
1572
+ variant?: 'icon' | 'button';
1552
1573
  className?: string;
1553
1574
  }
1554
1575
  /** Déclencheur de sélection de fichier : une icône sous tooltip, l'`input file` natif restant caché à l'intérieur. Pour une zone de dépôt pleine largeur, voir `FileUploadZone`. */
1555
- declare const FilePicker: ({ label, onSelect, accept, multiple, icon, iconFamily, iconSize, iconColor, disabled, className, }: FilePickerProps) => react.JSX.Element;
1576
+ declare const FilePicker: ({ label, onSelect, accept, multiple, icon, iconFamily, iconSize, iconColor, disabled, variant, className, }: FilePickerProps) => react.JSX.Element;
1556
1577
 
1557
1578
  declare const itemVariants: (props?: ({
1558
1579
  variant?: "default" | "muted" | "outline" | null | undefined;
@@ -1644,9 +1665,11 @@ interface ScrollAreaProps extends Omit<ComponentPropsWithoutRef<typeof RadixScro
1644
1665
  orientation?: 'vertical' | 'horizontal' | 'both';
1645
1666
  /** Ref sur le viewport Radix — le noeud qui scrolle réellement. Indispensable pour piloter `scrollTop` (auto-scroll en bas d'une messagerie). */
1646
1667
  viewportRef?: Ref<HTMLDivElement>;
1668
+ /** Hauteur au-delà de laquelle le contenu défile (ex. `"60vh"`), sans hauteur fixe sur le conteneur. */
1669
+ maxHeight?: string;
1647
1670
  }
1648
1671
  /** Construit sur `@radix-ui/react-scroll-area` (comme le `ScrollArea` de shadcn) — scroll natif, sans jamais afficher de scrollbar. */
1649
- declare const ScrollArea: ({ children, className, orientation, viewportRef, ...props }: ScrollAreaProps) => react.JSX.Element;
1672
+ declare const ScrollArea: ({ children, className, orientation, viewportRef, maxHeight, ...props }: ScrollAreaProps) => react.JSX.Element;
1650
1673
 
1651
1674
  type MessageVariant = 'solid' | 'pale';
1652
1675
  interface MessageProps extends HTMLAttributes<HTMLDivElement> {
@@ -2050,4 +2073,4 @@ interface TourTargetProps {
2050
2073
  declare const TourTarget: ({ id, children }: TourTargetProps) => react.JSX.Element;
2051
2074
  declare const Tour: ({ steps, open, step, onStepChange, onClose, labels, targetTimeout, }: TourProps) => null;
2052
2075
 
2053
- export { type ActivityFeedItem, ActivityFeedPanel, type ActivityFeedPanelProps, Attachment, type AttachmentProps, type AttachmentStatus, Avatar, AvatarBadge, type AvatarBadgeConfig, type AvatarBadgeProps, AvatarFallback, type AvatarFallbackProps, AvatarGroup, type AvatarGroupProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Banner, type BannerAction, type BannerJustify, type BannerProps, type BannerToggle, Box, type BoxProps, Bulk, type BulkProps, type BulkSection, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, COLOR_TOKENS, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColorKey, ColorPicker, type ColorPickerProps, type ColorToken, DatePicker, type DatePickerMode, type DatePickerProps, type DatePreset, Divider, type DividerProps, Drawer, DrawerBody, DrawerClose, DrawerDescription, type DrawerDirection, DrawerFooter, DrawerHeader, type DrawerProps, DrawerTitle, EmailInput, type EmailInputProps, EmptyState, type EmptyStateProps, FAB_EDGE_MARGIN, FAB_SIZE, FilePicker, type FilePickerProps, FileUploadZone, type FileUploadZoneProps, type FloatingAction, FloatingButton, type FloatingButtonProps, type FloatingSafeArea, Gantt, type GanttBand, type GanttBar, type GanttDay, GanttDot, type GanttProps, type GanttRow, GanttSwatch, type HexColor, HistoryButton, type HistoryButtonProps, type HistoryChange, HistoryDrawer, type HistoryDrawerProps, type HistoryEntry, type HistoryFilter, HistoryList, type HistoryListProps, Icon, IconBadge, type IconBadgeProps, type IconColor, type IconFamily, type IconProps, type IconSize, type IconTabItem, IconTabs, type IconTabsProps, IconTooltip, type IconTooltipProps, type IconVariant, Image, type ImageProps, InfoTooltip, type InfoTooltipProps, type InfoTooltipVariant, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, type InputGroupProps, type InputProps, Item, ItemActions, ItemContent, ItemDescription, ItemMedia, type ItemMediaProps, type ItemProps, ItemTitle, Label, type LabelProps, Layout, type LayoutProps, Link, type LinkProps, Message, MessageDateSeparator, type MessageDateSeparatorProps, type MessageProps, MessageScroller, type MessageScrollerProps, type MessageSeparatorTone, type MessageVariant, MetricCard, type MetricCardProps, Modal, ModalBody, ModalClose, ModalDescription, ModalFooter, ModalHeader, type ModalProps, ModalTitle, type MultiSelectProps, type OptimizeImageOptions, type OptimizeImageResult, PageContainer, type PageContainerProps, Pagination, type PaginationProps, PasswordInput, type PasswordInputProps, PdfPreview, type PdfPreviewProps, PhoneInput, type PhoneInputMeta, type PhoneInputProps, Popover, type PopoverMenuItem, type PopoverProps, ProgressBar, type ProgressBarProps, type ProgressSegment, Radio, type RadioOption, type RadioProps, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Select, type SelectBubbleOption, type SelectGroup, type SelectItem, type SelectOption, type SelectProps, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuSearchInput, type SidebarMenuSearchInputProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarMenuSubItemProps, type SidebarMenuSubProps, type SidebarProps, SidebarSupportInfo, type SidebarSupportInfoProps, SidebarTrigger, type SidebarTriggerProps, SidebarUserMenu, type SidebarUserMenuAction, type SidebarUserMenuLeafAction, type SidebarUserMenuProps, type SingleSelectProps, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, type SpinnerSize, Stepper, type StepperProps, Switch, type SwitchProps, TOUR_TARGET_ATTRIBUTE, type TabItem, Table, TableCell, type TableCellProps, type TableEmptyState, TableFooter, TableFooterCell, type TableFooterCellProps, type TableFooterProps, TableFooterRow, type TableFooterRowProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, TableHeaderRow, type TableHeaderRowProps, type TablePagination, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, type TabsVariant, TagBubble, type TagBubbleProps, type TagLevelItem, TagLevelPicker, type TagLevelPickerProps, type TagOption, type TagSearchOption, TagSelect, type TagSelectProps, Text, type TextProps, Textarea, type TextareaProps, type TextareaVariant, Tile, type TileProps, type TileVariant, Timeline, type TimelineItem, type TimelineProps, type ToastId, type ToastOptions, type ToastType, Toaster, Tooltip, type TooltipProps, Tour, type TourCloseReason, type TourLabels, type TourPlacement, type TourProps, type TourStep, TourTarget, type TourTargetProps, VideoPlayer, type VideoPlayerProps, addBusinessDays, allowAutofill, appendCacheBuster, appendQueryParam, buttonGroupVariants, buttonVariants, capitalizeFirstLetter, colors, easterDate, formatAddress, formatCityFromFormattedAddress, formatCityWithPostalCode, formatDate, formatDateWithTime, formatDistance, formatDuration, formatEuro, formatKM, formatLocality, formatName, formatNameWithInitial, formatPhoneNumber, formatPlate, formatPlateWithoutDashes, formatPostalCodeFromFormattedAddress, formatRegionCode, formatTime, formatVideoDuration, formatVin, generateHexColor, getAvatarColor, getCleanFileName, getElapsedTime, getFileIconByMimeType, getFileKind, getFileNameFromUrl, getInitials, getMimeCategory, getPastelColorPair, getRelativeTime, isHoliday, isSameDay, isolateCity, linkVariants, noAutofillProps, optimizeImage, parseAmount, parseIsoDate, toast, truncateFileName, truncateText, useAvatarSize };
2076
+ export { type ActivityFeedItem, ActivityFeedPanel, type ActivityFeedPanelProps, Attachment, type AttachmentProps, type AttachmentStatus, Avatar, AvatarBadge, type AvatarBadgeConfig, type AvatarBadgeProps, AvatarFallback, type AvatarFallbackProps, AvatarGroup, type AvatarGroupProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Banner, type BannerAction, type BannerJustify, type BannerProps, type BannerToggle, Box, type BoxProps, Bulk, type BulkProps, type BulkSection, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, COLOR_TOKENS, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColorKey, ColorPicker, type ColorPickerProps, type ColorToken, DatePicker, type DatePickerMode, type DatePickerProps, type DatePreset, Divider, type DividerProps, Drawer, DrawerBody, DrawerClose, DrawerDescription, type DrawerDirection, DrawerFooter, DrawerHeader, type DrawerProps, DrawerTitle, EmailInput, type EmailInputProps, EmptyState, type EmptyStateProps, FAB_EDGE_MARGIN, FAB_SIZE, FilePicker, type FilePickerProps, FileUploadZone, type FileUploadZoneProps, type FloatingAction, FloatingButton, type FloatingButtonProps, type FloatingSafeArea, Gantt, type GanttBand, type GanttBar, type GanttDay, GanttDot, type GanttProps, type GanttRow, GanttSwatch, type HexColor, HistoryButton, type HistoryButtonProps, type HistoryChange, HistoryDrawer, type HistoryDrawerProps, type HistoryEntry, type HistoryFilter, HistoryList, type HistoryListProps, Icon, IconBadge, type IconBadgeProps, type IconColor, type IconFamily, type IconProps, type IconSize, type IconTabItem, IconTabs, type IconTabsProps, IconTooltip, type IconTooltipProps, type IconVariant, Image, type ImageProps, InfoTooltip, type InfoTooltipProps, type InfoTooltipVariant, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, type InputGroupProps, type InputProps, Item, ItemActions, ItemContent, ItemDescription, ItemMedia, type ItemMediaProps, type ItemProps, ItemTitle, Label, type LabelProps, Layout, type LayoutProps, Link, type LinkProps, Message, MessageDateSeparator, type MessageDateSeparatorProps, type MessageProps, MessageScroller, type MessageScrollerProps, type MessageSeparatorTone, type MessageVariant, MetricCard, type MetricCardProps, Modal, ModalBody, ModalClose, ModalDescription, ModalFooter, ModalHeader, type ModalProps, ModalTitle, type MultiSelectProps, type OptimizeImageOptions, type OptimizeImageResult, PageContainer, type PageContainerProps, Pagination, type PaginationProps, PasswordInput, type PasswordInputProps, PdfPreview, type PdfPreviewProps, PhoneInput, type PhoneInputMeta, type PhoneInputProps, Popover, type PopoverMenuItem, type PopoverProps, ProgressBar, type ProgressBarProps, type ProgressSegment, Radio, type RadioOption, type RadioProps, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Select, type SelectBubbleOption, type SelectGroup, type SelectItem, type SelectOption, type SelectProps, Sidebar, SidebarActionCard, type SidebarActionCardProps, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuSearchInput, type SidebarMenuSearchInputProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarMenuSubItemProps, type SidebarMenuSubProps, type SidebarProps, SidebarSupportInfo, type SidebarSupportInfoProps, SidebarTrigger, type SidebarTriggerProps, SidebarUserMenu, type SidebarUserMenuAction, type SidebarUserMenuLeafAction, type SidebarUserMenuProps, type SingleSelectProps, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, type SpinnerSize, Stepper, type StepperProps, Switch, type SwitchProps, TOUR_TARGET_ATTRIBUTE, type TabItem, Table, TableCell, type TableCellProps, type TableEmptyState, TableFooter, TableFooterCell, type TableFooterCellProps, type TableFooterProps, TableFooterRow, type TableFooterRowProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, TableHeaderRow, type TableHeaderRowProps, type TablePagination, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, type TabsVariant, TagBubble, type TagBubbleProps, type TagLevelItem, TagLevelPicker, type TagLevelPickerProps, type TagLevelPickerSize, type TagOption, type TagSearchOption, TagSelect, type TagSelectProps, Text, type TextProps, Textarea, type TextareaProps, type TextareaVariant, Tile, type TileProps, type TileVariant, Timeline, type TimelineItem, type TimelineProps, type ToastId, type ToastOptions, type ToastType, Toaster, Tooltip, type TooltipProps, Tour, type TourCloseReason, type TourLabels, type TourPlacement, type TourProps, type TourStep, TourTarget, type TourTargetProps, VideoPlayer, type VideoPlayerProps, addBusinessDays, allowAutofill, appendCacheBuster, appendQueryParam, buttonGroupVariants, buttonVariants, capitalizeFirstLetter, colors, easterDate, formatAddress, formatCityFromFormattedAddress, formatCityWithPostalCode, formatDate, formatDateWithTime, formatDistance, formatDuration, formatEuro, formatKM, formatLocality, formatName, formatNameWithInitial, formatPhoneNumber, formatPlate, formatPlateWithoutDashes, formatPostalCodeFromFormattedAddress, formatRegionCode, formatTime, formatVideoDuration, formatVin, generateHexColor, getAvatarColor, getCleanFileName, getElapsedTime, getFileIconByMimeType, getFileKind, getFileNameFromUrl, getInitials, getMimeCategory, getPastelColorPair, getRelativeTime, isHoliday, isSameDay, isolateCity, linkVariants, noAutofillProps, optimizeImage, parseAmount, parseIsoDate, toast, truncateFileName, truncateText, useAvatarSize };