@elliemae/ds-form 2.0.0-rc.7 → 2.0.1-rc.0

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 (108) hide show
  1. package/cjs/ComboBox/v1/DSComboBox.js +18 -22
  2. package/cjs/ComboBox/v1/withSelectStringValueConverter.js +3 -4
  3. package/cjs/ComboBox/v3/ComboBoxCTX.js +16 -17
  4. package/cjs/ComboBox/v3/config/useComboBox.js +6 -6
  5. package/cjs/ComboBox/v3/parts/container/Container.js +1 -1
  6. package/cjs/ComboBox/v3/parts/controls-input/ControlsInput.js +5 -3
  7. package/cjs/ComboBox/v3/parts/controls-input/useControlsInput.js +8 -8
  8. package/cjs/ComboBox/v3/parts/header-list/HeaderList.js +5 -3
  9. package/cjs/ComboBox/v3/parts/menu-list/MenuList.js +7 -8
  10. package/cjs/ComboBox/v3/parts/menu-list/styled.js +8 -4
  11. package/cjs/ComboBox/v3/parts/menu-list/useItemRenderer.js +10 -9
  12. package/cjs/ComboBox/v3/utils/hooks/useKeyboardNavigation.js +5 -5
  13. package/cjs/ComboBox/v3/utils/hooks/useOnElementResize.js +4 -4
  14. package/cjs/FloatingLabelInput/FloatingLabelInputImpl.js +4 -7
  15. package/cjs/FormItem/ValidationFieldWrapper.js +2 -3
  16. package/cjs/Input/InputAddonWrapper.js +2 -3
  17. package/cjs/Input/InputImpl.js +16 -18
  18. package/cjs/InputGroup/AddonWrapper.js +4 -6
  19. package/cjs/InputMask/DSInputMaskDeprecated.js +10 -12
  20. package/cjs/SearchBox/NavSearchBox.js +5 -1
  21. package/cjs/SearchBox/withSearchable.js +3 -5
  22. package/cjs/Toggle/DSToggleImpl.js +28 -28
  23. package/esm/ComboBox/v1/DSComboBox.js +17 -21
  24. package/esm/ComboBox/v1/withSelectStringValueConverter.js +3 -4
  25. package/esm/ComboBox/v3/ComboBoxCTX.js +5 -6
  26. package/esm/ComboBox/v3/config/useComboBox.js +6 -6
  27. package/esm/ComboBox/v3/parts/container/Container.js +1 -1
  28. package/esm/ComboBox/v3/parts/controls-input/ControlsInput.js +5 -3
  29. package/esm/ComboBox/v3/parts/controls-input/useControlsInput.js +8 -8
  30. package/esm/ComboBox/v3/parts/header-list/HeaderList.js +5 -3
  31. package/esm/ComboBox/v3/parts/menu-list/MenuList.js +8 -9
  32. package/esm/ComboBox/v3/parts/menu-list/styled.js +8 -4
  33. package/esm/ComboBox/v3/parts/menu-list/useItemRenderer.js +10 -9
  34. package/esm/ComboBox/v3/utils/hooks/useKeyboardNavigation.js +5 -5
  35. package/esm/ComboBox/v3/utils/hooks/useOnElementResize.js +4 -4
  36. package/esm/FloatingLabelInput/FloatingLabelInputImpl.js +4 -7
  37. package/esm/FormItem/ValidationFieldWrapper.js +2 -3
  38. package/esm/Input/InputAddonWrapper.js +2 -3
  39. package/esm/Input/InputImpl.js +15 -17
  40. package/esm/InputGroup/AddonWrapper.js +5 -7
  41. package/esm/InputMask/DSInputMaskDeprecated.js +10 -12
  42. package/esm/SearchBox/NavSearchBox.js +5 -1
  43. package/esm/SearchBox/withSearchable.js +2 -4
  44. package/esm/Toggle/DSToggleImpl.js +28 -28
  45. package/package.json +31 -23
  46. package/types/Checkbox/DSCheckbox.d.ts +78 -13
  47. package/types/Checkbox/props.d.ts +58 -12
  48. package/types/CheckboxGroup/DSCheckboxGroup.d.ts +51 -7
  49. package/types/CheckboxGroup/props.d.ts +37 -6
  50. package/types/ComboBox/v2/Combobox.d.ts +56 -1
  51. package/types/ComboBox/v3/ComboBox.d.ts +54 -16
  52. package/types/ComboBox/v3/parts/controls-input/useControlsInput.d.ts +3 -3
  53. package/types/ComboBox/v3/parts/dropdown-indicator/styled.d.ts +1 -60
  54. package/types/ComboBox/v3/parts/header-list/styled.d.ts +4 -208
  55. package/types/ComboBox/v3/parts/menu-list/styled.d.ts +4 -3
  56. package/types/ComboBox/v3/parts/menu-list/useItemRenderer.d.ts +1 -1
  57. package/types/ComboBox/v3/propTypes.d.ts +49 -15
  58. package/types/ComboBox/v3/utils/hooks/useKeyboardNavigation.d.ts +4 -1
  59. package/types/ComboBox/v3/utils/listHelper.d.ts +1 -1
  60. package/types/DateInput/DSDateInput.d.ts +97 -16
  61. package/types/DateInput/props.d.ts +97 -16
  62. package/types/DateInputV2/components/DSDateInput.d.ts +72 -5
  63. package/types/DateInputV2/components/props.d.ts +61 -10
  64. package/types/FloatingLabelInput/DSFloatingLabelInput.d.ts +118 -20
  65. package/types/FormItem/DSFormItemLayout.d.ts +390 -60
  66. package/types/FormItem/Error/DSError.d.ts +21 -3
  67. package/types/FormItem/defaultProps.d.ts +118 -20
  68. package/types/FormItem/props.d.ts +229 -39
  69. package/types/InputGroup/DSInputGroup.d.ts +56 -8
  70. package/types/InputGroup/props.d.ts +43 -7
  71. package/types/InputMask/DSInputMask.d.ts +172 -30
  72. package/types/InputMask/mask_types/DateInputMask.d.ts +34 -33
  73. package/types/InputMask/mask_types/DateTimeInputMask.d.ts +34 -33
  74. package/types/InputMask/mask_types/DictionaryInputMask.d.ts +37 -36
  75. package/types/InputMask/mask_types/NumberInputMask.d.ts +46 -45
  76. package/types/InputMask/mask_types/PhoneInputMask.d.ts +34 -33
  77. package/types/InputMask/mask_types/PhoneInternationalInputMask.d.ts +34 -33
  78. package/types/InputMask/mask_types/SsnInputMask.d.ts +34 -33
  79. package/types/InputMask/mask_types/UsZipCodeInputMask.d.ts +34 -33
  80. package/types/InputMask/mask_types/ZipCodeSearchInputMask.d.ts +34 -33
  81. package/types/InputMask/props.d.ts +172 -30
  82. package/types/InputProtected/DSInputProtected.d.ts +56 -7
  83. package/types/InputProtected/props.d.ts +43 -8
  84. package/types/LargeInputText/DSLargeInputText.d.ts +163 -27
  85. package/types/LargeInputText/props.d.ts +163 -27
  86. package/types/MenuItem/components/MenuItem/index.d.ts +12 -3
  87. package/types/MenuItem/components/MultiMenuItem/MultiMenuItem.d.ts +12 -3
  88. package/types/MenuItem/components/Section/index.d.ts +4 -1
  89. package/types/MenuItem/components/Section/props.d.ts +4 -1
  90. package/types/MenuItem/components/SingleMenuItem/SingleMenuItem.d.ts +7 -2
  91. package/types/MenuItem/components/SubmenuItem/index.d.ts +12 -3
  92. package/types/MenuItem/props.d.ts +7 -2
  93. package/types/Radio/DSRadio.d.ts +79 -13
  94. package/types/RadioGroup/DSRadioGroup.d.ts +51 -7
  95. package/types/RadioGroup/props.d.ts +37 -6
  96. package/types/SearchBox/DSSearchBox.d.ts +146 -21
  97. package/types/SearchBox/NavSearchBox.d.ts +18 -3
  98. package/types/SearchBox/SButton.d.ts +13 -2
  99. package/types/SearchBox/index.d.ts +1 -1
  100. package/types/SearchBox/props.d.ts +133 -22
  101. package/types/SearchBox/styled.d.ts +1 -49
  102. package/types/TextBox/DSTextBox.d.ts +146 -21
  103. package/types/TimeInput/DSTimeInput.d.ts +83 -12
  104. package/types/TimeInput/utils.d.ts +1 -1
  105. package/types/Toggle/DSToggle.d.ts +84 -12
  106. package/cjs/ComboBox/v3/utils/hooks/useOnWindowResize.js +0 -31
  107. package/esm/ComboBox/v3/utils/hooks/useOnWindowResize.js +0 -27
  108. package/types/ComboBox/v3/utils/hooks/useOnWindowResize.d.ts +0 -5
@@ -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
  };