@groupeactual/ui-kit 1.6.0-beta.6 → 1.6.0-beta.7
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.
|
@@ -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;
|
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;
|
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@groupeactual/ui-kit",
|
|
3
|
-
"version": "1.6.0-beta.
|
|
3
|
+
"version": "1.6.0-beta.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A simple template for a custom React component library",
|
|
6
6
|
"devDependencies": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"notistack": "^3.0.1",
|
|
53
53
|
"react": "^18.3.1",
|
|
54
54
|
"react-dom": "^18.3.1",
|
|
55
|
-
"@groupeactual/design-tokens": "1.6.0-beta.
|
|
55
|
+
"@groupeactual/design-tokens": "1.6.0-beta.7"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"react": "^18.2.0",
|
|
@@ -28,7 +28,7 @@ import IconProvider from '../../IconProvider/IconProvider';
|
|
|
28
28
|
|
|
29
29
|
interface Props<T extends Dayjs>
|
|
30
30
|
extends Omit<DatePickerProps<Dayjs>, 'onChange' | 'width'> {
|
|
31
|
-
value: T | null;
|
|
31
|
+
value: T | null | undefined;
|
|
32
32
|
onChange: (value: Dayjs | null | undefined) => void;
|
|
33
33
|
error?: string;
|
|
34
34
|
success?: boolean;
|