design-zystem 1.0.462 → 1.0.463
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 +26 -69
- package/dist/ui/index.d.ts +26 -69
- package/dist/ui/index.js +918 -1105
- package/dist/ui/index.mjs +806 -990
- package/dist/ui/style.css +1 -1
- package/package.json +1 -1
package/dist/ui/index.d.mts
CHANGED
|
@@ -176,6 +176,7 @@ interface IconTooltipProps {
|
|
|
176
176
|
variant?: IconVariant;
|
|
177
177
|
side?: 'top' | 'bottom' | 'left' | 'right';
|
|
178
178
|
align?: 'start' | 'center' | 'end';
|
|
179
|
+
superscript?: boolean;
|
|
179
180
|
className?: string;
|
|
180
181
|
}
|
|
181
182
|
/**
|
|
@@ -190,17 +191,7 @@ interface IconTooltipProps {
|
|
|
190
191
|
* glyphe ; avec, elle s'accroche au bouton lui-même, pour que l'`aria-describedby`
|
|
191
192
|
* de Radix porte bien sur l'élément interactif.
|
|
192
193
|
*/
|
|
193
|
-
declare const IconTooltip: ({ name, label, onClick, disabled, family, size, color, theme, variant, side, align, className, }: IconTooltipProps) => react.JSX.Element;
|
|
194
|
-
|
|
195
|
-
type InfoTooltipVariant = 'help' | 'info';
|
|
196
|
-
interface InfoTooltipProps {
|
|
197
|
-
content: ReactNode;
|
|
198
|
-
variant?: InfoTooltipVariant;
|
|
199
|
-
size?: IconSize;
|
|
200
|
-
side?: 'top' | 'bottom' | 'left' | 'right';
|
|
201
|
-
align?: 'start' | 'center' | 'end';
|
|
202
|
-
}
|
|
203
|
-
declare const InfoTooltip: ({ content, variant, size, side, align, }: InfoTooltipProps) => react.JSX.Element;
|
|
194
|
+
declare const IconTooltip: ({ name, label, onClick, disabled, family, size, color, theme, variant, side, align, superscript, className, }: IconTooltipProps) => react.JSX.Element;
|
|
204
195
|
|
|
205
196
|
declare const colors: {
|
|
206
197
|
readonly neutral_00: "#FFFFFF00";
|
|
@@ -1162,6 +1153,26 @@ declare const Radio: ({ items, value, onChange, name, "aria-label": ariaLabel, d
|
|
|
1162
1153
|
declare const trackVariants: (props?: ({
|
|
1163
1154
|
height?: "sm" | "md" | "lg" | "xs" | "xl" | null | undefined;
|
|
1164
1155
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1156
|
+
declare const SIZE: {
|
|
1157
|
+
readonly sm: {
|
|
1158
|
+
readonly root: "h-4";
|
|
1159
|
+
readonly thumb: "h-4 w-4";
|
|
1160
|
+
readonly height: "xs";
|
|
1161
|
+
readonly labelOffset: "pt-5";
|
|
1162
|
+
};
|
|
1163
|
+
readonly md: {
|
|
1164
|
+
readonly root: "h-5";
|
|
1165
|
+
readonly thumb: "h-5 w-5";
|
|
1166
|
+
readonly height: "md";
|
|
1167
|
+
readonly labelOffset: "pt-6";
|
|
1168
|
+
};
|
|
1169
|
+
readonly lg: {
|
|
1170
|
+
readonly root: "h-6";
|
|
1171
|
+
readonly thumb: "h-6 w-6";
|
|
1172
|
+
readonly height: "lg";
|
|
1173
|
+
readonly labelOffset: "pt-7";
|
|
1174
|
+
};
|
|
1175
|
+
};
|
|
1165
1176
|
interface ProgressSegment {
|
|
1166
1177
|
value: number;
|
|
1167
1178
|
hexColor: HexColor;
|
|
@@ -1194,6 +1205,7 @@ interface ReadOnlyProgressBarProps extends ProgressBarBaseProps {
|
|
|
1194
1205
|
segments?: ProgressSegment[];
|
|
1195
1206
|
/** Repères verticaux posés sur la barre (ex. un objectif au prorata), avec un libellé optionnel au-dessus. */
|
|
1196
1207
|
markers?: ProgressMarker[];
|
|
1208
|
+
size?: undefined;
|
|
1197
1209
|
}
|
|
1198
1210
|
interface EditableProgressBarProps extends ProgressBarBaseProps {
|
|
1199
1211
|
/** Sur la plage `min`–`max`, clampée. Obligatoire : le slider est contrôlé. */
|
|
@@ -1202,57 +1214,10 @@ interface EditableProgressBarProps extends ProgressBarBaseProps {
|
|
|
1202
1214
|
onChange: (value: number) => void;
|
|
1203
1215
|
segments?: undefined;
|
|
1204
1216
|
markers?: undefined;
|
|
1205
|
-
}
|
|
1206
|
-
type ProgressBarProps = ReadOnlyProgressBarProps | EditableProgressBarProps;
|
|
1207
|
-
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;
|
|
1208
|
-
|
|
1209
|
-
declare const sliderTrackVariants: (props?: ({
|
|
1210
|
-
height?: "sm" | "md" | "lg" | "xs" | "xl" | null | undefined;
|
|
1211
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1212
|
-
declare const SIZE: {
|
|
1213
|
-
readonly sm: {
|
|
1214
|
-
readonly root: "h-4";
|
|
1215
|
-
readonly thumb: "h-4 w-4";
|
|
1216
|
-
readonly height: "xs";
|
|
1217
|
-
readonly labelOffset: "pt-5";
|
|
1218
|
-
};
|
|
1219
|
-
readonly md: {
|
|
1220
|
-
readonly root: "h-5";
|
|
1221
|
-
readonly thumb: "h-5 w-5";
|
|
1222
|
-
readonly height: "md";
|
|
1223
|
-
readonly labelOffset: "pt-6";
|
|
1224
|
-
};
|
|
1225
|
-
readonly lg: {
|
|
1226
|
-
readonly root: "h-6";
|
|
1227
|
-
readonly thumb: "h-6 w-6";
|
|
1228
|
-
readonly height: "lg";
|
|
1229
|
-
readonly labelOffset: "pt-7";
|
|
1230
|
-
};
|
|
1231
|
-
};
|
|
1232
|
-
interface SliderProps {
|
|
1233
|
-
/** Sur la plage `min`–`max`, clampée. Le slider est contrôlé. */
|
|
1234
|
-
value: number;
|
|
1235
|
-
onChange: (value: number) => void;
|
|
1236
|
-
min?: number;
|
|
1237
|
-
max?: number;
|
|
1238
|
-
step?: number;
|
|
1239
|
-
disabled?: boolean;
|
|
1240
|
-
/** Taille de la poignée et, par défaut, épaisseur de la piste. */
|
|
1241
1217
|
size?: keyof typeof SIZE;
|
|
1242
|
-
/** Épaisseur de la piste, quand elle doit différer de celle de `size`. */
|
|
1243
|
-
height?: VariantProps<typeof sliderTrackVariants>['height'];
|
|
1244
|
-
color?: ColorToken;
|
|
1245
|
-
/** Couleur brute hors palette fermée — remplace `color`. */
|
|
1246
|
-
hexColor?: HexColor;
|
|
1247
|
-
label?: string;
|
|
1248
|
-
/** Nom accessible sans libellé visible. */
|
|
1249
|
-
'aria-label'?: string;
|
|
1250
|
-
/** Affiche la valeur au-dessus de la poignée, et `min` / `max` sous la piste. */
|
|
1251
|
-
showLabel?: boolean;
|
|
1252
|
-
formatValue?: (value: number) => string;
|
|
1253
|
-
className?: string;
|
|
1254
1218
|
}
|
|
1255
|
-
|
|
1219
|
+
type ProgressBarProps = ReadOnlyProgressBarProps | EditableProgressBarProps;
|
|
1220
|
+
declare const ProgressBar: ({ value, onChange, min, max, step, disabled, color, hexColor, segments, markers, size, height, label, "aria-label": ariaLabel, showLabel, formatValue, className, }: ProgressBarProps) => react.JSX.Element;
|
|
1256
1221
|
|
|
1257
1222
|
declare const Collapsible: react.ForwardRefExoticComponent<RadixCollapsible.CollapsibleProps & react.RefAttributes<HTMLDivElement>>;
|
|
1258
1223
|
declare const CollapsibleTrigger: react.ForwardRefExoticComponent<RadixCollapsible.CollapsibleTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1781,14 +1746,6 @@ interface HistoryDrawerProps extends HistoryListProps {
|
|
|
1781
1746
|
}
|
|
1782
1747
|
declare const HistoryDrawer: ({ open, onClose, title, ...listProps }: HistoryDrawerProps) => react.JSX.Element;
|
|
1783
1748
|
|
|
1784
|
-
interface HistoryButtonProps extends HistoryListProps {
|
|
1785
|
-
variant?: 'default' | 'icon';
|
|
1786
|
-
title?: string;
|
|
1787
|
-
tooltip?: string;
|
|
1788
|
-
onOpenChange?: (isOpen: boolean) => void;
|
|
1789
|
-
}
|
|
1790
|
-
declare const HistoryButton: ({ variant, title, tooltip, onOpenChange, ...listProps }: HistoryButtonProps) => react.JSX.Element;
|
|
1791
|
-
|
|
1792
1749
|
interface GanttDay {
|
|
1793
1750
|
key: string | number;
|
|
1794
1751
|
leftPct: number;
|
|
@@ -2486,4 +2443,4 @@ interface TourTargetProps {
|
|
|
2486
2443
|
declare const TourTarget: ({ id, children }: TourTargetProps) => react.JSX.Element;
|
|
2487
2444
|
declare const Tour: ({ steps, open, step, onStepChange, onClose, labels, targetTimeout, }: TourProps) => null;
|
|
2488
2445
|
|
|
2489
|
-
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, GlobalSearch, GlobalSearchInput, GlobalSearchLoadMore, type GlobalSearchLoadMoreProps, type GlobalSearchProps, GlobalSearchResults, GlobalSearchRow, type GlobalSearchRowProps, GlobalSearchSection, type GlobalSearchSectionProps, type HeaderCheckState, type HexColor,
|
|
2446
|
+
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, GlobalSearch, GlobalSearchInput, GlobalSearchLoadMore, type GlobalSearchLoadMoreProps, type GlobalSearchProps, GlobalSearchResults, GlobalSearchRow, type GlobalSearchRowProps, GlobalSearchSection, type GlobalSearchSectionProps, type HeaderCheckState, type HexColor, 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, 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, TimeInput, type TimeInputProps, 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
|
@@ -176,6 +176,7 @@ interface IconTooltipProps {
|
|
|
176
176
|
variant?: IconVariant;
|
|
177
177
|
side?: 'top' | 'bottom' | 'left' | 'right';
|
|
178
178
|
align?: 'start' | 'center' | 'end';
|
|
179
|
+
superscript?: boolean;
|
|
179
180
|
className?: string;
|
|
180
181
|
}
|
|
181
182
|
/**
|
|
@@ -190,17 +191,7 @@ interface IconTooltipProps {
|
|
|
190
191
|
* glyphe ; avec, elle s'accroche au bouton lui-même, pour que l'`aria-describedby`
|
|
191
192
|
* de Radix porte bien sur l'élément interactif.
|
|
192
193
|
*/
|
|
193
|
-
declare const IconTooltip: ({ name, label, onClick, disabled, family, size, color, theme, variant, side, align, className, }: IconTooltipProps) => react.JSX.Element;
|
|
194
|
-
|
|
195
|
-
type InfoTooltipVariant = 'help' | 'info';
|
|
196
|
-
interface InfoTooltipProps {
|
|
197
|
-
content: ReactNode;
|
|
198
|
-
variant?: InfoTooltipVariant;
|
|
199
|
-
size?: IconSize;
|
|
200
|
-
side?: 'top' | 'bottom' | 'left' | 'right';
|
|
201
|
-
align?: 'start' | 'center' | 'end';
|
|
202
|
-
}
|
|
203
|
-
declare const InfoTooltip: ({ content, variant, size, side, align, }: InfoTooltipProps) => react.JSX.Element;
|
|
194
|
+
declare const IconTooltip: ({ name, label, onClick, disabled, family, size, color, theme, variant, side, align, superscript, className, }: IconTooltipProps) => react.JSX.Element;
|
|
204
195
|
|
|
205
196
|
declare const colors: {
|
|
206
197
|
readonly neutral_00: "#FFFFFF00";
|
|
@@ -1162,6 +1153,26 @@ declare const Radio: ({ items, value, onChange, name, "aria-label": ariaLabel, d
|
|
|
1162
1153
|
declare const trackVariants: (props?: ({
|
|
1163
1154
|
height?: "sm" | "md" | "lg" | "xs" | "xl" | null | undefined;
|
|
1164
1155
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1156
|
+
declare const SIZE: {
|
|
1157
|
+
readonly sm: {
|
|
1158
|
+
readonly root: "h-4";
|
|
1159
|
+
readonly thumb: "h-4 w-4";
|
|
1160
|
+
readonly height: "xs";
|
|
1161
|
+
readonly labelOffset: "pt-5";
|
|
1162
|
+
};
|
|
1163
|
+
readonly md: {
|
|
1164
|
+
readonly root: "h-5";
|
|
1165
|
+
readonly thumb: "h-5 w-5";
|
|
1166
|
+
readonly height: "md";
|
|
1167
|
+
readonly labelOffset: "pt-6";
|
|
1168
|
+
};
|
|
1169
|
+
readonly lg: {
|
|
1170
|
+
readonly root: "h-6";
|
|
1171
|
+
readonly thumb: "h-6 w-6";
|
|
1172
|
+
readonly height: "lg";
|
|
1173
|
+
readonly labelOffset: "pt-7";
|
|
1174
|
+
};
|
|
1175
|
+
};
|
|
1165
1176
|
interface ProgressSegment {
|
|
1166
1177
|
value: number;
|
|
1167
1178
|
hexColor: HexColor;
|
|
@@ -1194,6 +1205,7 @@ interface ReadOnlyProgressBarProps extends ProgressBarBaseProps {
|
|
|
1194
1205
|
segments?: ProgressSegment[];
|
|
1195
1206
|
/** Repères verticaux posés sur la barre (ex. un objectif au prorata), avec un libellé optionnel au-dessus. */
|
|
1196
1207
|
markers?: ProgressMarker[];
|
|
1208
|
+
size?: undefined;
|
|
1197
1209
|
}
|
|
1198
1210
|
interface EditableProgressBarProps extends ProgressBarBaseProps {
|
|
1199
1211
|
/** Sur la plage `min`–`max`, clampée. Obligatoire : le slider est contrôlé. */
|
|
@@ -1202,57 +1214,10 @@ interface EditableProgressBarProps extends ProgressBarBaseProps {
|
|
|
1202
1214
|
onChange: (value: number) => void;
|
|
1203
1215
|
segments?: undefined;
|
|
1204
1216
|
markers?: undefined;
|
|
1205
|
-
}
|
|
1206
|
-
type ProgressBarProps = ReadOnlyProgressBarProps | EditableProgressBarProps;
|
|
1207
|
-
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;
|
|
1208
|
-
|
|
1209
|
-
declare const sliderTrackVariants: (props?: ({
|
|
1210
|
-
height?: "sm" | "md" | "lg" | "xs" | "xl" | null | undefined;
|
|
1211
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1212
|
-
declare const SIZE: {
|
|
1213
|
-
readonly sm: {
|
|
1214
|
-
readonly root: "h-4";
|
|
1215
|
-
readonly thumb: "h-4 w-4";
|
|
1216
|
-
readonly height: "xs";
|
|
1217
|
-
readonly labelOffset: "pt-5";
|
|
1218
|
-
};
|
|
1219
|
-
readonly md: {
|
|
1220
|
-
readonly root: "h-5";
|
|
1221
|
-
readonly thumb: "h-5 w-5";
|
|
1222
|
-
readonly height: "md";
|
|
1223
|
-
readonly labelOffset: "pt-6";
|
|
1224
|
-
};
|
|
1225
|
-
readonly lg: {
|
|
1226
|
-
readonly root: "h-6";
|
|
1227
|
-
readonly thumb: "h-6 w-6";
|
|
1228
|
-
readonly height: "lg";
|
|
1229
|
-
readonly labelOffset: "pt-7";
|
|
1230
|
-
};
|
|
1231
|
-
};
|
|
1232
|
-
interface SliderProps {
|
|
1233
|
-
/** Sur la plage `min`–`max`, clampée. Le slider est contrôlé. */
|
|
1234
|
-
value: number;
|
|
1235
|
-
onChange: (value: number) => void;
|
|
1236
|
-
min?: number;
|
|
1237
|
-
max?: number;
|
|
1238
|
-
step?: number;
|
|
1239
|
-
disabled?: boolean;
|
|
1240
|
-
/** Taille de la poignée et, par défaut, épaisseur de la piste. */
|
|
1241
1217
|
size?: keyof typeof SIZE;
|
|
1242
|
-
/** Épaisseur de la piste, quand elle doit différer de celle de `size`. */
|
|
1243
|
-
height?: VariantProps<typeof sliderTrackVariants>['height'];
|
|
1244
|
-
color?: ColorToken;
|
|
1245
|
-
/** Couleur brute hors palette fermée — remplace `color`. */
|
|
1246
|
-
hexColor?: HexColor;
|
|
1247
|
-
label?: string;
|
|
1248
|
-
/** Nom accessible sans libellé visible. */
|
|
1249
|
-
'aria-label'?: string;
|
|
1250
|
-
/** Affiche la valeur au-dessus de la poignée, et `min` / `max` sous la piste. */
|
|
1251
|
-
showLabel?: boolean;
|
|
1252
|
-
formatValue?: (value: number) => string;
|
|
1253
|
-
className?: string;
|
|
1254
1218
|
}
|
|
1255
|
-
|
|
1219
|
+
type ProgressBarProps = ReadOnlyProgressBarProps | EditableProgressBarProps;
|
|
1220
|
+
declare const ProgressBar: ({ value, onChange, min, max, step, disabled, color, hexColor, segments, markers, size, height, label, "aria-label": ariaLabel, showLabel, formatValue, className, }: ProgressBarProps) => react.JSX.Element;
|
|
1256
1221
|
|
|
1257
1222
|
declare const Collapsible: react.ForwardRefExoticComponent<RadixCollapsible.CollapsibleProps & react.RefAttributes<HTMLDivElement>>;
|
|
1258
1223
|
declare const CollapsibleTrigger: react.ForwardRefExoticComponent<RadixCollapsible.CollapsibleTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1781,14 +1746,6 @@ interface HistoryDrawerProps extends HistoryListProps {
|
|
|
1781
1746
|
}
|
|
1782
1747
|
declare const HistoryDrawer: ({ open, onClose, title, ...listProps }: HistoryDrawerProps) => react.JSX.Element;
|
|
1783
1748
|
|
|
1784
|
-
interface HistoryButtonProps extends HistoryListProps {
|
|
1785
|
-
variant?: 'default' | 'icon';
|
|
1786
|
-
title?: string;
|
|
1787
|
-
tooltip?: string;
|
|
1788
|
-
onOpenChange?: (isOpen: boolean) => void;
|
|
1789
|
-
}
|
|
1790
|
-
declare const HistoryButton: ({ variant, title, tooltip, onOpenChange, ...listProps }: HistoryButtonProps) => react.JSX.Element;
|
|
1791
|
-
|
|
1792
1749
|
interface GanttDay {
|
|
1793
1750
|
key: string | number;
|
|
1794
1751
|
leftPct: number;
|
|
@@ -2486,4 +2443,4 @@ interface TourTargetProps {
|
|
|
2486
2443
|
declare const TourTarget: ({ id, children }: TourTargetProps) => react.JSX.Element;
|
|
2487
2444
|
declare const Tour: ({ steps, open, step, onStepChange, onClose, labels, targetTimeout, }: TourProps) => null;
|
|
2488
2445
|
|
|
2489
|
-
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, GlobalSearch, GlobalSearchInput, GlobalSearchLoadMore, type GlobalSearchLoadMoreProps, type GlobalSearchProps, GlobalSearchResults, GlobalSearchRow, type GlobalSearchRowProps, GlobalSearchSection, type GlobalSearchSectionProps, type HeaderCheckState, type HexColor,
|
|
2446
|
+
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, GlobalSearch, GlobalSearchInput, GlobalSearchLoadMore, type GlobalSearchLoadMoreProps, type GlobalSearchProps, GlobalSearchResults, GlobalSearchRow, type GlobalSearchRowProps, GlobalSearchSection, type GlobalSearchSectionProps, type HeaderCheckState, type HexColor, 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, 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, TimeInput, type TimeInputProps, 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 };
|