@inntechcorp/it-design 2.2.62 → 2.2.64
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/calendar/index.d.ts +2 -2
- package/dist/calendar/styled.d.ts +3 -1
- package/dist/datepicker/styled.d.ts +4 -3
- package/dist/enums/enum.d.ts +4 -0
- package/dist/helpers/datetime/FormatDate.d.ts +0 -1
- package/dist/helpers/datetime/FormatDateTime.d.ts +0 -1
- package/dist/helpers/datetime/FormatSimpleDate.d.ts +0 -1
- package/dist/helpers/datetime/FormatSimpleDateTime.d.ts +0 -1
- package/dist/helpers/datetime/FormatTime.d.ts +2 -2
- package/dist/helpers/datetime/dayjsSetup.d.ts +2 -0
- package/dist/hooks/useConnectionStatus.d.ts +3 -2
- package/dist/icons/Remove.d.ts +7 -0
- package/dist/index.cjs.js +543 -475
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +15 -11
- package/dist/index.esm.js +542 -474
- package/dist/types/CalendarProps.d.ts +4 -4
- package/dist/types/DatePickerProps.d.ts +2 -2
- package/package.json +2 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import dayjs from "dayjs";
|
|
2
2
|
import { ChildrenProps } from "./ChildrenProps";
|
|
3
3
|
import { InputVariant } from "./InputProps";
|
|
4
4
|
import { ITDSize } from "./ITDProps";
|
|
@@ -15,17 +15,17 @@ export type CalendarProps = {
|
|
|
15
15
|
suffix?: ChildrenProps;
|
|
16
16
|
onChange?: ((value: CalendarValueProps) => void) | null;
|
|
17
17
|
onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
|
|
18
|
-
disabledDate: (date:
|
|
18
|
+
disabledDate: (date: dayjs.Dayjs) => boolean;
|
|
19
19
|
};
|
|
20
20
|
export type CalendarValueProps = {
|
|
21
21
|
localizated: string;
|
|
22
22
|
global: string;
|
|
23
23
|
};
|
|
24
24
|
export type CalendarDayProps = {
|
|
25
|
-
date:
|
|
25
|
+
date: dayjs.Dayjs;
|
|
26
26
|
today?: boolean;
|
|
27
27
|
selected?: boolean;
|
|
28
28
|
current?: boolean;
|
|
29
29
|
disabled?: boolean;
|
|
30
|
-
handleClick: (date:
|
|
30
|
+
handleClick: (date: dayjs.Dayjs) => void;
|
|
31
31
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import dayjs from "dayjs";
|
|
2
2
|
import { CalendarValueProps } from "./CalendarProps";
|
|
3
3
|
import { ChildrenProps } from "./ChildrenProps";
|
|
4
4
|
import { InputVariant } from "./InputProps";
|
|
@@ -18,5 +18,5 @@ export type DatePickerProps = {
|
|
|
18
18
|
suffix?: ChildrenProps;
|
|
19
19
|
onChange?: ((value: CalendarValueProps) => void) | null;
|
|
20
20
|
onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
|
|
21
|
-
disabledDate?: (date:
|
|
21
|
+
disabledDate?: (date: dayjs.Dayjs) => boolean;
|
|
22
22
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inntechcorp/it-design",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.64",
|
|
4
4
|
"description": "All in one Design library for web applications.",
|
|
5
5
|
"author": "Inn.Tech",
|
|
6
6
|
"license": "ISC",
|
|
@@ -39,8 +39,7 @@
|
|
|
39
39
|
"i18next-http-backend": "3.0.2",
|
|
40
40
|
"i18next-resources-to-backend": "^1.2.1",
|
|
41
41
|
"lodash-es": "4.17.21",
|
|
42
|
-
|
|
43
|
-
"moment-timezone": "^0.6.0",
|
|
42
|
+
|
|
44
43
|
"overlayscrollbars": "2.11.4",
|
|
45
44
|
"postcss": "8.5.6",
|
|
46
45
|
"postcss-calc": "10.1.1",
|