@groupeactual/ui-kit 1.6.0-beta.5 → 1.6.0-beta.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 +9 -9
- package/dist/cjs/index.js.map +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/es/index.d.ts +2 -2
- package/dist/es/index.mjs +9 -9
- package/dist/es/index.mjs.map +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/package.json +3 -3
- package/src/components/Form/DatePicker/DatePicker.tsx +1 -1
- package/src/components/IconButton/IconButton.tsx +1 -1
|
@@ -3,7 +3,7 @@ import { Dayjs } from 'dayjs';
|
|
|
3
3
|
import 'dayjs/locale/fr';
|
|
4
4
|
interface Props<T extends Dayjs> extends Omit<DatePickerProps<Dayjs>, 'onChange' | 'width'> {
|
|
5
5
|
value: T | null;
|
|
6
|
-
onChange: (value: Dayjs | null) => void;
|
|
6
|
+
onChange: (value: Dayjs | null | undefined) => void;
|
|
7
7
|
error?: string;
|
|
8
8
|
success?: boolean;
|
|
9
9
|
helperText?: string;
|
|
@@ -9,7 +9,7 @@ interface Props extends IconButtonProps {
|
|
|
9
9
|
tooltipPosition?: Placement;
|
|
10
10
|
size?: 'small' | 'medium';
|
|
11
11
|
sx?: SxProps<Theme>;
|
|
12
|
-
onClick?: () => void;
|
|
12
|
+
onClick?: (e: any) => void;
|
|
13
13
|
}
|
|
14
14
|
declare const IconButton: {
|
|
15
15
|
({ icon, variant, positionGroup, tooltipText, tooltipPosition, size, ...iconButtonProps }: Props): import("react/jsx-runtime").JSX.Element;
|
package/dist/es/index.d.ts
CHANGED
|
@@ -367,7 +367,7 @@ declare const Switch: {
|
|
|
367
367
|
|
|
368
368
|
interface Props$3<T extends Dayjs> extends Omit<DatePickerProps<Dayjs>, 'onChange' | 'width'> {
|
|
369
369
|
value: T | null;
|
|
370
|
-
onChange: (value: Dayjs | null) => void;
|
|
370
|
+
onChange: (value: Dayjs | null | undefined) => void;
|
|
371
371
|
error?: string;
|
|
372
372
|
success?: boolean;
|
|
373
373
|
helperText?: string;
|
|
@@ -442,7 +442,7 @@ interface Props$1 extends IconButtonProps {
|
|
|
442
442
|
tooltipPosition?: Placement;
|
|
443
443
|
size?: 'small' | 'medium';
|
|
444
444
|
sx?: SxProps<Theme$1>;
|
|
445
|
-
onClick?: () => void;
|
|
445
|
+
onClick?: (e: any) => void;
|
|
446
446
|
}
|
|
447
447
|
declare const IconButton: {
|
|
448
448
|
({ icon, variant, positionGroup, tooltipText, tooltipPosition, size, ...iconButtonProps }: Props$1): react_jsx_runtime.JSX.Element;
|