@groupeactual/ui-kit 1.6.0-beta.6 → 1.6.0-beta.8
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.map +1 -1
- package/dist/cjs/types/components/Chip/Chip.d.ts +1 -1
- package/dist/cjs/types/components/Form/DatePicker/DatePicker.d.ts +1 -1
- package/dist/cjs/types/components/IconButton/IconButton.d.ts +1 -1
- package/dist/cjs/types/components/IconProvider/IconProvider.d.ts +1 -1
- package/dist/cjs/types/components/Modal/modal.interface.d.ts +1 -1
- package/dist/es/index.d.ts +1 -1
- package/dist/es/index.mjs.map +1 -1
- package/dist/es/types/components/Chip/Chip.d.ts +1 -1
- package/dist/es/types/components/Form/DatePicker/DatePicker.d.ts +1 -1
- package/dist/es/types/components/IconButton/IconButton.d.ts +1 -1
- package/dist/es/types/components/IconProvider/IconProvider.d.ts +1 -1
- package/dist/es/types/components/Modal/modal.interface.d.ts +1 -1
- package/package.json +4 -4
- package/src/DesignSystemProvider.tsx +2 -1
- package/src/components/Accordion/Accordion.tsx +3 -2
- package/src/components/BannerNotification/BannerNotification.tsx +2 -1
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +2 -1
- package/src/components/Button/Button.tsx +2 -1
- package/src/components/Chip/Chip.tsx +3 -2
- package/src/components/Datatable/Datatable.tsx +6 -5
- package/src/components/EmbbededNotification/EmbeddedNotification.tsx +4 -2
- package/src/components/Form/AutoCompleteMulti/AutoCompleteMulti.tsx +8 -7
- package/src/components/Form/AutoCompleteSingle/AutoCompleteSingle.tsx +7 -6
- package/src/components/Form/Checkbox/Checkbox.tsx +3 -2
- package/src/components/Form/CheckboxGroup/CheckboxGroup.tsx +2 -1
- package/src/components/Form/DatePicker/DatePicker.tsx +9 -8
- package/src/components/Form/MultiSelect/MultiSelect.tsx +8 -7
- package/src/components/Form/RadioGroup/RadioGroup.tsx +3 -2
- package/src/components/Form/Select/Select.tsx +3 -2
- package/src/components/Form/Switch/Switch.tsx +2 -1
- package/src/components/Form/TextField/TextField.tsx +3 -2
- package/src/components/IconButton/IconButton.tsx +3 -2
- package/src/components/IconProvider/IconProvider.tsx +2 -1
- package/src/components/Link/Link.tsx +2 -1
- package/src/components/Modal/Dialog/Dialog.tsx +2 -1
- package/src/components/Modal/Drawer/Drawer.tsx +2 -1
- package/src/components/Modal/modal.interface.ts +2 -1
- package/src/components/Navigation/Stepper/Step.tsx +2 -1
- package/src/components/Pagination/Pagination.tsx +2 -1
- package/src/components/Snackbar/Snackbar.tsx +2 -1
- package/src/components/UploadDocument/FileUploaderSingle.tsx +2 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MouseEvent } from 'react';
|
|
2
|
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
3
2
|
import { ChipProps as ChipPropsMUI } from '@mui/material';
|
|
3
|
+
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
4
4
|
interface Props extends Omit<ChipPropsMUI, 'suffix' | 'prefix' | 'onDelete' | 'onDeleteIcon' | 'variant'> {
|
|
5
5
|
variant: 'filled' | 'outlined' | 'status' | 'statusFilled';
|
|
6
6
|
label: string;
|
|
@@ -2,7 +2,7 @@ import { DatePickerProps } from '@mui/x-date-pickers-pro';
|
|
|
2
2
|
import { Dayjs } from 'dayjs';
|
|
3
3
|
import 'dayjs/locale/fr';
|
|
4
4
|
interface Props<T extends Dayjs> extends Omit<DatePickerProps<Dayjs>, 'onChange' | 'width'> {
|
|
5
|
-
value: T | null;
|
|
5
|
+
value: T | null | undefined;
|
|
6
6
|
onChange: (value: Dayjs | null | undefined) => void;
|
|
7
7
|
error?: string;
|
|
8
8
|
success?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
2
1
|
import { IconButtonProps, SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
3
3
|
import { Placement } from '../Tooltip/tooltip.interface';
|
|
4
4
|
interface Props extends IconButtonProps {
|
|
5
5
|
icon: IconDefinition;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
3
2
|
import { CardProps } from '@mui/material';
|
|
4
3
|
import { ModalProps as ModalPropsMUI } from '@mui/material/Modal';
|
|
5
4
|
import { DefaultComponentProps, OverridableTypeMap } from '@mui/material/OverridableComponent';
|
|
5
|
+
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
6
6
|
export type CloseButtonProps = {
|
|
7
7
|
onClose: () => void;
|
|
8
8
|
};
|
package/dist/es/index.d.ts
CHANGED
|
@@ -366,7 +366,7 @@ declare const Switch: {
|
|
|
366
366
|
};
|
|
367
367
|
|
|
368
368
|
interface Props$3<T extends Dayjs> extends Omit<DatePickerProps<Dayjs>, 'onChange' | 'width'> {
|
|
369
|
-
value: T | null;
|
|
369
|
+
value: T | null | undefined;
|
|
370
370
|
onChange: (value: Dayjs | null | undefined) => void;
|
|
371
371
|
error?: string;
|
|
372
372
|
success?: boolean;
|