@groupeactual/ui-kit 1.8.3 → 1.8.5
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/es/index.d.ts
CHANGED
|
@@ -175,6 +175,8 @@ interface Props$g {
|
|
|
175
175
|
}
|
|
176
176
|
declare const Pagination: ({ totalString, totalPerPageString, hideTotal, limitsPerPage, page, totalRows, limit, setLimit, setPage, }: Props$g) => React.JSX.Element;
|
|
177
177
|
|
|
178
|
+
type Placement = 'right' | 'bottom' | 'left' | 'top' | 'bottom-end' | 'bottom-start' | 'left-end' | 'left-start' | 'right-end' | 'right-start' | 'top-end' | 'top-start' | undefined;
|
|
179
|
+
|
|
178
180
|
interface Props$f extends Omit<ChipProps, 'suffix' | 'prefix' | 'onDelete' | 'onDeleteIcon' | 'variant'> {
|
|
179
181
|
variant: 'filled' | 'outlined' | 'status' | 'statusFilled';
|
|
180
182
|
label: string;
|
|
@@ -182,11 +184,13 @@ interface Props$f extends Omit<ChipProps, 'suffix' | 'prefix' | 'onDelete' | 'on
|
|
|
182
184
|
suffixIcon?: IconDefinition;
|
|
183
185
|
suffixAction?: (_e: MouseEvent) => void;
|
|
184
186
|
suffixTooltip?: string;
|
|
187
|
+
suffixTooltipPlacement?: Placement;
|
|
185
188
|
tooltip?: string;
|
|
189
|
+
tooltipPlacement?: Placement;
|
|
186
190
|
maxWidth?: string | number;
|
|
187
191
|
maxLength?: number;
|
|
188
192
|
}
|
|
189
|
-
declare const Chip: ({ variant, label, prefixIcon, suffixIcon, suffixTooltip, suffixAction, tooltip, maxWidth, ...props }: Props$f) => React.JSX.Element;
|
|
193
|
+
declare const Chip: ({ variant, label, prefixIcon, suffixIcon, suffixTooltip, suffixTooltipPlacement, suffixAction, tooltip, tooltipPlacement, maxWidth, ...props }: Props$f) => React.JSX.Element;
|
|
190
194
|
|
|
191
195
|
interface Props$e extends BoxProps {
|
|
192
196
|
variant: 'warning' | 'error' | 'success' | 'infos';
|
|
@@ -196,8 +200,6 @@ interface Props$e extends BoxProps {
|
|
|
196
200
|
}
|
|
197
201
|
declare const EmbeddedNotification: ({ title, text, variant, actionButton, ...props }: Props$e) => React.JSX.Element;
|
|
198
202
|
|
|
199
|
-
type Placement = 'right' | 'bottom' | 'left' | 'top' | 'bottom-end' | 'bottom-start' | 'left-end' | 'left-start' | 'right-end' | 'right-start' | 'top-end' | 'top-start' | undefined;
|
|
200
|
-
|
|
201
203
|
interface Props$d extends Omit<TooltipProps, 'icon' | 'children' | 'placement'> {
|
|
202
204
|
title: ReactNode;
|
|
203
205
|
children: ReactNode;
|