@elliemae/ds-form 2.0.0-rc.7 → 2.0.0-rc.8
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/package.json +17 -17
- package/types/Checkbox/DSCheckbox.d.ts +78 -13
- package/types/Checkbox/props.d.ts +58 -12
- package/types/CheckboxGroup/DSCheckboxGroup.d.ts +51 -7
- package/types/CheckboxGroup/props.d.ts +37 -6
- package/types/ComboBox/v2/Combobox.d.ts +56 -1
- package/types/ComboBox/v3/ComboBox.d.ts +54 -16
- package/types/ComboBox/v3/parts/dropdown-indicator/styled.d.ts +1 -60
- package/types/ComboBox/v3/parts/header-list/styled.d.ts +4 -208
- package/types/ComboBox/v3/propTypes.d.ts +49 -15
- package/types/DateInput/DSDateInput.d.ts +97 -16
- package/types/DateInput/props.d.ts +97 -16
- package/types/DateInputV2/components/DSDateInput.d.ts +72 -5
- package/types/DateInputV2/components/props.d.ts +61 -10
- package/types/FloatingLabelInput/DSFloatingLabelInput.d.ts +118 -20
- package/types/FormItem/DSFormItemLayout.d.ts +390 -60
- package/types/FormItem/Error/DSError.d.ts +21 -3
- package/types/FormItem/defaultProps.d.ts +118 -20
- package/types/FormItem/props.d.ts +229 -39
- package/types/InputGroup/DSInputGroup.d.ts +56 -8
- package/types/InputGroup/props.d.ts +43 -7
- package/types/InputMask/DSInputMask.d.ts +172 -30
- package/types/InputMask/mask_types/DateInputMask.d.ts +34 -33
- package/types/InputMask/mask_types/DateTimeInputMask.d.ts +34 -33
- package/types/InputMask/mask_types/DictionaryInputMask.d.ts +37 -36
- package/types/InputMask/mask_types/NumberInputMask.d.ts +46 -45
- package/types/InputMask/mask_types/PhoneInputMask.d.ts +34 -33
- package/types/InputMask/mask_types/PhoneInternationalInputMask.d.ts +34 -33
- package/types/InputMask/mask_types/SsnInputMask.d.ts +34 -33
- package/types/InputMask/mask_types/UsZipCodeInputMask.d.ts +34 -33
- package/types/InputMask/mask_types/ZipCodeSearchInputMask.d.ts +34 -33
- package/types/InputMask/props.d.ts +172 -30
- package/types/InputProtected/DSInputProtected.d.ts +56 -7
- package/types/InputProtected/props.d.ts +43 -8
- package/types/LargeInputText/DSLargeInputText.d.ts +163 -27
- package/types/LargeInputText/props.d.ts +163 -27
- package/types/MenuItem/components/MenuItem/index.d.ts +12 -3
- package/types/MenuItem/components/MultiMenuItem/MultiMenuItem.d.ts +12 -3
- package/types/MenuItem/components/Section/index.d.ts +4 -1
- package/types/MenuItem/components/Section/props.d.ts +4 -1
- package/types/MenuItem/components/SingleMenuItem/SingleMenuItem.d.ts +7 -2
- package/types/MenuItem/components/SubmenuItem/index.d.ts +12 -3
- package/types/MenuItem/props.d.ts +7 -2
- package/types/Radio/DSRadio.d.ts +79 -13
- package/types/RadioGroup/DSRadioGroup.d.ts +51 -7
- package/types/RadioGroup/props.d.ts +37 -6
- package/types/SearchBox/DSSearchBox.d.ts +146 -21
- package/types/SearchBox/NavSearchBox.d.ts +18 -3
- package/types/SearchBox/SButton.d.ts +13 -2
- package/types/SearchBox/props.d.ts +133 -22
- package/types/SearchBox/styled.d.ts +1 -49
- package/types/TextBox/DSTextBox.d.ts +146 -21
- package/types/TimeInput/DSTimeInput.d.ts +83 -12
- package/types/TimeInput/utils.d.ts +1 -1
- package/types/Toggle/DSToggle.d.ts +84 -12
|
@@ -1,211 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const StyledHeaderListWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
export declare const StyledSeparator: import("styled-components").StyledComponent<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
margin: any;
|
|
8
|
-
orientation: any;
|
|
9
|
-
type: any;
|
|
10
|
-
position: any;
|
|
11
|
-
className: any;
|
|
12
|
-
style: any;
|
|
13
|
-
}): JSX.Element;
|
|
14
|
-
defaultProps: {
|
|
15
|
-
containerProps: {};
|
|
16
|
-
dashed: boolean;
|
|
17
|
-
margin: string;
|
|
18
|
-
orientation: string;
|
|
19
|
-
type: string;
|
|
20
|
-
position: string;
|
|
21
|
-
};
|
|
22
|
-
propTypes: {
|
|
23
|
-
className: any;
|
|
24
|
-
style: any;
|
|
25
|
-
containerProps: any;
|
|
26
|
-
dashed: any;
|
|
27
|
-
margin: any;
|
|
28
|
-
orientation: any;
|
|
29
|
-
type: any;
|
|
30
|
-
position: any;
|
|
31
|
-
};
|
|
32
|
-
}, import("styled-components").DefaultTheme, {}, never>;
|
|
33
|
-
export declare const StyledButton: import("styled-components").StyledComponent<{
|
|
34
|
-
({ innerRef, disabled, buttonType, fluidWidth, size, labelText, icon, onBlur, onClick, onKeyPress, leftIcon, tabIndex, variant, intent, containerProps, className, as: Component, type, ...rest }: {
|
|
35
|
-
[x: string]: any;
|
|
36
|
-
innerRef: any;
|
|
37
|
-
disabled: any;
|
|
38
|
-
buttonType: any;
|
|
39
|
-
fluidWidth: any;
|
|
40
|
-
size: any;
|
|
41
|
-
labelText: any;
|
|
42
|
-
icon: any;
|
|
43
|
-
onBlur: any;
|
|
44
|
-
onClick: any;
|
|
45
|
-
onKeyPress: any;
|
|
46
|
-
leftIcon: any;
|
|
47
|
-
tabIndex: any;
|
|
48
|
-
variant: any;
|
|
49
|
-
intent: any;
|
|
50
|
-
containerProps: any;
|
|
51
|
-
className: any;
|
|
52
|
-
as: any;
|
|
53
|
-
type: any;
|
|
54
|
-
}): JSX.Element;
|
|
55
|
-
defaultProps: {
|
|
56
|
-
disabled: boolean;
|
|
57
|
-
fluidWidth: boolean;
|
|
58
|
-
labelText: string;
|
|
59
|
-
icon: null;
|
|
60
|
-
onBlur: () => null;
|
|
61
|
-
onClick: () => null;
|
|
62
|
-
onKeyPress: () => null;
|
|
63
|
-
leftIcon: null;
|
|
64
|
-
tabIndex: number;
|
|
65
|
-
variant: string;
|
|
66
|
-
containerProps: {};
|
|
67
|
-
as: string;
|
|
68
|
-
type: string;
|
|
69
|
-
};
|
|
70
|
-
propTypes: {
|
|
71
|
-
tabIndex: any;
|
|
72
|
-
className: any;
|
|
73
|
-
'aria-disabled': any;
|
|
74
|
-
as: any;
|
|
75
|
-
disabled: any;
|
|
76
|
-
fluidWidth: any;
|
|
77
|
-
labelText: any;
|
|
78
|
-
icon: any;
|
|
79
|
-
leftIcon: any;
|
|
80
|
-
buttonType: any;
|
|
81
|
-
size: any;
|
|
82
|
-
type: any;
|
|
83
|
-
variant: any;
|
|
84
|
-
innerRef: any;
|
|
85
|
-
onBlur: any;
|
|
86
|
-
intent: any;
|
|
87
|
-
containerProps: any;
|
|
88
|
-
onClick: any;
|
|
89
|
-
onKeyPress: any;
|
|
90
|
-
};
|
|
91
|
-
}, import("styled-components").DefaultTheme, {}, never>;
|
|
92
|
-
export declare const StyledButtonSelection: import("styled-components").StyledComponent<{
|
|
93
|
-
({ innerRef, disabled, buttonType, fluidWidth, size, labelText, icon, onBlur, onClick, onKeyPress, leftIcon, tabIndex, variant, intent, containerProps, className, as: Component, type, ...rest }: {
|
|
94
|
-
[x: string]: any;
|
|
95
|
-
innerRef: any;
|
|
96
|
-
disabled: any;
|
|
97
|
-
buttonType: any;
|
|
98
|
-
fluidWidth: any;
|
|
99
|
-
size: any;
|
|
100
|
-
labelText: any;
|
|
101
|
-
icon: any;
|
|
102
|
-
onBlur: any;
|
|
103
|
-
onClick: any;
|
|
104
|
-
onKeyPress: any;
|
|
105
|
-
leftIcon: any;
|
|
106
|
-
tabIndex: any;
|
|
107
|
-
variant: any;
|
|
108
|
-
intent: any;
|
|
109
|
-
containerProps: any;
|
|
110
|
-
className: any;
|
|
111
|
-
as: any;
|
|
112
|
-
type: any;
|
|
113
|
-
}): JSX.Element;
|
|
114
|
-
defaultProps: {
|
|
115
|
-
disabled: boolean;
|
|
116
|
-
fluidWidth: boolean;
|
|
117
|
-
labelText: string;
|
|
118
|
-
icon: null;
|
|
119
|
-
onBlur: () => null;
|
|
120
|
-
onClick: () => null;
|
|
121
|
-
onKeyPress: () => null;
|
|
122
|
-
leftIcon: null;
|
|
123
|
-
tabIndex: number;
|
|
124
|
-
variant: string;
|
|
125
|
-
containerProps: {};
|
|
126
|
-
as: string;
|
|
127
|
-
type: string;
|
|
128
|
-
};
|
|
129
|
-
propTypes: {
|
|
130
|
-
tabIndex: any;
|
|
131
|
-
className: any;
|
|
132
|
-
'aria-disabled': any;
|
|
133
|
-
as: any;
|
|
134
|
-
disabled: any;
|
|
135
|
-
fluidWidth: any;
|
|
136
|
-
labelText: any;
|
|
137
|
-
icon: any;
|
|
138
|
-
leftIcon: any;
|
|
139
|
-
buttonType: any;
|
|
140
|
-
size: any;
|
|
141
|
-
type: any;
|
|
142
|
-
variant: any;
|
|
143
|
-
innerRef: any;
|
|
144
|
-
onBlur: any;
|
|
145
|
-
intent: any;
|
|
146
|
-
containerProps: any;
|
|
147
|
-
onClick: any;
|
|
148
|
-
onKeyPress: any;
|
|
149
|
-
};
|
|
150
|
-
}, import("styled-components").DefaultTheme, {}, never>;
|
|
151
|
-
export declare const StyledShowAllButton: import("styled-components").StyledComponent<{
|
|
152
|
-
({ innerRef, disabled, buttonType, fluidWidth, size, labelText, icon, onBlur, onClick, onKeyPress, leftIcon, tabIndex, variant, intent, containerProps, className, as: Component, type, ...rest }: {
|
|
153
|
-
[x: string]: any;
|
|
154
|
-
innerRef: any;
|
|
155
|
-
disabled: any;
|
|
156
|
-
buttonType: any;
|
|
157
|
-
fluidWidth: any;
|
|
158
|
-
size: any;
|
|
159
|
-
labelText: any;
|
|
160
|
-
icon: any;
|
|
161
|
-
onBlur: any;
|
|
162
|
-
onClick: any;
|
|
163
|
-
onKeyPress: any;
|
|
164
|
-
leftIcon: any;
|
|
165
|
-
tabIndex: any;
|
|
166
|
-
variant: any;
|
|
167
|
-
intent: any;
|
|
168
|
-
containerProps: any;
|
|
169
|
-
className: any;
|
|
170
|
-
as: any;
|
|
171
|
-
type: any;
|
|
172
|
-
}): JSX.Element;
|
|
173
|
-
defaultProps: {
|
|
174
|
-
disabled: boolean;
|
|
175
|
-
fluidWidth: boolean;
|
|
176
|
-
labelText: string;
|
|
177
|
-
icon: null;
|
|
178
|
-
onBlur: () => null;
|
|
179
|
-
onClick: () => null;
|
|
180
|
-
onKeyPress: () => null;
|
|
181
|
-
leftIcon: null;
|
|
182
|
-
tabIndex: number;
|
|
183
|
-
variant: string;
|
|
184
|
-
containerProps: {};
|
|
185
|
-
as: string;
|
|
186
|
-
type: string;
|
|
187
|
-
};
|
|
188
|
-
propTypes: {
|
|
189
|
-
tabIndex: any;
|
|
190
|
-
className: any;
|
|
191
|
-
'aria-disabled': any;
|
|
192
|
-
as: any;
|
|
193
|
-
disabled: any;
|
|
194
|
-
fluidWidth: any;
|
|
195
|
-
labelText: any;
|
|
196
|
-
icon: any;
|
|
197
|
-
leftIcon: any;
|
|
198
|
-
buttonType: any;
|
|
199
|
-
size: any;
|
|
200
|
-
type: any;
|
|
201
|
-
variant: any;
|
|
202
|
-
innerRef: any;
|
|
203
|
-
onBlur: any;
|
|
204
|
-
intent: any;
|
|
205
|
-
containerProps: any;
|
|
206
|
-
onClick: any;
|
|
207
|
-
onKeyPress: any;
|
|
208
|
-
};
|
|
209
|
-
}, import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const StyledSeparator: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
|
|
3
|
+
export declare const StyledButton: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
|
|
4
|
+
export declare const StyledButtonSelection: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
|
|
5
|
+
export declare const StyledShowAllButton: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
|
|
210
6
|
export declare const StyledSelectedItems: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
211
7
|
export declare const StyledNoOptionsSelected: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,17 +1,51 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
export declare const propTypes: {
|
|
2
|
-
placeholder:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
3
|
+
placeholder: {
|
|
4
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
5
|
+
};
|
|
6
|
+
options: {
|
|
7
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
8
|
+
};
|
|
9
|
+
selectedValues: {
|
|
10
|
+
defaultValue<T = unknown>(arg: T): {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
14
|
+
};
|
|
15
|
+
autoFocus: {
|
|
16
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
17
|
+
};
|
|
18
|
+
hasError: {
|
|
19
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
20
|
+
};
|
|
21
|
+
onChange: {
|
|
22
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
23
|
+
};
|
|
24
|
+
onSelectAll: {
|
|
25
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
26
|
+
};
|
|
27
|
+
onFilter: {
|
|
28
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
29
|
+
};
|
|
30
|
+
onCreate: {
|
|
31
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
33
|
+
onClearAll: {
|
|
34
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
35
|
+
};
|
|
36
|
+
onMenuOpen: {
|
|
37
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
39
|
+
inputMinWidth: {
|
|
40
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
41
|
+
};
|
|
42
|
+
menuMinWidth: {
|
|
43
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
44
|
+
};
|
|
45
|
+
menuMaxHeight: {
|
|
46
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
47
|
+
};
|
|
48
|
+
withToggle: {
|
|
49
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
50
|
+
};
|
|
17
51
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import DateInputImpl from './components/DateInputImpl';
|
|
3
4
|
declare const DSDateInput: {
|
|
@@ -21,22 +22,102 @@ declare const DSDateInput: {
|
|
|
21
22
|
INTERNAL_V2_NO_MUTATION: any;
|
|
22
23
|
}): JSX.Element;
|
|
23
24
|
propTypes: {
|
|
24
|
-
containerProps:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
25
|
+
containerProps: {
|
|
26
|
+
defaultValue<T = unknown>(arg: T): {
|
|
27
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
|
+
};
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
innerRef: {
|
|
32
|
+
defaultValue<T = unknown>(arg: T): {
|
|
33
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
34
|
+
};
|
|
35
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
className: {
|
|
38
|
+
defaultValue<T = unknown>(arg: T): {
|
|
39
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
40
|
+
};
|
|
41
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
43
|
+
style: {
|
|
44
|
+
defaultValue<T = unknown>(arg: T): {
|
|
45
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
46
|
+
};
|
|
47
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
onBlur: {
|
|
50
|
+
defaultValue<T = unknown>(arg: T): {
|
|
51
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
52
|
+
};
|
|
53
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
54
|
+
};
|
|
55
|
+
onFocus: {
|
|
56
|
+
defaultValue<T = unknown>(arg: T): {
|
|
57
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
58
|
+
};
|
|
59
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
60
|
+
};
|
|
61
|
+
onClear: {
|
|
62
|
+
defaultValue<T = unknown>(arg: T): {
|
|
63
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
64
|
+
};
|
|
65
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
66
|
+
};
|
|
67
|
+
onKeyDown: {
|
|
68
|
+
defaultValue<T = unknown>(arg: T): {
|
|
69
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
70
|
+
};
|
|
71
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
72
|
+
};
|
|
73
|
+
onChange: {
|
|
74
|
+
defaultValue<T = unknown>(arg: T): {
|
|
75
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
76
|
+
};
|
|
77
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
78
|
+
};
|
|
79
|
+
onError: {
|
|
80
|
+
defaultValue<T = unknown>(arg: T): {
|
|
81
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
82
|
+
};
|
|
83
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
84
|
+
};
|
|
85
|
+
format: {
|
|
86
|
+
defaultValue<T = unknown>(arg: T): {
|
|
87
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
88
|
+
};
|
|
89
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
90
|
+
};
|
|
91
|
+
value: {
|
|
92
|
+
defaultValue<T = unknown>(arg: T): {
|
|
93
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
94
|
+
};
|
|
95
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
96
|
+
};
|
|
97
|
+
clearable: {
|
|
98
|
+
defaultValue<T = unknown>(arg: T): {
|
|
99
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
100
|
+
};
|
|
101
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
102
|
+
};
|
|
103
|
+
disabled: {
|
|
104
|
+
defaultValue<T = unknown>(arg: T): {
|
|
105
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
106
|
+
};
|
|
107
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
108
|
+
};
|
|
109
|
+
yearMaxRange: {
|
|
110
|
+
defaultValue<T = unknown>(arg: T): {
|
|
111
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
112
|
+
};
|
|
113
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
114
|
+
};
|
|
115
|
+
yearMinRange: {
|
|
116
|
+
defaultValue<T = unknown>(arg: T): {
|
|
117
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
118
|
+
};
|
|
119
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
120
|
+
};
|
|
40
121
|
};
|
|
41
122
|
defaultProps: {
|
|
42
123
|
className: string;
|
|
@@ -1,60 +1,141 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
export declare const props: {
|
|
2
3
|
/** props injected to date input wrapper node */
|
|
3
|
-
containerProps:
|
|
4
|
+
containerProps: {
|
|
5
|
+
defaultValue<T = unknown>(arg: T): {
|
|
6
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
7
|
+
};
|
|
8
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
4
10
|
/** inner ref for input wrapper */
|
|
5
|
-
innerRef:
|
|
11
|
+
innerRef: {
|
|
12
|
+
defaultValue<T = unknown>(arg: T): {
|
|
13
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
|
+
};
|
|
15
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
16
|
+
};
|
|
6
17
|
/** class for input */
|
|
7
|
-
className:
|
|
18
|
+
className: {
|
|
19
|
+
defaultValue<T = unknown>(arg: T): {
|
|
20
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
23
|
+
};
|
|
8
24
|
/**
|
|
9
25
|
* Set style for the date input
|
|
10
26
|
*/
|
|
11
|
-
style:
|
|
27
|
+
style: {
|
|
28
|
+
defaultValue<T = unknown>(arg: T): {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
12
33
|
/**
|
|
13
34
|
* Triggers the onBlur when focus moves out of date input
|
|
14
35
|
*/
|
|
15
|
-
onBlur:
|
|
36
|
+
onBlur: {
|
|
37
|
+
defaultValue<T = unknown>(arg: T): {
|
|
38
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
41
|
+
};
|
|
16
42
|
/**
|
|
17
43
|
* Triggers the onFocus when the component gets the focus
|
|
18
44
|
*/
|
|
19
|
-
onFocus:
|
|
45
|
+
onFocus: {
|
|
46
|
+
defaultValue<T = unknown>(arg: T): {
|
|
47
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
50
|
+
};
|
|
20
51
|
/**
|
|
21
52
|
* Triggers the onClear
|
|
22
53
|
*/
|
|
23
|
-
onClear:
|
|
54
|
+
onClear: {
|
|
55
|
+
defaultValue<T = unknown>(arg: T): {
|
|
56
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
57
|
+
};
|
|
58
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
59
|
+
};
|
|
24
60
|
/**
|
|
25
61
|
* Triggers the onKeyDown
|
|
26
62
|
*/
|
|
27
|
-
onKeyDown:
|
|
63
|
+
onKeyDown: {
|
|
64
|
+
defaultValue<T = unknown>(arg: T): {
|
|
65
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
66
|
+
};
|
|
67
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
68
|
+
};
|
|
28
69
|
/**
|
|
29
70
|
* Allows a function that is triggered once the date input changes
|
|
30
71
|
*/
|
|
31
|
-
onChange:
|
|
72
|
+
onChange: {
|
|
73
|
+
defaultValue<T = unknown>(arg: T): {
|
|
74
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
75
|
+
};
|
|
76
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
77
|
+
};
|
|
32
78
|
/**
|
|
33
79
|
* Triggers the onError once one input date is wrong
|
|
34
80
|
*/
|
|
35
|
-
onError:
|
|
81
|
+
onError: {
|
|
82
|
+
defaultValue<T = unknown>(arg: T): {
|
|
83
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
84
|
+
};
|
|
85
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
86
|
+
};
|
|
36
87
|
/**
|
|
37
88
|
* Format type for date input
|
|
38
89
|
*/
|
|
39
|
-
format:
|
|
90
|
+
format: {
|
|
91
|
+
defaultValue<T = unknown>(arg: T): {
|
|
92
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
93
|
+
};
|
|
94
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
95
|
+
};
|
|
40
96
|
/**
|
|
41
97
|
* Default value once the component is initialized
|
|
42
98
|
*/
|
|
43
|
-
value:
|
|
99
|
+
value: {
|
|
100
|
+
defaultValue<T = unknown>(arg: T): {
|
|
101
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
102
|
+
};
|
|
103
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
104
|
+
};
|
|
44
105
|
/**
|
|
45
106
|
* Whether the date input is clearable or not
|
|
46
107
|
*/
|
|
47
|
-
clearable:
|
|
108
|
+
clearable: {
|
|
109
|
+
defaultValue<T = unknown>(arg: T): {
|
|
110
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
111
|
+
};
|
|
112
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
113
|
+
};
|
|
48
114
|
/**
|
|
49
115
|
* Whether the date input is disabled or not
|
|
50
116
|
*/
|
|
51
|
-
disabled:
|
|
117
|
+
disabled: {
|
|
118
|
+
defaultValue<T = unknown>(arg: T): {
|
|
119
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
120
|
+
};
|
|
121
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
122
|
+
};
|
|
52
123
|
/**
|
|
53
124
|
* Max year that can be accepted by the date input
|
|
54
125
|
*/
|
|
55
|
-
yearMaxRange:
|
|
126
|
+
yearMaxRange: {
|
|
127
|
+
defaultValue<T = unknown>(arg: T): {
|
|
128
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
129
|
+
};
|
|
130
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
131
|
+
};
|
|
56
132
|
/**
|
|
57
133
|
* Min year that can be accepted by the date input
|
|
58
134
|
*/
|
|
59
|
-
yearMinRange:
|
|
135
|
+
yearMinRange: {
|
|
136
|
+
defaultValue<T = unknown>(arg: T): {
|
|
137
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
138
|
+
};
|
|
139
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
140
|
+
};
|
|
60
141
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSDateInputV2: {
|
|
3
4
|
({ onFocus, onBlur, onChange, onDateChange, onKeyDown, onError, value, disabled, containerProps, tabIndex, innerRef, }: {
|
|
@@ -25,17 +26,83 @@ declare const DSDateInputV2: {
|
|
|
25
26
|
containerProps: {};
|
|
26
27
|
};
|
|
27
28
|
propTypes: {
|
|
28
|
-
containerProps:
|
|
29
|
-
|
|
29
|
+
containerProps: {
|
|
30
|
+
defaultValue<T = unknown>(arg: T): {
|
|
31
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
33
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
34
|
+
};
|
|
35
|
+
onBlur: {
|
|
36
|
+
defaultValue<T = unknown>(arg: T): {
|
|
37
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
39
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
40
|
+
};
|
|
41
|
+
onFocus: {
|
|
42
|
+
defaultValue<T = unknown>(arg: T): {
|
|
43
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
44
|
+
};
|
|
45
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
46
|
+
};
|
|
47
|
+
onKeyDown: {
|
|
48
|
+
defaultValue<T = unknown>(arg: T): {
|
|
49
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
50
|
+
};
|
|
51
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
52
|
+
};
|
|
53
|
+
onChange: {
|
|
54
|
+
defaultValue<T = unknown>(arg: T): {
|
|
55
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
56
|
+
};
|
|
57
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
58
|
+
};
|
|
59
|
+
onDateChange: {
|
|
60
|
+
defaultValue<T = unknown>(arg: T): {
|
|
61
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
62
|
+
};
|
|
63
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
64
|
+
};
|
|
65
|
+
onError: {
|
|
66
|
+
defaultValue<T = unknown>(arg: T): {
|
|
67
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
68
|
+
};
|
|
69
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
70
|
+
};
|
|
71
|
+
value: {
|
|
72
|
+
defaultValue<T = unknown>(arg: T): {
|
|
73
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
74
|
+
};
|
|
75
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
76
|
+
};
|
|
77
|
+
disabled: {
|
|
78
|
+
defaultValue<T = unknown>(arg: T): {
|
|
79
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
80
|
+
};
|
|
81
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
82
|
+
};
|
|
83
|
+
tabIndex: {
|
|
84
|
+
defaultValue<T = unknown>(arg: T): {
|
|
85
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
86
|
+
};
|
|
87
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
declare const DSDateInputV2WithSchema: {
|
|
92
|
+
(props?: {
|
|
30
93
|
onFocus: any;
|
|
31
|
-
|
|
94
|
+
onBlur: any;
|
|
32
95
|
onChange: any;
|
|
33
96
|
onDateChange: any;
|
|
97
|
+
onKeyDown: any;
|
|
34
98
|
onError: any;
|
|
35
99
|
value: any;
|
|
36
100
|
disabled: any;
|
|
101
|
+
containerProps: any;
|
|
37
102
|
tabIndex: any;
|
|
38
|
-
|
|
103
|
+
innerRef: any;
|
|
104
|
+
} | undefined): JSX.Element;
|
|
105
|
+
propTypes: unknown;
|
|
106
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
39
107
|
};
|
|
40
|
-
declare const DSDateInputV2WithSchema: any;
|
|
41
108
|
export { DSDateInputV2, DSDateInputV2WithSchema };
|