design-zystem 1.0.379 → 1.0.381
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +15 -3
- package/dist/index.mjs +15 -3
- package/dist/ui/index.d.mts +44 -2
- package/dist/ui/index.d.ts +44 -2
- package/dist/ui/index.js +396 -239
- package/dist/ui/index.mjs +382 -228
- package/dist/ui/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2822,6 +2822,14 @@ var Select = ({
|
|
|
2822
2822
|
// src/ui-legacy/Components/Input/Input.tsx
|
|
2823
2823
|
var import_react13 = require("react");
|
|
2824
2824
|
var import_styled_components21 = __toESM(require("styled-components"));
|
|
2825
|
+
|
|
2826
|
+
// src/ui/lib/numberInputWheel.ts
|
|
2827
|
+
var blurNumberInputOnWheel = (onWheel) => (e) => {
|
|
2828
|
+
if (e.currentTarget.type === "number") e.currentTarget.blur();
|
|
2829
|
+
onWheel == null ? void 0 : onWheel(e);
|
|
2830
|
+
};
|
|
2831
|
+
|
|
2832
|
+
// src/ui-legacy/Components/Input/Input.tsx
|
|
2825
2833
|
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
2826
2834
|
var shouldForwardProp8 = (prop) => ![
|
|
2827
2835
|
"width",
|
|
@@ -3059,7 +3067,7 @@ var Input = (0, import_react13.forwardRef)((props, ref) => {
|
|
|
3059
3067
|
]);
|
|
3060
3068
|
const inputName = otherProps == null ? void 0 : otherProps.name;
|
|
3061
3069
|
const { min, max, step } = otherProps || {};
|
|
3062
|
-
const _b = otherProps || {}, { name } = _b, forwardProps = __objRest(_b, ["name"]);
|
|
3070
|
+
const _b = otherProps || {}, { name, onWheel } = _b, forwardProps = __objRest(_b, ["name", "onWheel"]);
|
|
3063
3071
|
const [showPassword, setShowPassword] = (0, import_react13.useState)(false);
|
|
3064
3072
|
const [displayDateValue, setDisplayDateValue] = (0, import_react13.useState)("");
|
|
3065
3073
|
const nativeDateRef = (0, import_react13.useRef)(null);
|
|
@@ -3215,7 +3223,7 @@ var Input = (0, import_react13.forwardRef)((props, ref) => {
|
|
|
3215
3223
|
)
|
|
3216
3224
|
] }) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
3217
3225
|
Component,
|
|
3218
|
-
__spreadValues(__spreadValues(__spreadValues({
|
|
3226
|
+
__spreadProps(__spreadValues(__spreadValues(__spreadValues({
|
|
3219
3227
|
id: inputId,
|
|
3220
3228
|
ref: innerRef,
|
|
3221
3229
|
type: isPassword ? showPassword ? "text" : "password" : type,
|
|
@@ -3227,7 +3235,11 @@ var Input = (0, import_react13.forwardRef)((props, ref) => {
|
|
|
3227
3235
|
disabled,
|
|
3228
3236
|
name: inputName,
|
|
3229
3237
|
style: computedStyle
|
|
3230
|
-
}, noAutofillProps), isPassword ? { autoComplete: "new-password" } : {}), forwardProps)
|
|
3238
|
+
}, noAutofillProps), isPassword ? { autoComplete: "new-password" } : {}), forwardProps), {
|
|
3239
|
+
onWheel: blurNumberInputOnWheel(
|
|
3240
|
+
onWheel
|
|
3241
|
+
)
|
|
3242
|
+
})
|
|
3231
3243
|
),
|
|
3232
3244
|
isPassword && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
3233
3245
|
EyeButton,
|
package/dist/index.mjs
CHANGED
|
@@ -2685,6 +2685,14 @@ import {
|
|
|
2685
2685
|
useState as useState8
|
|
2686
2686
|
} from "react";
|
|
2687
2687
|
import styled21 from "styled-components";
|
|
2688
|
+
|
|
2689
|
+
// src/ui/lib/numberInputWheel.ts
|
|
2690
|
+
var blurNumberInputOnWheel = (onWheel) => (e) => {
|
|
2691
|
+
if (e.currentTarget.type === "number") e.currentTarget.blur();
|
|
2692
|
+
onWheel == null ? void 0 : onWheel(e);
|
|
2693
|
+
};
|
|
2694
|
+
|
|
2695
|
+
// src/ui-legacy/Components/Input/Input.tsx
|
|
2688
2696
|
import { Fragment as Fragment3, jsx as jsx25, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
2689
2697
|
var shouldForwardProp8 = (prop) => ![
|
|
2690
2698
|
"width",
|
|
@@ -2922,7 +2930,7 @@ var Input = forwardRef3((props, ref) => {
|
|
|
2922
2930
|
]);
|
|
2923
2931
|
const inputName = otherProps == null ? void 0 : otherProps.name;
|
|
2924
2932
|
const { min, max, step } = otherProps || {};
|
|
2925
|
-
const _b = otherProps || {}, { name } = _b, forwardProps = __objRest(_b, ["name"]);
|
|
2933
|
+
const _b = otherProps || {}, { name, onWheel } = _b, forwardProps = __objRest(_b, ["name", "onWheel"]);
|
|
2926
2934
|
const [showPassword, setShowPassword] = useState8(false);
|
|
2927
2935
|
const [displayDateValue, setDisplayDateValue] = useState8("");
|
|
2928
2936
|
const nativeDateRef = useRef6(null);
|
|
@@ -3078,7 +3086,7 @@ var Input = forwardRef3((props, ref) => {
|
|
|
3078
3086
|
)
|
|
3079
3087
|
] }) : /* @__PURE__ */ jsx25(
|
|
3080
3088
|
Component,
|
|
3081
|
-
__spreadValues(__spreadValues(__spreadValues({
|
|
3089
|
+
__spreadProps(__spreadValues(__spreadValues(__spreadValues({
|
|
3082
3090
|
id: inputId,
|
|
3083
3091
|
ref: innerRef,
|
|
3084
3092
|
type: isPassword ? showPassword ? "text" : "password" : type,
|
|
@@ -3090,7 +3098,11 @@ var Input = forwardRef3((props, ref) => {
|
|
|
3090
3098
|
disabled,
|
|
3091
3099
|
name: inputName,
|
|
3092
3100
|
style: computedStyle
|
|
3093
|
-
}, noAutofillProps), isPassword ? { autoComplete: "new-password" } : {}), forwardProps)
|
|
3101
|
+
}, noAutofillProps), isPassword ? { autoComplete: "new-password" } : {}), forwardProps), {
|
|
3102
|
+
onWheel: blurNumberInputOnWheel(
|
|
3103
|
+
onWheel
|
|
3104
|
+
)
|
|
3105
|
+
})
|
|
3094
3106
|
),
|
|
3095
3107
|
isPassword && /* @__PURE__ */ jsx25(
|
|
3096
3108
|
EyeButton,
|
package/dist/ui/index.d.mts
CHANGED
|
@@ -1129,8 +1129,50 @@ interface FloatingButtonProps {
|
|
|
1129
1129
|
persistKey?: string;
|
|
1130
1130
|
/** Zones des bords déjà occupées par des éléments fixes (barre latérale…), dont l'arc doit se tenir à l'écart. */
|
|
1131
1131
|
safeArea?: FloatingSafeArea;
|
|
1132
|
+
/** Position glissée courante (drag en cours compris) — pour qu'un panneau compagnon (popover, etc.) suive le bouton au lieu de rester ancré à son coin de départ. */
|
|
1133
|
+
onOffsetChange?: (offset: {
|
|
1134
|
+
x: number;
|
|
1135
|
+
y: number;
|
|
1136
|
+
}) => void;
|
|
1137
|
+
}
|
|
1138
|
+
/** Taille et marge de base (`bottom-8 right-8` = 32px) du bouton principal —
|
|
1139
|
+
* exportées pour qu'un panneau compagnon (cf. `ActivityFeedPanel`) puisse
|
|
1140
|
+
* recalculer la position du bouton lui-même à partir du seul `offset` reçu
|
|
1141
|
+
* via `onOffsetChange`, sans mesure DOM. */
|
|
1142
|
+
declare const FAB_SIZE = 56;
|
|
1143
|
+
declare const FAB_EDGE_MARGIN = 32;
|
|
1144
|
+
declare const FloatingButton: ({ isOpen, onToggle, actions, mainBadge, icon, label, color, draggable, persistKey, safeArea, onOffsetChange, }: FloatingButtonProps) => react.JSX.Element;
|
|
1145
|
+
|
|
1146
|
+
interface ActivityFeedItem {
|
|
1147
|
+
id: string;
|
|
1148
|
+
icon: string;
|
|
1149
|
+
bgColor: ColorKey;
|
|
1150
|
+
iconColor: ColorKey;
|
|
1151
|
+
text: ReactNode;
|
|
1152
|
+
timeLabel: string;
|
|
1153
|
+
onClick: () => void;
|
|
1132
1154
|
}
|
|
1133
|
-
|
|
1155
|
+
interface ActivityFeedPanelProps {
|
|
1156
|
+
open: boolean;
|
|
1157
|
+
onClose: () => void;
|
|
1158
|
+
/** Position glissée d'un `FloatingButton` compagnon (`onOffsetChange`) — le
|
|
1159
|
+
* panneau applique le même décalage pour rester juste au-dessus de lui. */
|
|
1160
|
+
offset?: {
|
|
1161
|
+
x: number;
|
|
1162
|
+
y: number;
|
|
1163
|
+
};
|
|
1164
|
+
title?: string;
|
|
1165
|
+
isLoading?: boolean;
|
|
1166
|
+
emptyMessage?: string;
|
|
1167
|
+
items: ActivityFeedItem[];
|
|
1168
|
+
}
|
|
1169
|
+
/**
|
|
1170
|
+
* Panneau flottant compagnon d'un `FloatingButton` : en-tête (icône, titre) +
|
|
1171
|
+
* liste scrollable plafonnée à 300px. Clic en dehors referme. Purement
|
|
1172
|
+
* présentationnel — chaque `item` porte déjà son icône/couleur/texte/
|
|
1173
|
+
* horodatage déjà formatés par l'appelant.
|
|
1174
|
+
*/
|
|
1175
|
+
declare const ActivityFeedPanel: ({ open, onClose, offset, title, isLoading, emptyMessage, items, }: ActivityFeedPanelProps) => react.JSX.Element | null;
|
|
1134
1176
|
|
|
1135
1177
|
interface MetricCardProps {
|
|
1136
1178
|
/** Nom de l'icône FontAwesome, sans le préfixe `fa-` (ex. "truck"). */
|
|
@@ -1787,4 +1829,4 @@ declare const allowAutofill: (autoComplete: string) => {
|
|
|
1787
1829
|
"data-form-type": undefined;
|
|
1788
1830
|
};
|
|
1789
1831
|
|
|
1790
|
-
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 BannerJustify, type BannerProps, type BannerToggle, Box, type BoxProps, Bulk, type BulkProps, type BulkSection, Button, 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, FilePicker, type FilePickerProps, FileUploadZone, type FileUploadZoneProps, type FloatingAction, FloatingButton, type FloatingButtonProps, type FloatingSafeArea, Gantt, type GanttBand, type GanttBar, type GanttDay, GanttDot, type GanttProps, type GanttRow, GanttSwatch, type HexColor, 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, Radio, type RadioOption, type RadioProps, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Select, type SelectBubbleOption, type SelectOption, type SelectProps, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuSearchInput, type SidebarMenuSearchInputProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarMenuSubItemProps, type SidebarMenuSubProps, type SidebarProps, SidebarSupportInfo, type SidebarSupportInfoProps, SidebarTrigger, type SidebarTriggerProps, SidebarUserMenu, type SidebarUserMenuAction, type SidebarUserMenuLeafAction, type SidebarUserMenuProps, type SingleSelectProps, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, type SpinnerSize, Stepper, type StepperProps, Switch, type SwitchProps, type TabItem, Table, TableCell, type TableCellProps, type TableEmptyState, TableFooter, TableFooterCell, type TableFooterCellProps, type TableFooterProps, TableFooterRow, type TableFooterRowProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, TableHeaderRow, type TableHeaderRowProps, type TablePagination, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, type TabsVariant, TagBubble, type TagBubbleProps, type TagLevelItem, TagLevelPicker, type TagLevelPickerProps, type TagOption, type TagSearchOption, TagSelect, type TagSelectProps, Text, type TextProps, Textarea, type TextareaProps, type TextareaVariant, Timeline, type TimelineItem, type TimelineProps, type ToastOptions, type ToastType, Toaster, Tooltip, type TooltipProps, VideoPlayer, type VideoPlayerProps, 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, formatVideoDuration, formatVin, generateHexColor, getAvatarColor, getCleanFileName, getElapsedTime, getFileIconByMimeType, getFileKind, getFileNameFromUrl, getInitials, getMimeCategory, getPastelColorPair, getRelativeTime, isHoliday, isSameDay, isolateCity, noAutofillProps, optimizeImage, parseAmount, parseIsoDate, toast, truncateFileName, truncateText, useAvatarSize };
|
|
1832
|
+
export { type ActivityFeedItem, ActivityFeedPanel, type ActivityFeedPanelProps, Attachment, type AttachmentProps, type AttachmentStatus, Avatar, AvatarBadge, type AvatarBadgeConfig, type AvatarBadgeProps, AvatarFallback, type AvatarFallbackProps, AvatarGroup, type AvatarGroupProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Banner, type BannerAction, type BannerJustify, type BannerProps, type BannerToggle, Box, type BoxProps, Bulk, type BulkProps, type BulkSection, Button, type ButtonProps, COLOR_TOKENS, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColorKey, ColorPicker, type ColorPickerProps, type ColorToken, DatePicker, type DatePickerMode, type DatePickerProps, type DatePreset, Divider, type DividerProps, Drawer, DrawerBody, DrawerClose, DrawerDescription, type DrawerDirection, DrawerFooter, DrawerHeader, type DrawerProps, DrawerTitle, EmailInput, type EmailInputProps, EmptyState, type EmptyStateProps, FAB_EDGE_MARGIN, FAB_SIZE, FilePicker, type FilePickerProps, FileUploadZone, type FileUploadZoneProps, type FloatingAction, FloatingButton, type FloatingButtonProps, type FloatingSafeArea, Gantt, type GanttBand, type GanttBar, type GanttDay, GanttDot, type GanttProps, type GanttRow, GanttSwatch, type HexColor, 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, Radio, type RadioOption, type RadioProps, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Select, type SelectBubbleOption, type SelectOption, type SelectProps, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuSearchInput, type SidebarMenuSearchInputProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarMenuSubItemProps, type SidebarMenuSubProps, type SidebarProps, SidebarSupportInfo, type SidebarSupportInfoProps, SidebarTrigger, type SidebarTriggerProps, SidebarUserMenu, type SidebarUserMenuAction, type SidebarUserMenuLeafAction, type SidebarUserMenuProps, type SingleSelectProps, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, type SpinnerSize, Stepper, type StepperProps, Switch, type SwitchProps, type TabItem, Table, TableCell, type TableCellProps, type TableEmptyState, TableFooter, TableFooterCell, type TableFooterCellProps, type TableFooterProps, TableFooterRow, type TableFooterRowProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, TableHeaderRow, type TableHeaderRowProps, type TablePagination, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, type TabsVariant, TagBubble, type TagBubbleProps, type TagLevelItem, TagLevelPicker, type TagLevelPickerProps, type TagOption, type TagSearchOption, TagSelect, type TagSelectProps, Text, type TextProps, Textarea, type TextareaProps, type TextareaVariant, Timeline, type TimelineItem, type TimelineProps, type ToastOptions, type ToastType, Toaster, Tooltip, type TooltipProps, VideoPlayer, type VideoPlayerProps, 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, formatVideoDuration, formatVin, generateHexColor, getAvatarColor, getCleanFileName, getElapsedTime, getFileIconByMimeType, getFileKind, getFileNameFromUrl, getInitials, getMimeCategory, getPastelColorPair, getRelativeTime, isHoliday, isSameDay, isolateCity, noAutofillProps, optimizeImage, parseAmount, parseIsoDate, toast, truncateFileName, truncateText, useAvatarSize };
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -1129,8 +1129,50 @@ interface FloatingButtonProps {
|
|
|
1129
1129
|
persistKey?: string;
|
|
1130
1130
|
/** Zones des bords déjà occupées par des éléments fixes (barre latérale…), dont l'arc doit se tenir à l'écart. */
|
|
1131
1131
|
safeArea?: FloatingSafeArea;
|
|
1132
|
+
/** Position glissée courante (drag en cours compris) — pour qu'un panneau compagnon (popover, etc.) suive le bouton au lieu de rester ancré à son coin de départ. */
|
|
1133
|
+
onOffsetChange?: (offset: {
|
|
1134
|
+
x: number;
|
|
1135
|
+
y: number;
|
|
1136
|
+
}) => void;
|
|
1137
|
+
}
|
|
1138
|
+
/** Taille et marge de base (`bottom-8 right-8` = 32px) du bouton principal —
|
|
1139
|
+
* exportées pour qu'un panneau compagnon (cf. `ActivityFeedPanel`) puisse
|
|
1140
|
+
* recalculer la position du bouton lui-même à partir du seul `offset` reçu
|
|
1141
|
+
* via `onOffsetChange`, sans mesure DOM. */
|
|
1142
|
+
declare const FAB_SIZE = 56;
|
|
1143
|
+
declare const FAB_EDGE_MARGIN = 32;
|
|
1144
|
+
declare const FloatingButton: ({ isOpen, onToggle, actions, mainBadge, icon, label, color, draggable, persistKey, safeArea, onOffsetChange, }: FloatingButtonProps) => react.JSX.Element;
|
|
1145
|
+
|
|
1146
|
+
interface ActivityFeedItem {
|
|
1147
|
+
id: string;
|
|
1148
|
+
icon: string;
|
|
1149
|
+
bgColor: ColorKey;
|
|
1150
|
+
iconColor: ColorKey;
|
|
1151
|
+
text: ReactNode;
|
|
1152
|
+
timeLabel: string;
|
|
1153
|
+
onClick: () => void;
|
|
1132
1154
|
}
|
|
1133
|
-
|
|
1155
|
+
interface ActivityFeedPanelProps {
|
|
1156
|
+
open: boolean;
|
|
1157
|
+
onClose: () => void;
|
|
1158
|
+
/** Position glissée d'un `FloatingButton` compagnon (`onOffsetChange`) — le
|
|
1159
|
+
* panneau applique le même décalage pour rester juste au-dessus de lui. */
|
|
1160
|
+
offset?: {
|
|
1161
|
+
x: number;
|
|
1162
|
+
y: number;
|
|
1163
|
+
};
|
|
1164
|
+
title?: string;
|
|
1165
|
+
isLoading?: boolean;
|
|
1166
|
+
emptyMessage?: string;
|
|
1167
|
+
items: ActivityFeedItem[];
|
|
1168
|
+
}
|
|
1169
|
+
/**
|
|
1170
|
+
* Panneau flottant compagnon d'un `FloatingButton` : en-tête (icône, titre) +
|
|
1171
|
+
* liste scrollable plafonnée à 300px. Clic en dehors referme. Purement
|
|
1172
|
+
* présentationnel — chaque `item` porte déjà son icône/couleur/texte/
|
|
1173
|
+
* horodatage déjà formatés par l'appelant.
|
|
1174
|
+
*/
|
|
1175
|
+
declare const ActivityFeedPanel: ({ open, onClose, offset, title, isLoading, emptyMessage, items, }: ActivityFeedPanelProps) => react.JSX.Element | null;
|
|
1134
1176
|
|
|
1135
1177
|
interface MetricCardProps {
|
|
1136
1178
|
/** Nom de l'icône FontAwesome, sans le préfixe `fa-` (ex. "truck"). */
|
|
@@ -1787,4 +1829,4 @@ declare const allowAutofill: (autoComplete: string) => {
|
|
|
1787
1829
|
"data-form-type": undefined;
|
|
1788
1830
|
};
|
|
1789
1831
|
|
|
1790
|
-
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 BannerJustify, type BannerProps, type BannerToggle, Box, type BoxProps, Bulk, type BulkProps, type BulkSection, Button, 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, FilePicker, type FilePickerProps, FileUploadZone, type FileUploadZoneProps, type FloatingAction, FloatingButton, type FloatingButtonProps, type FloatingSafeArea, Gantt, type GanttBand, type GanttBar, type GanttDay, GanttDot, type GanttProps, type GanttRow, GanttSwatch, type HexColor, 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, Radio, type RadioOption, type RadioProps, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Select, type SelectBubbleOption, type SelectOption, type SelectProps, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuSearchInput, type SidebarMenuSearchInputProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarMenuSubItemProps, type SidebarMenuSubProps, type SidebarProps, SidebarSupportInfo, type SidebarSupportInfoProps, SidebarTrigger, type SidebarTriggerProps, SidebarUserMenu, type SidebarUserMenuAction, type SidebarUserMenuLeafAction, type SidebarUserMenuProps, type SingleSelectProps, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, type SpinnerSize, Stepper, type StepperProps, Switch, type SwitchProps, type TabItem, Table, TableCell, type TableCellProps, type TableEmptyState, TableFooter, TableFooterCell, type TableFooterCellProps, type TableFooterProps, TableFooterRow, type TableFooterRowProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, TableHeaderRow, type TableHeaderRowProps, type TablePagination, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, type TabsVariant, TagBubble, type TagBubbleProps, type TagLevelItem, TagLevelPicker, type TagLevelPickerProps, type TagOption, type TagSearchOption, TagSelect, type TagSelectProps, Text, type TextProps, Textarea, type TextareaProps, type TextareaVariant, Timeline, type TimelineItem, type TimelineProps, type ToastOptions, type ToastType, Toaster, Tooltip, type TooltipProps, VideoPlayer, type VideoPlayerProps, 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, formatVideoDuration, formatVin, generateHexColor, getAvatarColor, getCleanFileName, getElapsedTime, getFileIconByMimeType, getFileKind, getFileNameFromUrl, getInitials, getMimeCategory, getPastelColorPair, getRelativeTime, isHoliday, isSameDay, isolateCity, noAutofillProps, optimizeImage, parseAmount, parseIsoDate, toast, truncateFileName, truncateText, useAvatarSize };
|
|
1832
|
+
export { type ActivityFeedItem, ActivityFeedPanel, type ActivityFeedPanelProps, Attachment, type AttachmentProps, type AttachmentStatus, Avatar, AvatarBadge, type AvatarBadgeConfig, type AvatarBadgeProps, AvatarFallback, type AvatarFallbackProps, AvatarGroup, type AvatarGroupProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Banner, type BannerAction, type BannerJustify, type BannerProps, type BannerToggle, Box, type BoxProps, Bulk, type BulkProps, type BulkSection, Button, type ButtonProps, COLOR_TOKENS, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColorKey, ColorPicker, type ColorPickerProps, type ColorToken, DatePicker, type DatePickerMode, type DatePickerProps, type DatePreset, Divider, type DividerProps, Drawer, DrawerBody, DrawerClose, DrawerDescription, type DrawerDirection, DrawerFooter, DrawerHeader, type DrawerProps, DrawerTitle, EmailInput, type EmailInputProps, EmptyState, type EmptyStateProps, FAB_EDGE_MARGIN, FAB_SIZE, FilePicker, type FilePickerProps, FileUploadZone, type FileUploadZoneProps, type FloatingAction, FloatingButton, type FloatingButtonProps, type FloatingSafeArea, Gantt, type GanttBand, type GanttBar, type GanttDay, GanttDot, type GanttProps, type GanttRow, GanttSwatch, type HexColor, 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, Radio, type RadioOption, type RadioProps, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Select, type SelectBubbleOption, type SelectOption, type SelectProps, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuSearchInput, type SidebarMenuSearchInputProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarMenuSubItemProps, type SidebarMenuSubProps, type SidebarProps, SidebarSupportInfo, type SidebarSupportInfoProps, SidebarTrigger, type SidebarTriggerProps, SidebarUserMenu, type SidebarUserMenuAction, type SidebarUserMenuLeafAction, type SidebarUserMenuProps, type SingleSelectProps, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, type SpinnerSize, Stepper, type StepperProps, Switch, type SwitchProps, type TabItem, Table, TableCell, type TableCellProps, type TableEmptyState, TableFooter, TableFooterCell, type TableFooterCellProps, type TableFooterProps, TableFooterRow, type TableFooterRowProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, TableHeaderRow, type TableHeaderRowProps, type TablePagination, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, type TabsVariant, TagBubble, type TagBubbleProps, type TagLevelItem, TagLevelPicker, type TagLevelPickerProps, type TagOption, type TagSearchOption, TagSelect, type TagSelectProps, Text, type TextProps, Textarea, type TextareaProps, type TextareaVariant, Timeline, type TimelineItem, type TimelineProps, type ToastOptions, type ToastType, Toaster, Tooltip, type TooltipProps, VideoPlayer, type VideoPlayerProps, 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, formatVideoDuration, formatVin, generateHexColor, getAvatarColor, getCleanFileName, getElapsedTime, getFileIconByMimeType, getFileKind, getFileNameFromUrl, getInitials, getMimeCategory, getPastelColorPair, getRelativeTime, isHoliday, isSameDay, isolateCity, noAutofillProps, optimizeImage, parseAmount, parseIsoDate, toast, truncateFileName, truncateText, useAvatarSize };
|