@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.
Files changed (55) hide show
  1. package/package.json +17 -17
  2. package/types/Checkbox/DSCheckbox.d.ts +78 -13
  3. package/types/Checkbox/props.d.ts +58 -12
  4. package/types/CheckboxGroup/DSCheckboxGroup.d.ts +51 -7
  5. package/types/CheckboxGroup/props.d.ts +37 -6
  6. package/types/ComboBox/v2/Combobox.d.ts +56 -1
  7. package/types/ComboBox/v3/ComboBox.d.ts +54 -16
  8. package/types/ComboBox/v3/parts/dropdown-indicator/styled.d.ts +1 -60
  9. package/types/ComboBox/v3/parts/header-list/styled.d.ts +4 -208
  10. package/types/ComboBox/v3/propTypes.d.ts +49 -15
  11. package/types/DateInput/DSDateInput.d.ts +97 -16
  12. package/types/DateInput/props.d.ts +97 -16
  13. package/types/DateInputV2/components/DSDateInput.d.ts +72 -5
  14. package/types/DateInputV2/components/props.d.ts +61 -10
  15. package/types/FloatingLabelInput/DSFloatingLabelInput.d.ts +118 -20
  16. package/types/FormItem/DSFormItemLayout.d.ts +390 -60
  17. package/types/FormItem/Error/DSError.d.ts +21 -3
  18. package/types/FormItem/defaultProps.d.ts +118 -20
  19. package/types/FormItem/props.d.ts +229 -39
  20. package/types/InputGroup/DSInputGroup.d.ts +56 -8
  21. package/types/InputGroup/props.d.ts +43 -7
  22. package/types/InputMask/DSInputMask.d.ts +172 -30
  23. package/types/InputMask/mask_types/DateInputMask.d.ts +34 -33
  24. package/types/InputMask/mask_types/DateTimeInputMask.d.ts +34 -33
  25. package/types/InputMask/mask_types/DictionaryInputMask.d.ts +37 -36
  26. package/types/InputMask/mask_types/NumberInputMask.d.ts +46 -45
  27. package/types/InputMask/mask_types/PhoneInputMask.d.ts +34 -33
  28. package/types/InputMask/mask_types/PhoneInternationalInputMask.d.ts +34 -33
  29. package/types/InputMask/mask_types/SsnInputMask.d.ts +34 -33
  30. package/types/InputMask/mask_types/UsZipCodeInputMask.d.ts +34 -33
  31. package/types/InputMask/mask_types/ZipCodeSearchInputMask.d.ts +34 -33
  32. package/types/InputMask/props.d.ts +172 -30
  33. package/types/InputProtected/DSInputProtected.d.ts +56 -7
  34. package/types/InputProtected/props.d.ts +43 -8
  35. package/types/LargeInputText/DSLargeInputText.d.ts +163 -27
  36. package/types/LargeInputText/props.d.ts +163 -27
  37. package/types/MenuItem/components/MenuItem/index.d.ts +12 -3
  38. package/types/MenuItem/components/MultiMenuItem/MultiMenuItem.d.ts +12 -3
  39. package/types/MenuItem/components/Section/index.d.ts +4 -1
  40. package/types/MenuItem/components/Section/props.d.ts +4 -1
  41. package/types/MenuItem/components/SingleMenuItem/SingleMenuItem.d.ts +7 -2
  42. package/types/MenuItem/components/SubmenuItem/index.d.ts +12 -3
  43. package/types/MenuItem/props.d.ts +7 -2
  44. package/types/Radio/DSRadio.d.ts +79 -13
  45. package/types/RadioGroup/DSRadioGroup.d.ts +51 -7
  46. package/types/RadioGroup/props.d.ts +37 -6
  47. package/types/SearchBox/DSSearchBox.d.ts +146 -21
  48. package/types/SearchBox/NavSearchBox.d.ts +18 -3
  49. package/types/SearchBox/SButton.d.ts +13 -2
  50. package/types/SearchBox/props.d.ts +133 -22
  51. package/types/SearchBox/styled.d.ts +1 -49
  52. package/types/TextBox/DSTextBox.d.ts +146 -21
  53. package/types/TimeInput/DSTimeInput.d.ts +83 -12
  54. package/types/TimeInput/utils.d.ts +1 -1
  55. package/types/Toggle/DSToggle.d.ts +84 -12
