@inntechcorp/it-design 2.2.73 → 2.2.75
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/index.cjs.js +249 -249
- package/dist/index.d.ts +5 -5
- package/dist/index.esm.js +257 -257
- package/dist/locales/calendar.json +22 -22
- package/dist/locales/itd.json +226 -227
- package/dist/types/CalendarProps.d.ts +4 -4
- package/dist/types/DatePickerProps.d.ts +2 -2
- package/package.json +3 -4
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import react__default, { RefObject, Context, ReactNode, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, FunctionComponent, Ref, MutableRefObject, FocusEvent, KeyboardEvent, MouseEvent, ReactElement, CSSProperties } from 'react';
|
|
4
4
|
import { ChildrenProps as ChildrenProps$1 } from 'types/ChildrenProps';
|
|
5
|
-
import dayjs
|
|
5
|
+
import dayjs from 'dayjs';
|
|
6
6
|
import { ConnectionStatus as ConnectionStatus$1, ModalState as ModalState$1, ComponentSizes as ComponentSizes$1, ComponentPositions as ComponentPositions$1, ComponentSizesSlug as ComponentSizesSlug$1, FormValidationTypes as FormValidationTypes$1 } from 'enums/enum';
|
|
7
7
|
import { Cancel, AxiosProgressEvent } from 'axios';
|
|
8
8
|
import { SelectValue as SelectValue$1 } from 'types/SelectProps';
|
|
@@ -835,19 +835,19 @@ type CalendarProps = {
|
|
|
835
835
|
suffix?: ChildrenProps;
|
|
836
836
|
onChange?: ((value: CalendarValueProps) => void) | null;
|
|
837
837
|
onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
|
|
838
|
-
disabledDate: (date: Dayjs) => boolean;
|
|
838
|
+
disabledDate: (date: dayjs.Dayjs) => boolean;
|
|
839
839
|
};
|
|
840
840
|
type CalendarValueProps = {
|
|
841
841
|
localizated: string;
|
|
842
842
|
global: string;
|
|
843
843
|
};
|
|
844
844
|
type CalendarDayProps = {
|
|
845
|
-
date: Dayjs;
|
|
845
|
+
date: dayjs.Dayjs;
|
|
846
846
|
today?: boolean;
|
|
847
847
|
selected?: boolean;
|
|
848
848
|
current?: boolean;
|
|
849
849
|
disabled?: boolean;
|
|
850
|
-
handleClick: (date: Dayjs) => void;
|
|
850
|
+
handleClick: (date: dayjs.Dayjs) => void;
|
|
851
851
|
};
|
|
852
852
|
|
|
853
853
|
type DatePickerProps = {
|
|
@@ -865,7 +865,7 @@ type DatePickerProps = {
|
|
|
865
865
|
suffix?: ChildrenProps;
|
|
866
866
|
onChange?: ((value: CalendarValueProps) => void) | null;
|
|
867
867
|
onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
|
|
868
|
-
disabledDate?: (date: Dayjs) => boolean;
|
|
868
|
+
disabledDate?: (date: dayjs.Dayjs) => boolean;
|
|
869
869
|
};
|
|
870
870
|
|
|
871
871
|
type TextAreaProps = {
|