design-zystem 1.0.312 → 1.0.313

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.
@@ -128,6 +128,108 @@ interface IconProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'onClick
128
128
  */
129
129
  declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<HTMLElement>>;
130
130
 
131
+ declare const colors: {
132
+ readonly neutral_00: "#FFFFFF00";
133
+ readonly neutral_50: "#fff";
134
+ readonly neutral_100: "#f8f9fa";
135
+ readonly neutral_200: "#f2F2F2";
136
+ readonly neutral_400: "#ccc";
137
+ readonly neutral_500: "#A4A4A4";
138
+ readonly neutral_600: "#808080";
139
+ readonly neutral_800: "#343a40";
140
+ readonly neutral_950: "#000";
141
+ readonly grey_100: "#F8FAFC";
142
+ readonly grey_200: "#F1F5F9";
143
+ readonly grey_300: "#E2E8F0";
144
+ readonly grey_400: "#CBD5E1";
145
+ readonly grey_500: "#94A3B8";
146
+ readonly grey_600: "#646B73";
147
+ readonly dark_100: "#42979D";
148
+ readonly dark_200: "#317176";
149
+ readonly dark_300: "#1D1C1C";
150
+ readonly blue_50: "#DBE9FE";
151
+ readonly blue_100: "#CCEAF8";
152
+ readonly blue_200: "#B9DCED";
153
+ readonly blue_300: "#A7CFE2";
154
+ readonly blue_400: "#94C1D7";
155
+ readonly blue_500: "#82B4CC";
156
+ readonly blue_600: "#5C99B7";
157
+ readonly blue_700: "#377EA1";
158
+ readonly blue_800: "#12638B";
159
+ readonly blue_900: "#0E4F6F";
160
+ readonly blue_950: "#1C4ED8";
161
+ readonly red_500: "#F44649";
162
+ readonly red_50: "#FEE9E9";
163
+ readonly red_900: "#7F1D1D";
164
+ readonly turquoise_50: "#EEF8F9";
165
+ readonly turquoise_100: "#DCF2F3";
166
+ readonly turquoise_200: "#CBEBED";
167
+ readonly turquoise_300: "#BAE5E7";
168
+ readonly turquoise_400: "#97D7DC";
169
+ readonly yellow_50: "#FEF7EA";
170
+ readonly yellow_100: "#FEEDD5";
171
+ readonly yellow_200: "#FFD700";
172
+ readonly yellow_300: "#F8AF2D";
173
+ readonly yellow_400: "#DF8F00";
174
+ readonly yellow_500: "#A16207";
175
+ readonly orange_50: "#FFEEE6";
176
+ readonly orange_100: "#FFCEB8";
177
+ readonly orange_300: "#FFAF8A";
178
+ readonly orange_400: "#FF8F5C";
179
+ readonly orange_500: "#FF641C";
180
+ readonly orange_600: "#FF5100";
181
+ readonly purple_50: "#EDE9FE";
182
+ readonly purple_700: "#7230DB";
183
+ readonly pink_50: "#FDF2F8";
184
+ readonly pink_100: "#FCE7F3";
185
+ readonly pink_300: "#FBCFE8";
186
+ readonly pink_400: "#F9A8D4";
187
+ readonly pink_500: "#CF0F9E";
188
+ readonly pink_600: "#EC4899";
189
+ readonly pink_700: "#DB2777";
190
+ readonly pink_800: "#BE185D";
191
+ readonly pink_900: "#9D174D";
192
+ readonly fuchsia_300: "#FFB3EC";
193
+ readonly green_50: "#DCFCE7";
194
+ readonly green_100: "#12B76A";
195
+ readonly green_700: "#17803D";
196
+ readonly green_900: "#006123";
197
+ readonly brown_50: "#EFEBE9";
198
+ readonly brown_100: "#D7CCC8";
199
+ readonly brown_300: "#A1887F";
200
+ readonly brown_400: "#8D6E63";
201
+ readonly brown_500: "#795548";
202
+ readonly brown_600: "#CD7F32";
203
+ readonly brown_700: "#5D4037";
204
+ readonly brown_800: "#4E342E";
205
+ readonly brown_900: "#3E2723";
206
+ readonly brown_950: "#333222";
207
+ readonly gradient_blue_deep: "linear-gradient(131.36deg, rgb(3, 62, 113) 0%, rgb(0, 87, 138) 20%, rgb(1, 113, 164) 40%, rgb(1, 113, 164) 50%, rgb(0, 87, 138) 80%, rgb(3, 62, 113) 100%)";
208
+ };
209
+ type ColorKey = keyof typeof colors;
210
+
211
+ interface IconBadgeProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'onClick'> {
212
+ /** Nom de l'icône FontAwesome, sans le préfixe `fa-`. */
213
+ name: string;
214
+ family?: IconFamily;
215
+ size?: IconSize;
216
+ /** Couleur de fond — n'importe quelle clé de la palette brute (`lib/colors.ts`), posée en style inline (pas de classe Tailwind fermée à générer). */
217
+ bgColor: ColorKey;
218
+ /** Couleur de l'icône — même palette. Explicite, sans défaut : une icône reprenant automatiquement `bgColor` deviendrait invisible sur son propre fond. */
219
+ iconColor: ColorKey;
220
+ onClick?: () => void;
221
+ /** Action indisponible : badge grisé, clic inerte. N'a de sens qu'avec `onClick`. */
222
+ disabled?: boolean;
223
+ className?: string;
224
+ }
225
+ /**
226
+ * Icône posée dans un badge circulaire coloré — en-tête de bloc/carte, statut...
227
+ * Composant dédié plutôt qu'une prop de fond sur `Icon` : même logique que
228
+ * `Badge`, séparé de `Text`, pour garder chaque primitive à une seule
229
+ * responsabilité (cf. philosophie shadcn/Radix de la lib).
230
+ */
231
+ declare const IconBadge: react.ForwardRefExoticComponent<IconBadgeProps & react.RefAttributes<HTMLElement>>;
232
+
131
233
  /** `red-500` est le rouge vif d'action destructive (l'ancien `red_950` du DZ) —
132
234
  * `red-900` reste le bordeaux d'état d'erreur. */