@@ -1,3 +1,4 @@
1
+ /// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  declare const UsZipCodeInputMask: {
3
4
  ({ focus, setFocus, setRawMask, cursorPosition, setCursorPosition, lastkey, setLastkey, setRawValue, style, disabled, className, name, maxLength, minLength, fluidWidth, placeholder, onKeyDown, onClick, onChange, onFocus, onBlur, onPaste, onKeyUp, hasError, readOnly, type, innerRef, clearable, leftComponent, rightComponent, value, ...rest }: {
@@ -35,39 +36,39 @@ declare const UsZipCodeInputMask: {
35
36
  value: any;
36
37
  }): JSX.Element;
37
38
  propTypes: {
38
- focus: any;
39
- setFocus: any;
40
- setRawMask: any;
41
- cursorPosition: any;
42
- setCursorPosition: any;
43
- lastkey: any;
44
- setLastkey: any;
45
- setRawValue: any;
46
- style: any;
47
- disabled: any;
48
- className: any;
49
- name: any;
50
- maxLength: any;
51
- minLength: any;
52
- fluidWidth: any;
53
- placeholder: any;
54
- value: any;
55
- onChange: any;
56
- onKeyDown: any;
57
- leftComponent: any;
58
- rightComponent: any;
59
- onFocus: any;
60
- onBlur: any;
61
- onPaste: any;
62
- onKeyUp: any;
63
- hasError: any;
64
- readOnly: any;
65
- onClick: any;
66
- clearable: any;
67
- type: any;
68
- innerRef: any;
69
- mask: any;
70
- placeholderChar: any;
39
+ focus: import("react-desc").PropTypesDescValue;
40
+ setFocus: import("react-desc").PropTypesDescValue;
41
+ setRawMask: import("react-desc").PropTypesDescValue;
42
+ cursorPosition: import("react-desc").PropTypesDescValue;
43
+ setCursorPosition: import("react-desc").PropTypesDescValue;
44
+ lastkey: import("react-desc").PropTypesDescValue;
45
+ setLastkey: import("react-desc").PropTypesDescValue;
46
+ setRawValue: import("react-desc").PropTypesDescValue;
47
+ style: import("react-desc").PropTypesDescValue;
48
+ disabled: import("react-desc").PropTypesDescValue;
49
+ className: import("react-desc").PropTypesDescValue;
50
+ name: import("react-desc").PropTypesDescValue;
51
+ maxLength: import("react-desc").PropTypesDescValue;
52
+ minLength: import("react-desc").PropTypesDescValue;
53
+ fluidWidth: import("react-desc").PropTypesDescValue;
54
+ placeholder: import("react-desc").PropTypesDescValue;
55
+ value: import("react-desc").PropTypesDescValue;
56
+ onChange: import("react-desc").PropTypesDescValue;
57
+ onKeyDown: import("react-desc").PropTypesDescValue;
58
+ leftComponent: import("react-desc").PropTypesDescValue;
59
+ rightComponent: import("react-desc").PropTypesDescValue;
60
+ onFocus: import("react-desc").PropTypesDescValue;
61
+ onBlur: import("react-desc").PropTypesDescValue;
62
+ onPaste: import("react-desc").PropTypesDescValue;
63
+ onKeyUp: import("react-desc").PropTypesDescValue;
64
+ hasError: import("react-desc").PropTypesDescValue;
65
+ readOnly: import("react-desc").PropTypesDescValue;
66
+ onClick: import("react-desc").PropTypesDescValue;
67
+ clearable: import("react-desc").PropTypesDescValue;
68
+ type: import("react-desc").PropTypesDescValue;
69
+ innerRef: import("react-desc").PropTypesDescValue;
70
+ mask: import("react-desc").PropTypesDescValue;
71
+ placeholderChar: import("react-desc").PropTypesDescValue;
71
72
  };
72
73
  };
