@inntechcorp/it-design 2.1.100 → 2.1.102
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/alink/styled.d.ts +1 -1
- package/dist/calendar/day/Day.d.ts +2 -1
- package/dist/calendar/index.d.ts +2 -2
- package/dist/datepicker/styled.d.ts +2 -2
- package/dist/helpers/datetime/FormatDate.d.ts +3 -2
- package/dist/helpers/datetime/FormatDateTime.d.ts +3 -2
- package/dist/helpers/datetime/FormatSimpleDate.d.ts +3 -2
- package/dist/helpers/datetime/FormatSimpleDateTime.d.ts +3 -2
- package/dist/helpers/datetime/FormatTime.d.ts +4 -2
- package/dist/index.cjs.js +464 -482
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +55 -32
- package/dist/index.esm.js +464 -482
- package/dist/stories/Calendar.d.ts +10 -0
- package/dist/stories/Calendar.stories.d.ts +18 -0
- package/dist/types/CalendarProps.d.ts +24 -17
- package/dist/types/DatePickerProps.d.ts +26 -10
- package/dist/utils/GetSizeBySizeSlug.d.ts +1 -1
- package/package.json +9 -9
package/dist/alink/styled.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const NavigationLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react-router
|
|
1
|
+
declare const NavigationLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react-router").NavLinkProps & import("react").RefAttributes<HTMLAnchorElement>, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("react-router").NavLinkProps & import("react").RefAttributes<HTMLAnchorElement>>, keyof import("react").Component<any, {}, any>>;
|
|
2
2
|
export { NavigationLink };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ChildrenProps } from 'types/ChildrenProps';
|
|
2
2
|
import { CalendarDayProps } from 'types/CalendarProps';
|
|
3
|
-
export default function Day({ date,
|
|
3
|
+
export default function Day({ date, isToday, isSelected, isDisabled, isCurrentMonth, handleClick, children }: {
|
|
4
4
|
children: ChildrenProps;
|
|
5
|
+
isCurrentMonth?: boolean;
|
|
5
6
|
} & CalendarDayProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/calendar/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Dayjs } from "dayjs";
|
|
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) => boolean;
|
|
9
9
|
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
10
10
|
export default Calendar;
|
|
@@ -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,7 +15,7 @@ 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
|
declare const ModalEnter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
21
21
|
declare const ModalEnterActive: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import '
|
|
2
|
-
|
|
1
|
+
import 'dayjs/locale/tr';
|
|
2
|
+
import 'dayjs/locale/en';
|
|
3
|
+
export default function FormatDate(date: string | Date, locale?: string, format?: string): string;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import '
|
|
2
|
-
|
|
1
|
+
import 'dayjs/locale/tr';
|
|
2
|
+
import 'dayjs/locale/en';
|
|
3
|
+
export default function FormatDateTime(date: string | Date, locale?: string, format?: string): string;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import '
|
|
2
|
-
|
|
1
|
+
import 'dayjs/locale/tr';
|
|
2
|
+
import 'dayjs/locale/en';
|
|
3
|
+
export default function FormatSimpleDate(date: string | Date, locale?: string, format?: string): string;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import '
|
|
2
|
-
|
|
1
|
+
import 'dayjs/locale/tr';
|
|
2
|
+
import 'dayjs/locale/en';
|
|
3
|
+
export default function FormatSimpleDateTime(date: string | Date, locale?: string, format?: string): string;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
import '
|
|
2
|
-
|
|
1
|
+
import { ConfigType } from 'dayjs';
|
|
2
|
+
import 'dayjs/locale/tr';
|
|
3
|
+
import 'dayjs/locale/en';
|
|
4
|
+
export default function FormatTime(time: ConfigType, locale?: string, format?: string): string;
|