@groupeactual/ui-kit 1.8.4 → 1.8.6
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/cjs/index.js +2 -2
- package/dist/es/index.d.ts +7 -5
- package/dist/es/index.js +2 -2
- package/dist/es/src/components/Accordion/Accordion.d.ts +2 -2
- package/dist/es/src/components/Chip/Chip.d.ts +4 -1
- package/package.json +2 -2
- package/src/components/Accordion/Accordion.tsx +2 -2
- package/src/components/Chip/Chip.tsx +8 -3
package/dist/es/index.d.ts
CHANGED
|
@@ -125,8 +125,8 @@ interface Props$k<T> extends Omit<RadioGroupProps, 'onChange'> {
|
|
|
125
125
|
}
|
|
126
126
|
declare const RadioGroup: <T>({ options, value, label, onChange, helperText, disabled, error, ...props }: Props$k<T>) => React.JSX.Element;
|
|
127
127
|
|
|
128
|
-
interface Props$j extends AccordionProps {
|
|
129
|
-
title?:
|
|
128
|
+
interface Props$j extends Omit<AccordionProps, 'title'> {
|
|
129
|
+
title?: ReactNode;
|
|
130
130
|
summaryHeight?: number;
|
|
131
131
|
expanded?: boolean;
|
|
132
132
|
children: NonNullable<ReactNode>;
|
|
@@ -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;
|