design-zystem 1.0.446 → 1.0.448
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/ui/index.d.mts +69 -3
- package/dist/ui/index.d.ts +69 -3
- package/dist/ui/index.js +630 -438
- package/dist/ui/index.mjs +628 -438
- package/dist/ui/style.css +1 -1
- package/package.json +1 -1
package/dist/ui/index.d.mts
CHANGED
|
@@ -38,6 +38,8 @@ interface LayoutProps extends HTMLAttributes<HTMLDivElement>, Omit<VariantProps<
|
|
|
38
38
|
width?: string;
|
|
39
39
|
/** Largeur maximale (`"448px"`, `"60%"`) — garde le `fullWidth` par défaut. */
|
|
40
40
|
maxWidth?: string;
|
|
41
|
+
/** Hauteur explicite (`"320px"`) — pour une zone de taille fixe (aperçu, recadrage). */
|
|
42
|
+
height?: string;
|
|
41
43
|
/** Raccourci CSS `flex` (ex. `1`, `2`, `"1 1 0%"`) — pour répartir l'espace entre plusieurs `Layout` côte à côte dans un `Layout row` parent. */
|
|
42
44
|
flex?: number | string;
|
|
43
45
|
}
|
|
@@ -956,10 +958,18 @@ interface TableGroupBandProps extends TableGroupLabelProps {
|
|
|
956
958
|
canCollapseFromBand?: boolean;
|
|
957
959
|
}
|
|
958
960
|
|
|
959
|
-
interface
|
|
961
|
+
interface TableSectionRowBandProps extends TableGroupBandProps {
|
|
960
962
|
endContent?: ReactNode;
|
|
961
963
|
onBandClick?: () => void;
|
|
964
|
+
children?: undefined;
|
|
962
965
|
}
|
|
966
|
+
/** Bande au contenu libre, pour un en-tête de groupe que les props de bande ne décrivent pas. */
|
|
967
|
+
interface TableSectionRowContentProps {
|
|
968
|
+
colSpan: number;
|
|
969
|
+
title?: undefined;
|
|
970
|
+
children: ReactNode;
|
|
971
|
+
}
|
|
972
|
+
type TableSectionRowProps = TableSectionRowBandProps | TableSectionRowContentProps;
|
|
963
973
|
declare const TableSectionRow: (props: TableSectionRowProps) => react.JSX.Element;
|
|
964
974
|
|
|
965
975
|
type TableSubgroupRowProps = TableGroupBandProps;
|
|
@@ -993,9 +1003,10 @@ interface TablePersonCellProps {
|
|
|
993
1003
|
secondary?: ReactNode;
|
|
994
1004
|
onNameClick?: () => void;
|
|
995
1005
|
isExpanded?: boolean;
|
|
1006
|
+
isFullName?: boolean;
|
|
996
1007
|
width?: string;
|
|
997
1008
|
}
|
|
998
|
-
declare const TablePersonCell: ({ firstName, lastName, src, avatarBadge, secondary, onNameClick, isExpanded, width, }: TablePersonCellProps) => react.JSX.Element;
|
|
1009
|
+
declare const TablePersonCell: ({ firstName, lastName, src, avatarBadge, secondary, onNameClick, isExpanded, isFullName, width, }: TablePersonCellProps) => react.JSX.Element;
|
|
999
1010
|
|
|
1000
1011
|
interface TableClientCellProps extends Pick<TableCellProps, 'width' | 'sticky' | 'stickyOffset' | 'isExpanded' | 'accentColor'> {
|
|
1001
1012
|
name: string;
|
|
@@ -1086,6 +1097,13 @@ interface AvatarBadgeProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
1086
1097
|
}
|
|
1087
1098
|
/** Positionné dans le coin bas-droit de l'Avatar parent (via context de taille) — un point de statut nu (`<AvatarBadge className="bg-green-700" />`) ou une icône en enfant. */
|
|
1088
1099
|
declare const AvatarBadge: react.ForwardRefExoticComponent<AvatarBadgeProps & react.RefAttributes<HTMLDivElement>>;
|
|
1100
|
+
interface AvatarEditOverlayProps extends HTMLAttributes<HTMLDivElement> {
|
|
1101
|
+
/** Nom de l'icône FontAwesome, sans le préfixe `fa-`. */
|
|
1102
|
+
icon?: string;
|
|
1103
|
+
iconFamily?: IconFamily;
|
|
1104
|
+
}
|
|
1105
|
+
/** Voile sombre avec une icône centrée, visible au survol (ou au focus clavier) de l'Avatar parent : signale un avatar modifiable. Décoratif — le clic se gère sur l'Avatar ou son déclencheur. */
|
|
1106
|
+
declare const AvatarEditOverlay: react.ForwardRefExoticComponent<AvatarEditOverlayProps & react.RefAttributes<HTMLDivElement>>;
|
|
1089
1107
|
interface AvatarGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
1090
1108
|
size?: number;
|
|
1091
1109
|
max?: number;
|
|
@@ -1160,6 +1178,54 @@ interface EditableProgressBarProps extends ProgressBarBaseProps {
|
|
|
1160
1178
|
type ProgressBarProps = ReadOnlyProgressBarProps | EditableProgressBarProps;
|
|
1161
1179
|
declare const ProgressBar: ({ value, onChange, min, max, step, disabled, color, hexColor, segments, markers, height, label, "aria-label": ariaLabel, showLabel, formatValue, className, }: ProgressBarProps) => react.JSX.Element;
|
|
1162
1180
|
|
|
1181
|
+
declare const sliderTrackVariants: (props?: ({
|
|
1182
|
+
height?: "sm" | "md" | "lg" | "xs" | "xl" | null | undefined;
|
|
1183
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1184
|
+
declare const SIZE: {
|
|
1185
|
+
readonly sm: {
|
|
1186
|
+
readonly root: "h-4";
|
|
1187
|
+
readonly thumb: "h-4 w-4";
|
|
1188
|
+
readonly height: "xs";
|
|
1189
|
+
readonly labelOffset: "pt-5";
|
|
1190
|
+
};
|
|
1191
|
+
readonly md: {
|
|
1192
|
+
readonly root: "h-5";
|
|
1193
|
+
readonly thumb: "h-5 w-5";
|
|
1194
|
+
readonly height: "md";
|
|
1195
|
+
readonly labelOffset: "pt-6";
|
|
1196
|
+
};
|
|
1197
|
+
readonly lg: {
|
|
1198
|
+
readonly root: "h-6";
|
|
1199
|
+
readonly thumb: "h-6 w-6";
|
|
1200
|
+
readonly height: "lg";
|
|
1201
|
+
readonly labelOffset: "pt-7";
|
|
1202
|
+
};
|
|
1203
|
+
};
|
|
1204
|
+
interface SliderProps {
|
|
1205
|
+
/** Sur la plage `min`–`max`, clampée. Le slider est contrôlé. */
|
|
1206
|
+
value: number;
|
|
1207
|
+
onChange: (value: number) => void;
|
|
1208
|
+
min?: number;
|
|
1209
|
+
max?: number;
|
|
1210
|
+
step?: number;
|
|
1211
|
+
disabled?: boolean;
|
|
1212
|
+
/** Taille de la poignée et, par défaut, épaisseur de la piste. */
|
|
1213
|
+
size?: keyof typeof SIZE;
|
|
1214
|
+
/** Épaisseur de la piste, quand elle doit différer de celle de `size`. */
|
|
1215
|
+
height?: VariantProps<typeof sliderTrackVariants>['height'];
|
|
1216
|
+
color?: ColorToken;
|
|
1217
|
+
/** Couleur brute hors palette fermée — remplace `color`. */
|
|
1218
|
+
hexColor?: HexColor;
|
|
1219
|
+
label?: string;
|
|
1220
|
+
/** Nom accessible sans libellé visible. */
|
|
1221
|
+
'aria-label'?: string;
|
|
1222
|
+
/** Affiche la valeur au-dessus de la poignée, et `min` / `max` sous la piste. */
|
|
1223
|
+
showLabel?: boolean;
|
|
1224
|
+
formatValue?: (value: number) => string;
|
|
1225
|
+
className?: string;
|
|
1226
|
+
}
|
|
1227
|
+
declare const Slider: ({ value, onChange, min, max, step, disabled, size, height, color, hexColor, label, "aria-label": ariaLabel, showLabel, formatValue, className, }: SliderProps) => react.JSX.Element;
|
|
1228
|
+
|
|
1163
1229
|
declare const Collapsible: react.ForwardRefExoticComponent<RadixCollapsible.CollapsibleProps & react.RefAttributes<HTMLDivElement>>;
|
|
1164
1230
|
declare const CollapsibleTrigger: react.ForwardRefExoticComponent<RadixCollapsible.CollapsibleTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1165
1231
|
declare const CollapsibleContent: ({ className, ...props }: React.ComponentPropsWithoutRef<typeof RadixCollapsible.Content>) => react.JSX.Element;
|
|
@@ -2353,4 +2419,4 @@ interface TourTargetProps {
|
|
|
2353
2419
|
declare const TourTarget: ({ id, children }: TourTargetProps) => react.JSX.Element;
|
|
2354
2420
|
declare const Tour: ({ steps, open, step, onStepChange, onClose, labels, targetTimeout, }: TourProps) => null;
|
|
2355
2421
|
|
|
2356
|
-
export { type ActivityFeedItem, ActivityFeedPanel, type ActivityFeedPanelProps, Attachment, type AttachmentProps, type AttachmentStatus, AudioPlayer, type AudioPlayerProps, 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, ColorTokenPicker, type ColorTokenPickerProps, 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 HeaderCheckState, 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 ProgressMarker, type ProgressSegment, Radio, type RadioOption, type RadioProps, type RowId, type RowSelection, 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, type TableAction, TableActionsCell, type TableActionsCellProps, type TableAlertAction, TableAlertRow, type TableAlertRowProps, type TableAlertTone, TableCell, type TableCellProps, type TableCellTheme, TableClientCell, type TableClientCellProps, type TableColumnsAlign, type TableEmptyState, TableExpandedRow, type TableExpandedRowProps, TableFooter, TableFooterCell, type TableFooterCellProps, type TableFooterProps, TableFooterRow, type TableFooterRowProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, TableHeaderRow, type TableHeaderRowProps, type TablePagination, TablePersonCell, type TablePersonCellProps, type TableProps, TableRow, type TableRowProps, TableSectionRow, type TableSectionRowProps, TableSelectCell, type TableSelectCellProps, TableSelectHeaderCell, type TableSelectHeaderCellProps, type TableSelection, TableStatusCell, type TableStatusCellProps, TableSubgroupRow, type TableSubgroupRowProps, type TableToolbarProps, type TableToolbarSearch, type TableToolbarStatusFilter, type TableVariant, 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, type UseRowSelectionOptions, VEHICLE_DAMAGE_ZONES, VehicleDamageMap, type VehicleDamageMapProps, type VehicleDamageMapSideLabels, type VehicleDamageMark, type VehicleDamageZone, 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, useRowSelection };
|
|
2422
|
+
export { type ActivityFeedItem, ActivityFeedPanel, type ActivityFeedPanelProps, Attachment, type AttachmentProps, type AttachmentStatus, AudioPlayer, type AudioPlayerProps, Avatar, AvatarBadge, type AvatarBadgeConfig, type AvatarBadgeProps, AvatarEditOverlay, type AvatarEditOverlayProps, 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, ColorTokenPicker, type ColorTokenPickerProps, 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 HeaderCheckState, 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 ProgressMarker, type ProgressSegment, Radio, type RadioOption, type RadioProps, type RowId, type RowSelection, 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, Slider, type SliderProps, Spinner, type SpinnerProps, type SpinnerSize, Stepper, type StepperProps, Switch, type SwitchProps, TOUR_TARGET_ATTRIBUTE, type TabItem, Table, type TableAction, TableActionsCell, type TableActionsCellProps, type TableAlertAction, TableAlertRow, type TableAlertRowProps, type TableAlertTone, TableCell, type TableCellProps, type TableCellTheme, TableClientCell, type TableClientCellProps, type TableColumnsAlign, type TableEmptyState, TableExpandedRow, type TableExpandedRowProps, TableFooter, TableFooterCell, type TableFooterCellProps, type TableFooterProps, TableFooterRow, type TableFooterRowProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, TableHeaderRow, type TableHeaderRowProps, type TablePagination, TablePersonCell, type TablePersonCellProps, type TableProps, TableRow, type TableRowProps, TableSectionRow, type TableSectionRowProps, TableSelectCell, type TableSelectCellProps, TableSelectHeaderCell, type TableSelectHeaderCellProps, type TableSelection, TableStatusCell, type TableStatusCellProps, TableSubgroupRow, type TableSubgroupRowProps, type TableToolbarProps, type TableToolbarSearch, type TableToolbarStatusFilter, type TableVariant, 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, type UseRowSelectionOptions, VEHICLE_DAMAGE_ZONES, VehicleDamageMap, type VehicleDamageMapProps, type VehicleDamageMapSideLabels, type VehicleDamageMark, type VehicleDamageZone, 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, useRowSelection };
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -38,6 +38,8 @@ interface LayoutProps extends HTMLAttributes<HTMLDivElement>, Omit<VariantProps<
|
|
|
38
38
|
width?: string;
|
|
39
39
|
/** Largeur maximale (`"448px"`, `"60%"`) — garde le `fullWidth` par défaut. */
|
|
40
40
|
maxWidth?: string;
|
|
41
|
+
/** Hauteur explicite (`"320px"`) — pour une zone de taille fixe (aperçu, recadrage). */
|
|
42
|
+
height?: string;
|
|
41
43
|
/** Raccourci CSS `flex` (ex. `1`, `2`, `"1 1 0%"`) — pour répartir l'espace entre plusieurs `Layout` côte à côte dans un `Layout row` parent. */
|
|
42
44
|
flex?: number | string;
|
|
43
45
|
}
|
|
@@ -956,10 +958,18 @@ interface TableGroupBandProps extends TableGroupLabelProps {
|
|
|
956
958
|
canCollapseFromBand?: boolean;
|
|
957
959
|
}
|
|
958
960
|
|
|
959
|
-
interface
|
|
961
|
+
interface TableSectionRowBandProps extends TableGroupBandProps {
|
|
960
962
|
endContent?: ReactNode;
|
|
961
963
|
onBandClick?: () => void;
|
|
964
|
+
children?: undefined;
|
|
962
965
|
}
|
|
966
|
+
/** Bande au contenu libre, pour un en-tête de groupe que les props de bande ne décrivent pas. */
|
|
967
|
+
interface TableSectionRowContentProps {
|
|
968
|
+
colSpan: number;
|
|
969
|
+
title?: undefined;
|
|
970
|
+
children: ReactNode;
|
|
971
|
+
}
|
|
972
|
+
type TableSectionRowProps = TableSectionRowBandProps | TableSectionRowContentProps;
|
|
963
973
|
declare const TableSectionRow: (props: TableSectionRowProps) => react.JSX.Element;
|
|
964
974
|
|
|
965
975
|
type TableSubgroupRowProps = TableGroupBandProps;
|
|
@@ -993,9 +1003,10 @@ interface TablePersonCellProps {
|
|
|
993
1003
|
secondary?: ReactNode;
|
|
994
1004
|
onNameClick?: () => void;
|
|
995
1005
|
isExpanded?: boolean;
|
|
1006
|
+
isFullName?: boolean;
|
|
996
1007
|
width?: string;
|
|
997
1008
|
}
|
|
998
|
-
declare const TablePersonCell: ({ firstName, lastName, src, avatarBadge, secondary, onNameClick, isExpanded, width, }: TablePersonCellProps) => react.JSX.Element;
|
|
1009
|
+
declare const TablePersonCell: ({ firstName, lastName, src, avatarBadge, secondary, onNameClick, isExpanded, isFullName, width, }: TablePersonCellProps) => react.JSX.Element;
|
|
999
1010
|
|
|
1000
1011
|
interface TableClientCellProps extends Pick<TableCellProps, 'width' | 'sticky' | 'stickyOffset' | 'isExpanded' | 'accentColor'> {
|
|
1001
1012
|
name: string;
|
|
@@ -1086,6 +1097,13 @@ interface AvatarBadgeProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
1086
1097
|
}
|
|
1087
1098
|
/** Positionné dans le coin bas-droit de l'Avatar parent (via context de taille) — un point de statut nu (`<AvatarBadge className="bg-green-700" />`) ou une icône en enfant. */
|
|
1088
1099
|
declare const AvatarBadge: react.ForwardRefExoticComponent<AvatarBadgeProps & react.RefAttributes<HTMLDivElement>>;
|
|
1100
|
+
interface AvatarEditOverlayProps extends HTMLAttributes<HTMLDivElement> {
|
|
1101
|
+
/** Nom de l'icône FontAwesome, sans le préfixe `fa-`. */
|
|
1102
|
+
icon?: string;
|
|
1103
|
+
iconFamily?: IconFamily;
|
|
1104
|
+
}
|
|
1105
|
+
/** Voile sombre avec une icône centrée, visible au survol (ou au focus clavier) de l'Avatar parent : signale un avatar modifiable. Décoratif — le clic se gère sur l'Avatar ou son déclencheur. */
|
|
1106
|
+
declare const AvatarEditOverlay: react.ForwardRefExoticComponent<AvatarEditOverlayProps & react.RefAttributes<HTMLDivElement>>;
|
|
1089
1107
|
interface AvatarGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
1090
1108
|
size?: number;
|
|
1091
1109
|
max?: number;
|
|
@@ -1160,6 +1178,54 @@ interface EditableProgressBarProps extends ProgressBarBaseProps {
|
|
|
1160
1178
|
type ProgressBarProps = ReadOnlyProgressBarProps | EditableProgressBarProps;
|
|
1161
1179
|
declare const ProgressBar: ({ value, onChange, min, max, step, disabled, color, hexColor, segments, markers, height, label, "aria-label": ariaLabel, showLabel, formatValue, className, }: ProgressBarProps) => react.JSX.Element;
|
|
1162
1180
|
|
|
1181
|
+
declare const sliderTrackVariants: (props?: ({
|
|
1182
|
+
height?: "sm" | "md" | "lg" | "xs" | "xl" | null | undefined;
|
|
1183
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1184
|
+
declare const SIZE: {
|
|
1185
|
+
readonly sm: {
|
|
1186
|
+
readonly root: "h-4";
|
|
1187
|
+
readonly thumb: "h-4 w-4";
|
|
1188
|
+
readonly height: "xs";
|
|
1189
|
+
readonly labelOffset: "pt-5";
|
|
1190
|
+
};
|
|
1191
|
+
readonly md: {
|
|
1192
|
+
readonly root: "h-5";
|
|
1193
|
+
readonly thumb: "h-5 w-5";
|
|
1194
|
+
readonly height: "md";
|
|
1195
|
+
readonly labelOffset: "pt-6";
|
|
1196
|
+
};
|
|
1197
|
+
readonly lg: {
|
|
1198
|
+
readonly root: "h-6";
|
|
1199
|
+
readonly thumb: "h-6 w-6";
|
|
1200
|
+
readonly height: "lg";
|
|
1201
|
+
readonly labelOffset: "pt-7";
|
|
1202
|
+
};
|
|
1203
|
+
};
|
|
1204
|
+
interface SliderProps {
|
|
1205
|
+
/** Sur la plage `min`–`max`, clampée. Le slider est contrôlé. */
|
|
1206
|
+
value: number;
|
|
1207
|
+
onChange: (value: number) => void;
|
|
1208
|
+
min?: number;
|
|
1209
|
+
max?: number;
|
|
1210
|
+
step?: number;
|
|
1211
|
+
disabled?: boolean;
|
|
1212
|
+
/** Taille de la poignée et, par défaut, épaisseur de la piste. */
|
|
1213
|
+
size?: keyof typeof SIZE;
|
|
1214
|
+
/** Épaisseur de la piste, quand elle doit différer de celle de `size`. */
|
|
1215
|
+
height?: VariantProps<typeof sliderTrackVariants>['height'];
|
|
1216
|
+
color?: ColorToken;
|
|
1217
|
+
/** Couleur brute hors palette fermée — remplace `color`. */
|
|
1218
|
+
hexColor?: HexColor;
|
|
1219
|
+
label?: string;
|
|
1220
|
+
/** Nom accessible sans libellé visible. */
|
|
1221
|
+
'aria-label'?: string;
|
|
1222
|
+
/** Affiche la valeur au-dessus de la poignée, et `min` / `max` sous la piste. */
|
|
1223
|
+
showLabel?: boolean;
|
|
1224
|
+
formatValue?: (value: number) => string;
|
|
1225
|
+
className?: string;
|
|
1226
|
+
}
|
|
1227
|
+
declare const Slider: ({ value, onChange, min, max, step, disabled, size, height, color, hexColor, label, "aria-label": ariaLabel, showLabel, formatValue, className, }: SliderProps) => react.JSX.Element;
|
|
1228
|
+
|
|
1163
1229
|
declare const Collapsible: react.ForwardRefExoticComponent<RadixCollapsible.CollapsibleProps & react.RefAttributes<HTMLDivElement>>;
|
|
1164
1230
|
declare const CollapsibleTrigger: react.ForwardRefExoticComponent<RadixCollapsible.CollapsibleTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1165
1231
|
declare const CollapsibleContent: ({ className, ...props }: React.ComponentPropsWithoutRef<typeof RadixCollapsible.Content>) => react.JSX.Element;
|
|
@@ -2353,4 +2419,4 @@ interface TourTargetProps {
|
|
|
2353
2419
|
declare const TourTarget: ({ id, children }: TourTargetProps) => react.JSX.Element;
|
|
2354
2420
|
declare const Tour: ({ steps, open, step, onStepChange, onClose, labels, targetTimeout, }: TourProps) => null;
|
|
2355
2421
|
|
|
2356
|
-
export { type ActivityFeedItem, ActivityFeedPanel, type ActivityFeedPanelProps, Attachment, type AttachmentProps, type AttachmentStatus, AudioPlayer, type AudioPlayerProps, 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, ColorTokenPicker, type ColorTokenPickerProps, 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 HeaderCheckState, 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 ProgressMarker, type ProgressSegment, Radio, type RadioOption, type RadioProps, type RowId, type RowSelection, 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, type TableAction, TableActionsCell, type TableActionsCellProps, type TableAlertAction, TableAlertRow, type TableAlertRowProps, type TableAlertTone, TableCell, type TableCellProps, type TableCellTheme, TableClientCell, type TableClientCellProps, type TableColumnsAlign, type TableEmptyState, TableExpandedRow, type TableExpandedRowProps, TableFooter, TableFooterCell, type TableFooterCellProps, type TableFooterProps, TableFooterRow, type TableFooterRowProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, TableHeaderRow, type TableHeaderRowProps, type TablePagination, TablePersonCell, type TablePersonCellProps, type TableProps, TableRow, type TableRowProps, TableSectionRow, type TableSectionRowProps, TableSelectCell, type TableSelectCellProps, TableSelectHeaderCell, type TableSelectHeaderCellProps, type TableSelection, TableStatusCell, type TableStatusCellProps, TableSubgroupRow, type TableSubgroupRowProps, type TableToolbarProps, type TableToolbarSearch, type TableToolbarStatusFilter, type TableVariant, 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, type UseRowSelectionOptions, VEHICLE_DAMAGE_ZONES, VehicleDamageMap, type VehicleDamageMapProps, type VehicleDamageMapSideLabels, type VehicleDamageMark, type VehicleDamageZone, 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, useRowSelection };
|
|
2422
|
+
export { type ActivityFeedItem, ActivityFeedPanel, type ActivityFeedPanelProps, Attachment, type AttachmentProps, type AttachmentStatus, AudioPlayer, type AudioPlayerProps, Avatar, AvatarBadge, type AvatarBadgeConfig, type AvatarBadgeProps, AvatarEditOverlay, type AvatarEditOverlayProps, 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, ColorTokenPicker, type ColorTokenPickerProps, 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 HeaderCheckState, 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 ProgressMarker, type ProgressSegment, Radio, type RadioOption, type RadioProps, type RowId, type RowSelection, 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, Slider, type SliderProps, Spinner, type SpinnerProps, type SpinnerSize, Stepper, type StepperProps, Switch, type SwitchProps, TOUR_TARGET_ATTRIBUTE, type TabItem, Table, type TableAction, TableActionsCell, type TableActionsCellProps, type TableAlertAction, TableAlertRow, type TableAlertRowProps, type TableAlertTone, TableCell, type TableCellProps, type TableCellTheme, TableClientCell, type TableClientCellProps, type TableColumnsAlign, type TableEmptyState, TableExpandedRow, type TableExpandedRowProps, TableFooter, TableFooterCell, type TableFooterCellProps, type TableFooterProps, TableFooterRow, type TableFooterRowProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, TableHeaderRow, type TableHeaderRowProps, type TablePagination, TablePersonCell, type TablePersonCellProps, type TableProps, TableRow, type TableRowProps, TableSectionRow, type TableSectionRowProps, TableSelectCell, type TableSelectCellProps, TableSelectHeaderCell, type TableSelectHeaderCellProps, type TableSelection, TableStatusCell, type TableStatusCellProps, TableSubgroupRow, type TableSubgroupRowProps, type TableToolbarProps, type TableToolbarSearch, type TableToolbarStatusFilter, type TableVariant, 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, type UseRowSelectionOptions, VEHICLE_DAMAGE_ZONES, VehicleDamageMap, type VehicleDamageMapProps, type VehicleDamageMapSideLabels, type VehicleDamageMark, type VehicleDamageZone, 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, useRowSelection };
|