@wizleap-inc/wiz-ui-react 0.31.0 → 0.32.0
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/components/base/calendar/components/calendar-helper.d.ts +1 -1
- package/dist/components/base/calendar/components/calendar.d.ts +6 -0
- package/dist/components/base/calendar/components/types.d.ts +1 -0
- package/dist/components/base/inputs/date-picker/components/date-picker.d.ts +6 -0
- package/dist/components/base/inputs/search-selector/components/search-selector.d.ts +1 -0
- package/dist/wiz-ui.es.js +1345 -1336
- package/dist/wiz-ui.umd.js +16 -16
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CalendarData } from "./types";
|
|
2
|
-
export declare function createCalendarData(currentShowingDateTime: Date, shouldFillWeeks?: boolean): CalendarData;
|
|
2
|
+
export declare function createCalendarData(currentShowingDateTime: Date, shouldFillWeeks?: boolean, disabledDate?: (date: Date) => boolean): CalendarData;
|
|
@@ -5,6 +5,12 @@ type Props = {
|
|
|
5
5
|
activeDates?: DateStatus[];
|
|
6
6
|
filledWeeks?: boolean;
|
|
7
7
|
onClickDate?: (selectedValue: Date) => void;
|
|
8
|
+
/**
|
|
9
|
+
* @description 日付が無効かどうかを判定する関数です。無効な日付はクリック不可になります。
|
|
10
|
+
* @param date
|
|
11
|
+
* @returns {boolean} `true`: 無効な日付, `false`: 有効な日付
|
|
12
|
+
*/
|
|
13
|
+
disabledDate?: (date: Date) => boolean;
|
|
8
14
|
};
|
|
9
15
|
export declare const WizCalendar: FC<Props>;
|
|
10
16
|
export {};
|
|
@@ -7,6 +7,12 @@ type Props = {
|
|
|
7
7
|
error?: boolean;
|
|
8
8
|
isDirectionFixed?: boolean;
|
|
9
9
|
onChangeDate: (selectedValue: Date | null) => void;
|
|
10
|
+
/**
|
|
11
|
+
* @description 日付が無効かどうかを判定する関数です。無効な日付はクリック不可になります。
|
|
12
|
+
* @param date
|
|
13
|
+
* @returns {boolean} `true`: 無効な日付, `false`: 有効な日付
|
|
14
|
+
*/
|
|
15
|
+
disabledDate?: (date: Date) => boolean;
|
|
10
16
|
};
|
|
11
17
|
export declare const WizDatePicker: FC<Props>;
|
|
12
18
|
export {};
|