@inntechcorp/it-design 2.2.62 → 2.2.63
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 +2 -2
- 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/index.cjs.js +504 -475
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +15 -11
- package/dist/index.esm.js +503 -474
- package/dist/locales/calendar.json +22 -22
- package/dist/locales/itd.json +223 -224
- package/dist/types/CalendarProps.d.ts +4 -4
- package/dist/types/DatePickerProps.d.ts +2 -2
- package/package.json +2 -3
package/dist/calendar/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import dayjs from "../helpers/datetime/dayjsSetup";
|
|
2
2
|
import { CalendarValueProps } from "../index";
|
|
3
3
|
declare const Calendar: ({ value, defaultValue, className, onChange, disabledDate }: {
|
|
4
4
|
value?: string;
|
|
5
5
|
defaultValue?: string;
|
|
6
6
|
className?: string;
|
|
7
7
|
onChange?: ((value: CalendarValueProps) => void) | null;
|
|
8
|
-
disabledDate?: (date:
|
|
8
|
+
disabledDate?: (date: dayjs.Dayjs) => boolean;
|
|
9
9
|
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
10
10
|
export default Calendar;
|
|
@@ -2,4 +2,6 @@ declare const Wrapper: import("styled-components/dist/types").IStyledComponentBa
|
|
|
2
2
|
declare const Days: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
3
|
declare const WeekShortDays: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
4
|
declare const Separator: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
|
-
|
|
5
|
+
declare const Months: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
|
+
declare const Years: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
+
export { Wrapper, Days, WeekShortDays, Separator, Months, Years };
|
|
@@ -7,7 +7,7 @@ declare const CalendarWrapper: import("styled-components/dist/types").IStyledCom
|
|
|
7
7
|
defaultValue?: string;
|
|
8
8
|
className?: string;
|
|
9
9
|
onChange?: ((value: import("./index").CalendarValueProps) => void) | null;
|
|
10
|
-
disabledDate?: (date:
|
|
10
|
+
disabledDate?: (date: import("dayjs").Dayjs) => boolean;
|
|
11
11
|
}, {
|
|
12
12
|
$position: ITDPosition;
|
|
13
13
|
}>> & string & Omit<({ value, defaultValue, className, onChange, disabledDate }: {
|
|
@@ -15,6 +15,6 @@ declare const CalendarWrapper: import("styled-components/dist/types").IStyledCom
|
|
|
15
15
|
defaultValue?: string;
|
|
16
16
|
className?: string;
|
|
17
17
|
onChange?: ((value: import("./index").CalendarValueProps) => void) | null;
|
|
18
|
-
disabledDate?: (date:
|
|
18
|
+
disabledDate?: (date: import("dayjs").Dayjs) => boolean;
|
|
19
19
|
}) => import("react/jsx-runtime").JSX.Element | null, keyof import("react").Component<any, {}, any>>;
|
|
20
20
|
export { Wrapper, CalendarWrapper };
|
package/dist/enums/enum.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '
|
|
2
|
-
export default function FormatTime(time:
|
|
1
|
+
import dayjs from './dayjsSetup';
|
|
2
|
+
export default function FormatTime(time: dayjs.ConfigType, locale?: string, format?: string): string;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { ConnectionStatus } from "enums/enum";
|
|
1
2
|
/**
|
|
2
3
|
*
|
|
3
4
|
* window objesine event listener ekler ve
|
|
4
5
|
* kullanıcı online ve offline olduğunda çağrılır.
|
|
5
6
|
*
|
|
6
|
-
* @param
|
|
7
|
+
* @param handler
|
|
7
8
|
*
|
|
8
9
|
*/
|
|
9
|
-
declare const useConnectionStatus: (handler: (event: Event) => void) => void;
|
|
10
|
+
declare const useConnectionStatus: (handler: (status: ConnectionStatus, event: Event) => void) => void;
|
|
10
11
|
export default useConnectionStatus;
|