73
74
  export default UsZipCodeInputMask;
@@ -1,3 +1,4 @@
1
+ /// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  declare const ZipCodeSearchInputMask: {
3
4
  ({ focus, setFocus, setRawMask, cursorPosition, setCursorPosition, lastkey, setLastkey, setRawValue, style, disabled, className, name, maxLength, minLength, fluidWidth, placeholder, onKeyDown, onClick, onChange, onFocus, onBlur, onPaste, onKeyUp, hasError, readOnly, type, innerRef, clearable, leftComponent, rightComponent, value, ...rest }: {
@@ -35,39 +36,39 @@ declare const ZipCodeSearchInputMask: {
35
36
  value: any;
36
37
  }): JSX.Element;
37
38
  propTypes: {
38
- focus: any;
39
- setFocus: any;
40
- setRawMask: any;
41
- cursorPosition: any;
42
- setCursorPosition: any;
43
- lastkey: any;
44
- setLastkey: any;
45
- setRawValue: any;
46
- style: any;
47
- disabled: any;
48
- className: any;
49
- name: any;
50
- maxLength: any;
51
- minLength: any;
52
- fluidWidth: any;
53
- placeholder: any;
54
- value: any;
55
- onChange: any;
56
- onKeyDown: any;
57
- leftComponent: any;
58
- rightComponent: any;
59
- onFocus: any;
60
- onBlur: any;
61
- onPaste: any;
62
- onKeyUp: any;
63
- hasError: any;
64
- readOnly: any;
65
- onClick: any;
66
- clearable: any;
67
- type: any;
68
- innerRef: any;
69
- mask: any;
70
- placeholderChar: any;
39
+ focus: import("react-desc").PropTypesDescValue;
40
+ setFocus: import("react-desc").PropTypesDescValue;
41
+ setRawMask: import("react-desc").PropTypesDescValue;
42
+ cursorPosition: import("react-desc").PropTypesDescValue;
43
+ setCursorPosition: import("react-desc").PropTypesDescValue;
44
+ lastkey: import("react-desc").PropTypesDescValue;
45
+ setLastkey: import("react-desc").PropTypesDescValue;
46
+ setRawValue: import("react-desc").PropTypesDescValue;
47
+ style: import("react-desc").PropTypesDescValue;
48
+ disabled: import("react-desc").PropTypesDescValue;
49
+ className: import("react-desc").PropTypesDescValue;
50
+ name: import("react-desc").PropTypesDescValue;
51
+ maxLength: import("react-desc").PropTypesDescValue;
52
+ minLength: import("react-desc").PropTypesDescValue;
53
+ fluidWidth: import("react-desc").PropTypesDescValue;
54
+ placeholder: import("react-desc").PropTypesDescValue;
55
+ value: import("react-desc").PropTypesDescValue;
56
+ onChange: import("react-desc").PropTypesDescValue;
57
+ onKeyDown: import("react-desc").PropTypesDescValue;
58
+ leftComponent: import("react-desc").PropTypesDescValue;
59
+ rightComponent: import("react-desc").PropTypesDescValue;
60
+ onFocus: import("react-desc").PropTypesDescValue;
61
+ onBlur: import("react-desc").PropTypesDescValue;
62
+ onPaste: import("react-desc").PropTypesDescValue;
63
+ onKeyUp: import("react-desc").PropTypesDescValue;
64
+ hasError: import("react-desc").PropTypesDescValue;
65
+ readOnly: import("react-desc").PropTypesDescValue;
66
+ onClick: import("react-desc").PropTypesDescValue;
67
+ clearable: import("react-desc").PropTypesDescValue;
68
+ type: import("react-desc").PropTypesDescValue;
69
+ innerRef: import("react-desc").PropTypesDescValue;
70
+ mask: import("react-desc").PropTypesDescValue;
71
+ placeholderChar: import("react-desc").PropTypesDescValue;
71
72
  };
72
73
  };
73
74
  export default ZipCodeSearchInputMask;
