@onesy/ui-react 1.0.53 → 1.0.54
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.
@@ -4,9 +4,10 @@ import { ILine } from '../Line/Line';
|
|
4
4
|
import { TCalendarUnit } from '../Calendar/Calendar';
|
5
5
|
import { TCalendarMonthCalendar, TCalendarMonthValue } from '../CalendarMonth/CalendarMonth';
|
6
6
|
import { IValueBreakpoints, IElement, IElementReference, IPropsAny } from '../types';
|
7
|
+
import { ITextField } from '../TextField/TextField';
|
7
8
|
export declare const SEPARATOR_SYMBOL = "\u2013";
|
8
9
|
export declare const SEPARATOR: string;
|
9
|
-
export declare type IDatePicker = Omit<ILine, 'onChange'> & {
|
10
|
+
export declare type IDatePicker = Omit<ILine, 'onChange'> & ITextField & {
|
10
11
|
version?: 'auto' | 'mobile' | 'desktop';
|
11
12
|
value?: TCalendarMonthValue;
|
12
13
|
valueDefault?: TCalendarMonthValue;
|
@@ -43,8 +44,6 @@ export declare type IDatePicker = Omit<ILine, 'onChange'> & {
|
|
43
44
|
heading?: boolean;
|
44
45
|
actions?: boolean;
|
45
46
|
fullWidth?: boolean;
|
46
|
-
helperText?: string;
|
47
|
-
error?: boolean;
|
48
47
|
onClick?: (event: React.MouseEvent<any>) => any;
|
49
48
|
onClose?: (event: React.MouseEvent<any>) => any;
|
50
49
|
onCancel?: (event: React.MouseEvent<any>) => any;
|
@@ -5,8 +5,9 @@ import { TCalendarMonthValue } from '../CalendarMonth/CalendarMonth';
|
|
5
5
|
import { TCalendarUnit } from '../Calendar/Calendar';
|
6
6
|
import { TClockUnit } from '../Clock/Clock';
|
7
7
|
import { IValueBreakpoints, IElementReference, IPropsAny } from '../types';
|
8
|
+
import { ITextField } from '../TextField/TextField';
|
8
9
|
export declare type TDateTimePicker = OnesyDate;
|
9
|
-
export declare type IDateTimePicker = Omit<IAdvancedTextField, 'version' | 'onChange'> & {
|
10
|
+
export declare type IDateTimePicker = Omit<IAdvancedTextField, 'version' | 'onChange'> & ITextField & {
|
10
11
|
version?: 'auto' | 'mobile' | 'desktop';
|
11
12
|
value?: TCalendarMonthValue;
|
12
13
|
valueDefault?: TCalendarMonthValue;
|
@@ -32,8 +33,6 @@ export declare type IDateTimePicker = Omit<IAdvancedTextField, 'version' | 'onCh
|
|
32
33
|
clear?: boolean;
|
33
34
|
placeholder?: string;
|
34
35
|
fullWidth?: boolean;
|
35
|
-
helperText?: string;
|
36
|
-
error?: boolean;
|
37
36
|
onClose?: (event: React.MouseEvent<any>) => any;
|
38
37
|
onCancel?: (event: React.MouseEvent<any>) => any;
|
39
38
|
onToday?: (event: React.MouseEvent<any>) => any;
|
@@ -40,8 +40,6 @@ export declare type ITimePicker = Omit<IAdvancedTextField, 'version' | 'onChange
|
|
40
40
|
heading?: boolean;
|
41
41
|
actions?: boolean;
|
42
42
|
fullWidth?: boolean;
|
43
|
-
helperText?: string;
|
44
|
-
error?: boolean;
|
45
43
|
onClick?: (event: React.MouseEvent<any>) => any;
|
46
44
|
onClose?: (event: React.MouseEvent<any>) => any;
|
47
45
|
onCancel?: (event: React.MouseEvent<any>) => any;
|
package/esm/index.js
CHANGED