@component-hook/picker 1.1.4 → 1.1.5
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/react/picker.es.d.ts +4 -4
- package/dist/react/picker.es.js +1222 -1569
- package/dist/react/picker.umd.js +12 -20
- package/package.json +3 -3
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { JSX
|
|
1
|
+
import { JSX } from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
|
|
4
|
-
export declare function DatePicker({ show, values, title, columnsType, minDate, maxDate, teleport, confirmButtonText, cancelButtonText, formatYearLabel, formatMonthLabel, formatDayLabel, onConfirm, onClose, onCancel, onOpen, onClosed, }: Props_2):
|
|
4
|
+
export declare function DatePicker({ show, values, title, columnsType, minDate, maxDate, teleport, confirmButtonText, cancelButtonText, formatYearLabel, formatMonthLabel, formatDayLabel, onConfirm, onClose, onCancel, onOpen, onClosed, }: Props_2): JSX.Element;
|
|
5
5
|
|
|
6
6
|
export declare type DatePickerColumnType = 'year' | 'month' | 'day';
|
|
7
7
|
|
|
8
8
|
export declare type Direction = '' | 'vertical' | 'horizontal';
|
|
9
9
|
|
|
10
|
-
export declare function Picker<T>({ show, values, title, columns, linkage, loading, loadingSlot, emptySlot, teleport, confirmButtonText, cancelButtonText, columnsFieldNames, onConfirm, onClose, onChange, onCancel, onOpen, onClosed, }: Props<T>):
|
|
10
|
+
export declare function Picker<T>({ show, values, title, columns, linkage, loading, loadingSlot, emptySlot, teleport, confirmButtonText, cancelButtonText, columnsFieldNames, onConfirm, onClose, onChange, onCancel, onOpen, onClosed, }: Props<T>): JSX.Element;
|
|
11
11
|
|
|
12
12
|
export declare type PickerColumn<T = string | number> = Array<PickerOption<T> | undefined>;
|
|
13
13
|
|
|
@@ -91,7 +91,7 @@ declare interface Props_3 {
|
|
|
91
91
|
onClosed?: () => void;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
export declare function TimePicker({ show, values, title, columnsType, minTime, maxTime, teleport, confirmButtonText, cancelButtonText, formatHourLabel, formatMinuteLabel, formatSecondLabel, onConfirm, onClose, onCancel, onOpen, onClosed, }: Props_3):
|
|
94
|
+
export declare function TimePicker({ show, values, title, columnsType, minTime, maxTime, teleport, confirmButtonText, cancelButtonText, formatHourLabel, formatMinuteLabel, formatSecondLabel, onConfirm, onClose, onCancel, onOpen, onClosed, }: Props_3): JSX.Element;
|
|
95
95
|
|
|
96
96
|
export declare type TimePickerColumnType = 'hour' | 'minute' | 'second';
|
|
97
97
|
|