@@ -1,112 +1,254 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
1
2
  export declare const inputProps: {
2
3
  /** Should component focus automatically */
3
- autoFocus: any;
4
+ autoFocus: {
5
+ defaultValue<T = unknown>(arg: T): {
6
+ deprecated: import("react-desc").PropTypesDescValidator;
7
+ };
8
+ isRequired: import("react-desc").PropTypesDescValidator;
9
+ };
4
10
  /**
5
11
  * Set style for the input mask
6
12
  */
7
- style: any;
13
+ style: {
14
+ defaultValue<T = unknown>(arg: T): {
15
+ deprecated: import("react-desc").PropTypesDescValidator;
16
+ };
17
+ isRequired: import("react-desc").PropTypesDescValidator;
18
+ };
8
19
  /**
9
20
  * Whether the input mask is disabled or not
10
21
  */
11
- disabled: any;
22
+ disabled: {
23
+ defaultValue<T = unknown>(arg: T): {
24
+ deprecated: import("react-desc").PropTypesDescValidator;
25
+ };
26
+ isRequired: import("react-desc").PropTypesDescValidator;
27
+ };
12
28
  /** disableTooltip */
13
- disableTooltip: any;
29
+ disableTooltip: {
30
+ deprecated: import("react-desc").PropTypesDescValidator;
31
+ };
14
32
  /** css class */
15
- className: any;
33
+ className: {
34
+ defaultValue<T = unknown>(arg: T): {
35
+ deprecated: import("react-desc").PropTypesDescValidator;
36
+ };
37
+ isRequired: import("react-desc").PropTypesDescValidator;
38
+ };
16
39
  /** html name prop for form */
17
- name: any;
40
+ name: {
41
+ defaultValue<T = unknown>(arg: T): {
42
+ deprecated: import("react-desc").PropTypesDescValidator;
43
+ };
44
+ isRequired: import("react-desc").PropTypesDescValidator;
45
+ };
18
46
  /**
19
47
  * Max length for the input mask
20
48
  */
21
- maxLength: any;
49
+ maxLength: {
50
+ defaultValue<T = unknown>(arg: T): {
51
+ deprecated: import("react-desc").PropTypesDescValidator;
52
+ };
53
+ isRequired: import("react-desc").PropTypesDescValidator;
54
+ };
22
55
  /**
23
56
  * Min length for the input mask
24
57
  */
25
- minLength: any;
58
+ minLength: {
59
+ defaultValue<T = unknown>(arg: T): {
60
+ deprecated: import("react-desc").PropTypesDescValidator;
61
+ };
62
+ isRequired: import("react-desc").PropTypesDescValidator;
63
+ };
26
64
  /**
27
65
  * Whether to make the content of the input mask fit the container or not
28
66
  */
29
- fluidWidth: any;
67
+ fluidWidth: {
68
+ defaultValue<T = unknown>(arg: T): {
69
+ deprecated: import("react-desc").PropTypesDescValidator;
70
+ };
71
+ isRequired: import("react-desc").PropTypesDescValidator;
72
+ };
30
73
  /** isShowElipsisActive */
31
- isShowElipsisActive: any;
74
+ isShowElipsisActive: {
75
+ deprecated: import("react-desc").PropTypesDescValidator;
76
+ };
32
77
  /**
33
78
  * Component that works as placeholder
34
79
  */
35
- placeholder: any;
80
+ placeholder: {
81
+ defaultValue<T = unknown>(arg: T): {
82
+ deprecated: import("react-desc").PropTypesDescValidator;
83
+ };
84
+ isRequired: import("react-desc").PropTypesDescValidator;
85
+ };
36
86
  /**
37
87
  * Allows a function that is triggered once a key is being pressed
38
88
  */
39
- onKeyDown: any;
89
+ onKeyDown: {
90
+ defaultValue<T = unknown>(arg: T): {
91
+ deprecated: import("react-desc").PropTypesDescValidator;
92
+ };
93
+ isRequired: import("react-desc").PropTypesDescValidator;
94
+ };
40
95
  /**
41
96
  * Allows a function that is triggered once the input mask is clicked
42
97
  */
43
- onClick: any;
98
+ onClick: {
99
+ defaultValue<T = unknown>(arg: T): {
100
+ deprecated: import("react-desc").PropTypesDescValidator;
101
+ };
102
+ isRequired: import("react-desc").PropTypesDescValidator;
103
+ };
44
104
  /**
45
105
  * Allows a function that is triggered once the input mask changes
46
106
  */
47
- onChange: any;
107
+ onChange: {
108
+ defaultValue<T = unknown>(arg: T): {
109
+ deprecated: import("react-desc").PropTypesDescValidator;
110
+ };
111
+ isRequired: import("react-desc").PropTypesDescValidator;
112
+ };
48
113
  /**
49
114
  * Allows a function that is triggered once the input mask is focused
50
115
  */
51
- onFocus: any;
116
+ onFocus: {
117
+ defaultValue<T = unknown>(arg: T): {
118
+ deprecated: import("react-desc").PropTypesDescValidator;
119
+ };
120
+ isRequired: import("react-desc").PropTypesDescValidator;
121
+ };
52
122
  /**
53
123
  * Allows a function that is triggered once the input mask loses focus
54
124
  */
55
- onBlur: any;
125
+ onBlur: {
126
+ defaultValue<T = unknown>(arg: T): {
127
+ deprecated: import("react-desc").PropTypesDescValidator;
128
+ };
129
+ isRequired: import("react-desc").PropTypesDescValidator;
130
+ };
56
131
  /**
57
132
  * Allows a function that is triggered once the input mask is pasted
58
133
  */
59
- onPaste: any;
134
+ onPaste: {
135
+ defaultValue<T = unknown>(arg: T): {
136
+ deprecated: import("react-desc").PropTypesDescValidator;
137
+ };
138
+ isRequired: import("react-desc").PropTypesDescValidator;
139
+ };
60
140
  /**
61
141
  * Allows a function that is triggered once in the input mask a keyboard key is released
62
142
  */
63
- onKeyUp: any;
143
+ onKeyUp: {
144
+ defaultValue<T = unknown>(arg: T): {
145
+ deprecated: import("react-desc").PropTypesDescValidator;
146
+ };
147
+ isRequired: import("react-desc").PropTypesDescValidator;
148
+ };
64
149
  /**
65
150
  * Default value once the component is initialized
66
151
  */
67
- value: any;
152
+ value: {
153
+ defaultValue<T = unknown>(arg: T): {
154
+ deprecated: import("react-desc").PropTypesDescValidator;
155
+ };
156
+ isRequired: import("react-desc").PropTypesDescValidator;
157
+ };
68
158
  /**
69
159
  * Whether the input mask has error or not
70
160
  */
71
- hasError: any;
161
+ hasError: {
162
+ defaultValue<T = unknown>(arg: T): {
163
+ deprecated: import("react-desc").PropTypesDescValidator;
164
+ };
165
+ isRequired: import("react-desc").PropTypesDescValidator;
166
+ };
72
167
  /**
73
168
  * Whether the input mask is read only or not
74
169
  */
75
- readOnly: any;
76
- innerRef: any;
170
+ readOnly: {
171
+ defaultValue<T = unknown>(arg: T): {
172
+ deprecated: import("react-desc").PropTypesDescValidator;
173
+ };
174
+ isRequired: import("react-desc").PropTypesDescValidator;
175
+ };
176
+ innerRef: {
177
+ defaultValue<T = unknown>(arg: T): {
178
+ deprecated: import("react-desc").PropTypesDescValidator;
179
+ };
180
+ isRequired: import("react-desc").PropTypesDescValidator;
181
+ };
77
182
  /**
78
183
  * Type of input. Ex: 'text'
79
184
  */
80
- type: any;
185
+ type: {
186
+ defaultValue<T = unknown>(arg: T): {
187
+ deprecated: import("react-desc").PropTypesDescValidator;
188
+ };
189
+ isRequired: import("react-desc").PropTypesDescValidator;
190
+ };
81
191
  /**
82
192
  * Whether the input mask is clearable or not
83
193
  */
84
- clearable: any;
194
+ clearable: {
195
+ defaultValue<T = unknown>(arg: T): {
196
+ deprecated: import("react-desc").PropTypesDescValidator;
197
+ };
198
+ isRequired: import("react-desc").PropTypesDescValidator;
199
+ };
85
200
  /**
86
201
  * Component to be added at the right side of the input
87
202
  */
88
- leftComponent: any;
203
+ leftComponent: {
204
+ defaultValue<T = unknown>(arg: T): {
205
+ deprecated: import("react-desc").PropTypesDescValidator;
206
+ };
207
+ isRequired: import("react-desc").PropTypesDescValidator;
208
+ };
89
209
  /**
90
210
  * Component to be added at the right side of the input
91
211
  */
92
- rightComponent: any;
212
+ rightComponent: {
213
+ defaultValue<T = unknown>(arg: T): {
214
+ deprecated: import("react-desc").PropTypesDescValidator;
215
+ };
216
+ isRequired: import("react-desc").PropTypesDescValidator;
217
+ };
93
218
  /**
94
219
  * Mask that has to match with the input information entered
95
220
  * ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT']
96
221
  */
97
- mask: any;
222
+ mask: {
223
+ defaultValue<T = unknown>(arg: T): {
224
+ deprecated: import("react-desc").PropTypesDescValidator;
225
+ };
226
+ isRequired: import("react-desc").PropTypesDescValidator;
227
+ };
98
228
  /**
99
229
  Expects pipe functions. i.e. autoCorrectedDatePipe
100
230
  link a docu de text-mask
101
231
  */
102
- pipe: any;
232
+ pipe: {
233
+ defaultValue<T = unknown>(arg: T): {
234
+ deprecated: import("react-desc").PropTypesDescValidator;
235
+ };
236
+ isRequired: import("react-desc").PropTypesDescValidator;
237
+ };
103
238
  /**
104
239
  * Put a sufix after the input mask
105
240
  */
106
- useSubfix: any;
241
+ useSubfix: {
242
+ defaultValue<T = unknown>(arg: T): {
243
+ deprecated: import("react-desc").PropTypesDescValidator;
244
+ };
245
+ isRequired: import("react-desc").PropTypesDescValidator;
246
+ };
107
247
  /**
108
248
  * The placeholder character represents the fillable spot in the mask.
109
249
  * The default placeholder character is underscore, _
110
250
  */
111
- placeholderChar: any;
251
+ placeholderChar: {
252
+ deprecated: import("react-desc").PropTypesDescValidator;
253
+ };
112
254
  };
