@scmlatam/web-ui 0.2.22 → 0.2.24
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.
|
@@ -8,6 +8,28 @@ export interface CustomTimefieldProps {
|
|
|
8
8
|
disabled: boolean;
|
|
9
9
|
white: boolean;
|
|
10
10
|
fullWidth: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Intervalo disponible en la
|
|
13
|
+
* selección de minutos.
|
|
14
|
+
*
|
|
15
|
+
* @default 1
|
|
16
|
+
*
|
|
17
|
+
* Ejemplo:
|
|
18
|
+
* minuteStep={15}
|
|
19
|
+
*
|
|
20
|
+
* muestra:
|
|
21
|
+
* 00, 15, 30 y 45.
|
|
22
|
+
*/
|
|
23
|
+
minuteStep?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Estado visual y accesible
|
|
26
|
+
* de error.
|
|
27
|
+
*/
|
|
28
|
+
error?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Texto mostrado bajo el campo.
|
|
31
|
+
*/
|
|
32
|
+
helperText?: React.ReactNode;
|
|
11
33
|
}
|
|
12
|
-
declare const CustomTimefield: ({ label, initialValue, value, setValue, disabled, white, fullWidth, }: CustomTimefieldProps) => React.JSX.Element;
|
|
13
|
-
export { CustomTimefield };
|
|
34
|
+
declare const CustomTimefield: ({ label, initialValue, value, setValue, disabled, white, fullWidth, minuteStep, error, helperText, }: CustomTimefieldProps) => React.JSX.Element;
|
|
35
|
+
export { CustomTimefield, };
|
|
@@ -2,6 +2,24 @@ import { Dayjs } from 'dayjs';
|
|
|
2
2
|
interface TimePickerPanelProps {
|
|
3
3
|
value: Dayjs | null;
|
|
4
4
|
onChange: (newValue: Dayjs) => void;
|
|
5
|
+
/**
|
|
6
|
+
* Intervalo entre las opciones
|
|
7
|
+
* disponibles de minutos.
|
|
8
|
+
*
|
|
9
|
+
* Ejemplos:
|
|
10
|
+
*
|
|
11
|
+
* 1:
|
|
12
|
+
* 00, 01, 02 ... 59
|
|
13
|
+
*
|
|
14
|
+
* 5:
|
|
15
|
+
* 00, 05, 10 ... 55
|
|
16
|
+
*
|
|
17
|
+
* 15:
|
|
18
|
+
* 00, 15, 30, 45
|
|
19
|
+
*
|
|
20
|
+
* @default 1
|
|
21
|
+
*/
|
|
22
|
+
minuteStep?: number;
|
|
5
23
|
}
|
|
6
|
-
export declare function TimePickerPanel({ value, onChange, }: TimePickerPanelProps): import("react").JSX.Element;
|
|
24
|
+
export declare function TimePickerPanel({ value, onChange, minuteStep, }: TimePickerPanelProps): import("react").JSX.Element;
|
|
7
25
|
export {};
|