133
235
  type ButtonColor = ColorToken | 'red-500';
@@ -946,86 +1048,6 @@ interface DatePickerProps {
946
1048
  /** Construit sur `react-day-picker` — la lib derrière le vrai `Calendar`/`DatePicker` de shadcn. */
947
1049
  declare const DatePicker: ({ mode, value, onChange, startDate, endDate, onRangeChange, showPresets, presets, placeholder, disabled, minDate, maxDate, width, align, className, }: DatePickerProps) => react.JSX.Element;
948
1050
 
949
- declare const colors: {
950
- readonly neutral_00: "#FFFFFF00";
951
- readonly neutral_50: "#fff";
952
- readonly neutral_100: "#f8f9fa";
953
- readonly neutral_200: "#f2F2F2";
954
- readonly neutral_400: "#ccc";
955
- readonly neutral_500: "#A4A4A4";
956
- readonly neutral_600: "#808080";
957
- readonly neutral_800: "#343a40";
958
- readonly neutral_950: "#000";
959
- readonly grey_100: "#F8FAFC";
960
- readonly grey_200: "#F1F5F9";
961
- readonly grey_300: "#E2E8F0";
962
- readonly grey_400: "#CBD5E1";
963
- readonly grey_500: "#94A3B8";
964
- readonly grey_600: "#646B73";
965
- readonly dark_100: "#42979D";
966
- readonly dark_200: "#317176";
967
- readonly dark_300: "#1D1C1C";
968
- readonly blue_50: "#DBE9FE";
969
- readonly blue_100: "#CCEAF8";
970
- readonly blue_200: "#B9DCED";
971
- readonly blue_300: "#A7CFE2";
972
- readonly blue_400: "#94C1D7";
973
- readonly blue_500: "#82B4CC";
974
- readonly blue_600: "#5C99B7";
975
- readonly blue_700: "#377EA1";
976
- readonly blue_800: "#12638B";
977
- readonly blue_900: "#0E4F6F";
978
- readonly blue_950: "#1C4ED8";
979
- readonly red_500: "#F44649";
980
- readonly red_50: "#FEE9E9";
981
- readonly red_900: "#7F1D1D";
982
- readonly turquoise_50: "#EEF8F9";
983
- readonly turquoise_100: "#DCF2F3";
984
- readonly turquoise_200: "#CBEBED";
985
- readonly turquoise_300: "#BAE5E7";
986
- readonly turquoise_400: "#97D7DC";
987
- readonly yellow_50: "#FEF7EA";
988
- readonly yellow_100: "#FEEDD5";
989
- readonly yellow_200: "#FFD700";
990
- readonly yellow_300: "#F8AF2D";
991
- readonly yellow_400: "#DF8F00";
992
- readonly yellow_500: "#A16207";
993
- readonly orange_50: "#FFEEE6";
994
- readonly orange_100: "#FFCEB8";
995
- readonly orange_300: "#FFAF8A";
996
- readonly orange_400: "#FF8F5C";
997
- readonly orange_500: "#FF641C";
998
- readonly orange_600: "#FF5100";
999
- readonly purple_50: "#EDE9FE";
1000
- readonly purple_700: "#7230DB";
1001
- readonly pink_50: "#FDF2F8";
1002
- readonly pink_100: "#FCE7F3";
1003
- readonly pink_300: "#FBCFE8";
1004
- readonly pink_400: "#F9A8D4";
1005
- readonly pink_500: "#CF0F9E";
1006
- readonly pink_600: "#EC4899";
1007
- readonly pink_700: "#DB2777";
1008
- readonly pink_800: "#BE185D";
1009
- readonly pink_900: "#9D174D";
1010
- readonly fuchsia_300: "#FFB3EC";
1011
- readonly green_50: "#DCFCE7";
1012
- readonly green_100: "#12B76A";
1013
- readonly green_700: "#17803D";
1014
- readonly green_900: "#006123";
1015
- readonly brown_50: "#EFEBE9";
1016
- readonly brown_100: "#D7CCC8";
1017
- readonly brown_300: "#A1887F";
1018
- readonly brown_400: "#8D6E63";
1019
- readonly brown_500: "#795548";
1020
- readonly brown_600: "#CD7F32";
1021
- readonly brown_700: "#5D4037";
1022
- readonly brown_800: "#4E342E";
1023
- readonly brown_900: "#3E2723";
1024
- readonly brown_950: "#333222";
1025
- readonly gradient_blue_deep: "linear-gradient(131.36deg, rgb(3, 62, 113) 0%, rgb(0, 87, 138) 20%, rgb(1, 113, 164) 40%, rgb(1, 113, 164) 50%, rgb(0, 87, 138) 80%, rgb(3, 62, 113) 100%)";
1026
- };
1027
- type ColorKey = keyof typeof colors;
1028
-
1029
1051
  /**
1030
1052
  * Miroir de DesignSystem/src/data/globalMethods.ts.
1031
1053
  *
@@ -1226,4 +1248,4 @@ declare const allowAutofill: (autoComplete: string) => {
1226
1248
  "data-form-type": undefined;
1227
1249
  };
1228
1250
 
1229
- export { 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 BannerProps, type BannerToggle, Box, type BoxProps, Bulk, type BulkProps, type BulkSection, Button, type ButtonColor, 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, FileUploadZone, type FileUploadZoneProps, type FloatingAction, FloatingButton, type FloatingButtonProps, Gantt, type GanttBand, type GanttBar, type GanttDay, GanttDot, type GanttProps, type GanttRow, GanttSwatch, Icon, type IconColor, type IconFamily, type IconProps, type IconSize, type IconTabItem, IconTabs, type IconTabsProps, 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, 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, Radio, type RadioOption, type RadioProps, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Select, type SelectOption, type SelectProps, type SingleSelectProps, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, type SpinnerSize, Stepper, type StepperProps, Switch, type SwitchProps, 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 TagOption, TagSelect, type TagSelectProps, Text, type TextProps, Textarea, type TextareaProps, Timeline, type TimelineItem, type TimelineProps, type ToastOptions, type ToastType, Toaster, Tooltip, type TooltipProps, addBusinessDays, allowAutofill, appendCacheBuster, appendQueryParam, buttonVariants, capitalizeFirstLetter, colors, easterDate, formatAddress, formatCityFromFormattedAddress, formatCityWithPostalCode, formatDate, formatDateWithTime, formatDistance, formatDuration, formatEuro, formatKM, formatLocality, formatName, formatNameWithInitial, formatPhoneNumber, formatPlate, formatPlateWithoutDashes, formatPostalCodeFromFormattedAddress, formatRegionCode, formatTime, formatVin, generateHexColor, getAvatarColor, getCleanFileName, getFileIconByMimeType, getFileKind, getFileNameFromUrl, getInitials, getMimeCategory, getRelativeTime, isHoliday, isSameDay, isolateCity, noAutofillProps, optimizeImage, parseAmount, parseIsoDate, toast, truncateFileName, truncateText, useAvatarSize };
1251
+ export { 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 BannerProps, type BannerToggle, Box, type BoxProps, Bulk, type BulkProps, type BulkSection, Button, type ButtonColor, 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, FileUploadZone, type FileUploadZoneProps, type FloatingAction, FloatingButton, type FloatingButtonProps, Gantt, type GanttBand, type GanttBar, type GanttDay, GanttDot, type GanttProps, type GanttRow, GanttSwatch, Icon, IconBadge, type IconBadgeProps, type IconColor, type IconFamily, type IconProps, type IconSize, type IconTabItem, IconTabs, type IconTabsProps, 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, 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, Radio, type RadioOption, type RadioProps, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Select, type SelectOption, type SelectProps, type SingleSelectProps, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, type SpinnerSize, Stepper, type StepperProps, Switch, type SwitchProps, 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 TagOption, TagSelect, type TagSelectProps, Text, type TextProps, Textarea, type TextareaProps, Timeline, type TimelineItem, type TimelineProps, type ToastOptions, type ToastType, Toaster, Tooltip, type TooltipProps, addBusinessDays, allowAutofill, appendCacheBuster, appendQueryParam, buttonVariants, capitalizeFirstLetter, colors, easterDate, formatAddress, formatCityFromFormattedAddress, formatCityWithPostalCode, formatDate, formatDateWithTime, formatDistance, formatDuration, formatEuro, formatKM, formatLocality, formatName, formatNameWithInitial, formatPhoneNumber, formatPlate, formatPlateWithoutDashes, formatPostalCodeFromFormattedAddress, formatRegionCode, formatTime, formatVin, generateHexColor, getAvatarColor, getCleanFileName, getFileIconByMimeType, getFileKind, getFileNameFromUrl, getInitials, getMimeCategory, getRelativeTime, isHoliday, isSameDay, isolateCity, noAutofillProps, optimizeImage, parseAmount, parseIsoDate, toast, truncateFileName, truncateText, useAvatarSize };
@@ -128,6 +128,108 @@ interface IconProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'onClick
128
128
  */
129
129
  declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<HTMLElement>>;
130
130
 
131
+ declare const colors: {
132
+ readonly neutral_00: "#FFFFFF00";
133
+ readonly neutral_50: "#fff";
134
+ readonly neutral_100: "#f8f9fa";
135
+ readonly neutral_200: "#f2F2F2";
136
+ readonly neutral_400: "#ccc";
137
+ readonly neutral_500: "#A4A4A4";
138
+ readonly neutral_600: "#808080";
139
+ readonly neutral_800: "#343a40";
140
+ readonly neutral_950: "#000";
141
+ readonly grey_100: "#F8FAFC";
142
+ readonly grey_200: "#F1F5F9";
143
+ readonly grey_300: "#E2E8F0";
144
+ readonly grey_400: "#CBD5E1";
145
+ readonly grey_500: "#94A3B8";
146
+ readonly grey_600: "#646B73";
147
+ readonly dark_100: "#42979D";
148
+ readonly dark_200: "#317176";
149
+ readonly dark_300: "#1D1C1C";
150
+ readonly blue_50: "#DBE9FE";
151
+ readonly blue_100: "#CCEAF8";
152
+ readonly blue_200: "#B9DCED";
153
+ readonly blue_300: "#A7CFE2";
154
+ readonly blue_400: "#94C1D7";
155
+ readonly blue_500: "#82B4CC";
156
+ readonly blue_600: "#5C99B7";
157
+ readonly blue_700: "#377EA1";
158
+ readonly blue_800: "#12638B";
159
+ readonly blue_900: "#0E4F6F";
160
+ readonly blue_950: "#1C4ED8";
161
+ readonly red_500: "#F44649";
162
+ readonly red_50: "#FEE9E9";
163
+ readonly red_900: "#7F1D1D";
164
+ readonly turquoise_50: "#EEF8F9";
165
+ readonly turquoise_100: "#DCF2F3";
166
+ readonly turquoise_200: "#CBEBED";
167
+ readonly turquoise_300: "#BAE5E7";
168
+ readonly turquoise_400: "#97D7DC";
169
+ readonly yellow_50: "#FEF7EA";
170
+ readonly yellow_100: "#FEEDD5";
171
+ readonly yellow_200: "#FFD700";
172
+ readonly yellow_300: "#F8AF2D";
173
+ readonly yellow_400: "#DF8F00";
174
+ readonly yellow_500: "#A16207";
175
+ readonly orange_50: "#FFEEE6";
176
+ readonly orange_100: "#FFCEB8";
177
+ readonly orange_300: "#FFAF8A";
178
+ readonly orange_400: "#FF8F5C";
179
+ readonly orange_500: "#FF641C";
180
+ readonly orange_600: "#FF5100";
181
+ readonly purple_50: "#EDE9FE";
182
+ readonly purple_700: "#7230DB";
183
+ readonly pink_50: "#FDF2F8";
184
+ readonly pink_100: "#FCE7F3";
185
+ readonly pink_300: "#FBCFE8";
186
+ readonly pink_400: "#F9A8D4";
187
+ readonly pink_500: "#CF0F9E";
188
+ readonly pink_600: "#EC4899";
189
+ readonly pink_700: "#DB2777";
190
+ readonly pink_800: "#BE185D";
191
+ readonly pink_900: "#9D174D";
192
+ readonly fuchsia_300: "#FFB3EC";
193
+ readonly green_50: "#DCFCE7";
194
+ readonly green_100: "#12B76A";
195
+ readonly green_700: "#17803D";
196
+ readonly green_900: "#006123";
197
+ readonly brown_50: "#EFEBE9";
198
+ readonly brown_100: "#D7CCC8";
199
+ readonly brown_300: "#A1887F";
200
+ readonly brown_400: "#8D6E63";
201
+ readonly brown_500: "#795548";
202
+ readonly brown_600: "#CD7F32";
203
+ readonly brown_700: "#5D4037";
204
+ readonly brown_800: "#4E342E";
205
+ readonly brown_900: "#3E2723";
206
+ readonly brown_950: "#333222";
207
+ readonly gradient_blue_deep: "linear-gradient(131.36deg, rgb(3, 62, 113) 0%, rgb(0, 87, 138) 20%, rgb(1, 113, 164) 40%, rgb(1, 113, 164) 50%, rgb(0, 87, 138) 80%, rgb(3, 62, 113) 100%)";
208
+ };
209
+ type ColorKey = keyof typeof colors;
210
+
211
+ interface IconBadgeProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'onClick'> {
212
+ /** Nom de l'icône FontAwesome, sans le préfixe `fa-`. */
213
+ name: string;
214
+ family?: IconFamily;
215
+ size?: IconSize;
216
+ /** Couleur de fond — n'importe quelle clé de la palette brute (`lib/colors.ts`), posée en style inline (pas de classe Tailwind fermée à générer). */
217
+ bgColor: ColorKey;
218
+ /** Couleur de l'icône — même palette. Explicite, sans défaut : une icône reprenant automatiquement `bgColor` deviendrait invisible sur son propre fond. */
219
+ iconColor: ColorKey;
220
+ onClick?: () => void;
221
+ /** Action indisponible : badge grisé, clic inerte. N'a de sens qu'avec `onClick`. */
222
+ disabled?: boolean;
223
+ className?: string;
224
+ }
225
+ /**
226
+ * Icône posée dans un badge circulaire coloré — en-tête de bloc/carte, statut...
227
+ * Composant dédié plutôt qu'une prop de fond sur `Icon` : même logique que
228
+ * `Badge`, séparé de `Text`, pour garder chaque primitive à une seule
229
+ * responsabilité (cf. philosophie shadcn/Radix de la lib).
230
+ */
231
+ declare const IconBadge: react.ForwardRefExoticComponent<IconBadgeProps & react.RefAttributes<HTMLElement>>;
232
+
131
233
  /** `red-500` est le rouge vif d'action destructive (l'ancien `red_950` du DZ) —
132
234
  * `red-900` reste le bordeaux d'état d'erreur. */
133
235
  type ButtonColor = ColorToken | 'red-500';
@@ -946,86 +1048,6 @@ interface DatePickerProps {
946
1048
  /** Construit sur `react-day-picker` — la lib derrière le vrai `Calendar`/`DatePicker` de shadcn. */
947
1049
  declare const DatePicker: ({ mode, value, onChange, startDate, endDate, onRangeChange, showPresets, presets, placeholder, disabled, minDate, maxDate, width, align, className, }: DatePickerProps) => react.JSX.Element;
948
1050
 
949
- declare const colors: {
950
- readonly neutral_00: "#FFFFFF00";
951
- readonly neutral_50: "#fff";
952
- readonly neutral_100: "#f8f9fa";
953
- readonly neutral_200: "#f2F2F2";
954
- readonly neutral_400: "#ccc";
955
- readonly neutral_500: "#A4A4A4";
956
- readonly neutral_600: "#808080";
957
- readonly neutral_800: "#343a40";
958
- readonly neutral_950: "#000";
959
- readonly grey_100: "#F8FAFC";
960
- readonly grey_200: "#F1F5F9";
961
- readonly grey_300: "#E2E8F0";
962
- readonly grey_400: "#CBD5E1";
963
- readonly grey_500: "#94A3B8";
964
- readonly grey_600: "#646B73";
965
- readonly dark_100: "#42979D";
966
- readonly dark_200: "#317176";
967
- readonly dark_300: "#1D1C1C";
968
- readonly blue_50: "#DBE9FE";
969
- readonly blue_100: "#CCEAF8";
970
- readonly blue_200: "#B9DCED";
971
- readonly blue_300: "#A7CFE2";
972
- readonly blue_400: "#94C1D7";
973
- readonly blue_500: "#82B4CC";
974
- readonly blue_600: "#5C99B7";
975
- readonly blue_700: "#377EA1";
976
- readonly blue_800: "#12638B";
977
- readonly blue_900: "#0E4F6F";
978
- readonly blue_950: "#1C4ED8";
979
- readonly red_500: "#F44649";
980
- readonly red_50: "#FEE9E9";
981
- readonly red_900: "#7F1D1D";
982
- readonly turquoise_50: "#EEF8F9";
983
- readonly turquoise_100: "#DCF2F3";
984
- readonly turquoise_200: "#CBEBED";
985
- readonly turquoise_300: "#BAE5E7";
986
- readonly turquoise_400: "#97D7DC";
987
- readonly yellow_50: "#FEF7EA";
988
- readonly yellow_100: "#FEEDD5";
989
- readonly yellow_200: "#FFD700";
990
- readonly yellow_300: "#F8AF2D";
991
- readonly yellow_400: "#DF8F00";
992
- readonly yellow_500: "#A16207";
993
- readonly orange_50: "#FFEEE6";
994
- readonly orange_100: "#FFCEB8";
995
- readonly orange_300: "#FFAF8A";
996
- readonly orange_400: "#FF8F5C";
997
- readonly orange_500: "#FF641C";
998
- readonly orange_600: "#FF5100";
999
- readonly purple_50: "#EDE9FE";
1000
- readonly purple_700: "#7230DB";
1001
- readonly pink_50: "#FDF2F8";
1002
- readonly pink_100: "#FCE7F3";
1003
- readonly pink_300: "#FBCFE8";
1004
- readonly pink_400: "#F9A8D4";
1005
- readonly pink_500: "#CF0F9E";
1006
- readonly pink_600: "#EC4899";
1007
- readonly pink_700: "#DB2777";
1008
- readonly pink_800: "#BE185D";
1009
- readonly pink_900: "#9D174D";
1010
- readonly fuchsia_300: "#FFB3EC";
1011
- readonly green_50: "#DCFCE7";
1012
- readonly green_100: "#12B76A";
1013
- readonly green_700: "#17803D";
1014
- readonly green_900: "#006123";
1015
- readonly brown_50: "#EFEBE9";
1016
- readonly brown_100: "#D7CCC8";
1017
- readonly brown_300: "#A1887F";
1018
- readonly brown_400: "#8D6E63";
1019
- readonly brown_500: "#795548";
1020
- readonly brown_600: "#CD7F32";
1021
- readonly brown_700: "#5D4037";
1022
- readonly brown_800: "#4E342E";
1023
- readonly brown_900: "#3E2723";
1024
- readonly brown_950: "#333222";
1025
- readonly gradient_blue_deep: "linear-gradient(131.36deg, rgb(3, 62, 113) 0%, rgb(0, 87, 138) 20%, rgb(1, 113, 164) 40%, rgb(1, 113, 164) 50%, rgb(0, 87, 138) 80%, rgb(3, 62, 113) 100%)";
1026
- };
1027
- type ColorKey = keyof typeof colors;
1028
-
1029
1051
  /**
1030
1052
  * Miroir de DesignSystem/src/data/globalMethods.ts.
1031
1053
  *
@@ -1226,4 +1248,4 @@ declare const allowAutofill: (autoComplete: string) => {
1226
1248
  "data-form-type": undefined;
1227
1249
  };
1228
1250
 
1229
- export { 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 BannerProps, type BannerToggle, Box, type BoxProps, Bulk, type BulkProps, type BulkSection, Button, type ButtonColor, 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, FileUploadZone, type FileUploadZoneProps, type FloatingAction, FloatingButton, type FloatingButtonProps, Gantt, type GanttBand, type GanttBar, type GanttDay, GanttDot, type GanttProps, type GanttRow, GanttSwatch, Icon, type IconColor, type IconFamily, type IconProps, type IconSize, type IconTabItem, IconTabs, type IconTabsProps, 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, 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, Radio, type RadioOption, type RadioProps, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Select, type SelectOption, type SelectProps, type SingleSelectProps, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, type SpinnerSize, Stepper, type StepperProps, Switch, type SwitchProps, 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 TagOption, TagSelect, type TagSelectProps, Text, type TextProps, Textarea, type TextareaProps, Timeline, type TimelineItem, type TimelineProps, type ToastOptions, type ToastType, Toaster, Tooltip, type TooltipProps, addBusinessDays, allowAutofill, appendCacheBuster, appendQueryParam, buttonVariants, capitalizeFirstLetter, colors, easterDate, formatAddress, formatCityFromFormattedAddress, formatCityWithPostalCode, formatDate, formatDateWithTime, formatDistance, formatDuration, formatEuro, formatKM, formatLocality, formatName, formatNameWithInitial, formatPhoneNumber, formatPlate, formatPlateWithoutDashes, formatPostalCodeFromFormattedAddress, formatRegionCode, formatTime, formatVin, generateHexColor, getAvatarColor, getCleanFileName, getFileIconByMimeType, getFileKind, getFileNameFromUrl, getInitials, getMimeCategory, getRelativeTime, isHoliday, isSameDay, isolateCity, noAutofillProps, optimizeImage, parseAmount, parseIsoDate, toast, truncateFileName, truncateText, useAvatarSize };
1251
+ export { 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 BannerProps, type BannerToggle, Box, type BoxProps, Bulk, type BulkProps, type BulkSection, Button, type ButtonColor, 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, FileUploadZone, type FileUploadZoneProps, type FloatingAction, FloatingButton, type FloatingButtonProps, Gantt, type GanttBand, type GanttBar, type GanttDay, GanttDot, type GanttProps, type GanttRow, GanttSwatch, Icon, IconBadge, type IconBadgeProps, type IconColor, type IconFamily, type IconProps, type IconSize, type IconTabItem, IconTabs, type IconTabsProps, 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, 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, Radio, type RadioOption, type RadioProps, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Select, type SelectOption, type SelectProps, type SingleSelectProps, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, type SpinnerSize, Stepper, type StepperProps, Switch, type SwitchProps, 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 TagOption, TagSelect, type TagSelectProps, Text, type TextProps, Textarea, type TextareaProps, Timeline, type TimelineItem, type TimelineProps, type ToastOptions, type ToastType, Toaster, Tooltip, type TooltipProps, addBusinessDays, allowAutofill, appendCacheBuster, appendQueryParam, buttonVariants, capitalizeFirstLetter, colors, easterDate, formatAddress, formatCityFromFormattedAddress, formatCityWithPostalCode, formatDate, formatDateWithTime, formatDistance, formatDuration, formatEuro, formatKM, formatLocality, formatName, formatNameWithInitial, formatPhoneNumber, formatPlate, formatPlateWithoutDashes, formatPostalCodeFromFormattedAddress, formatRegionCode, formatTime, formatVin, generateHexColor, getAvatarColor, getCleanFileName, getFileIconByMimeType, getFileKind, getFileNameFromUrl, getInitials, getMimeCategory, getRelativeTime, isHoliday, isSameDay, isolateCity, noAutofillProps, optimizeImage, parseAmount, parseIsoDate, toast, truncateFileName, truncateText, useAvatarSize };