@@ -1,3 +1,4 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  declare const DSInputProtected: {
3
4
  ({ leftAddon, rightAddon, onChange, value, readOnly, mask, type, placeholderChar, ...rest }: {
@@ -12,6 +13,57 @@ declare const DSInputProtected: {
12
13
  placeholderChar?: undefined;
13
14
  }): JSX.Element;
14
15
  propTypes: {
16
+ leftAddon: {
17
+ defaultValue<T = unknown>(arg: T): {
18
+ deprecated: import("react-desc").PropTypesDescValidator;
19
+ };
20
+ isRequired: import("react-desc").PropTypesDescValidator;
21
+ };
22
+ rightAddon: {
23
+ deprecated: import("react-desc").PropTypesDescValidator;
24
+ };
25
+ onChange: {
26
+ defaultValue<T = unknown>(arg: T): {
27
+ deprecated: import("react-desc").PropTypesDescValidator;
28
+ };
29
+ isRequired: import("react-desc").PropTypesDescValidator;
30
+ };
31
+ value: {
32
+ defaultValue<T = unknown>(arg: T): {
33
+ deprecated: import("react-desc").PropTypesDescValidator;
34
+ };
35
+ isRequired: import("react-desc").PropTypesDescValidator;
36
+ };
37
+ readOnly: {
38
+ deprecated: import("react-desc").PropTypesDescValidator;
39
+ };
40
+ mask: {
41
+ defaultValue<T = unknown>(arg: T): {
42
+ deprecated: import("react-desc").PropTypesDescValidator;
43
+ };
44
+ isRequired: import("react-desc").PropTypesDescValidator;
45
+ };
46
+ type: {
47
+ defaultValue<T = unknown>(arg: T): {
48
+ deprecated: import("react-desc").PropTypesDescValidator;
49
+ };
50
+ isRequired: import("react-desc").PropTypesDescValidator;
51
+ };
52
+ placeholderChar: {
53
+ defaultValue<T = unknown>(arg: T): {
54
+ deprecated: import("react-desc").PropTypesDescValidator;
55
+ };
56
+ isRequired: import("react-desc").PropTypesDescValidator;
57
+ };
58
+ };
59
+ defaultProps: {
60
+ rightAddon: string;
61
+ mask: (data: any) => any[];
62
+ };
63
+ };
64
+ declare const DSInputProtectedWithSchema: {
65
+ (props?: {
66
+ [x: string]: any;
15
67
  leftAddon: any;
16
68
  rightAddon: any;
17
69
  onChange: any;
@@ -19,13 +71,10 @@ declare const DSInputProtected: {
19
71
  readOnly: any;
20
72
  mask: any;
21
73
  type: any;
22
- placeholderChar: any;
23
- };
24
- defaultProps: {
25
- rightAddon: string;
26
- mask: (data: any) => any[];
27
- };
74
+ placeholderChar?: undefined;
75
+ } | undefined): JSX.Element;
76
+ propTypes: unknown;
77
+ toTypescript: () => import("react-desc").TypescriptSchema;
28
78
  };
29
- declare const DSInputProtectedWithSchema: any;
30
79
  export { DSInputProtectedWithSchema, DSInputProtected };
31
80
  export default DSInputProtected;
@@ -1,14 +1,49 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
1
2
  export declare const inputProtectedProps: {
2
- leftAddon: any;
3
- rightAddon: any;
4
- onChange: any;
5
- value: any;
6
- readOnly: any;
7
- mask: any;
8
- type: any;
3
+ leftAddon: {
4
+ defaultValue<T = unknown>(arg: T): {
5
+ deprecated: import("react-desc").PropTypesDescValidator;
6
+ };
7
+ isRequired: import("react-desc").PropTypesDescValidator;
8
+ };
9
+ rightAddon: {
10
+ deprecated: import("react-desc").PropTypesDescValidator;
11
+ };
12
+ onChange: {
13
+ defaultValue<T = unknown>(arg: T): {
14
+ deprecated: import("react-desc").PropTypesDescValidator;
15
+ };
16
+ isRequired: import("react-desc").PropTypesDescValidator;
17
+ };
18
+ value: {
19
+ defaultValue<T = unknown>(arg: T): {
20
+ deprecated: import("react-desc").PropTypesDescValidator;
21
+ };
22
+ isRequired: import("react-desc").PropTypesDescValidator;
23
+ };
24
+ readOnly: {
25
+ deprecated: import("react-desc").PropTypesDescValidator;
26
+ };
27
+ mask: {
28
+ defaultValue<T = unknown>(arg: T): {
29
+ deprecated: import("react-desc").PropTypesDescValidator;
30
+ };
31
+ isRequired: import("react-desc").PropTypesDescValidator;
32
+ };
33
+ type: {
34
+ defaultValue<T = unknown>(arg: T): {
35
+ deprecated: import("react-desc").PropTypesDescValidator;
36
+ };
37
+ isRequired: import("react-desc").PropTypesDescValidator;
38
+ };
9
39
  /**
10
40
  * PlaceholderChar: The placeholder character represents the fillable spot in the mask.
11
41
  * The default placeholder character is underscore, _.
12
42
  */
13
- placeholderChar: any;
43
+ placeholderChar: {
44
+ defaultValue<T = unknown>(arg: T): {
45
+ deprecated: import("react-desc").PropTypesDescValidator;
46
+ };
47
+ isRequired: import("react-desc").PropTypesDescValidator;
48
+ };
14
49
  };