@elliemae/ds-form 2.0.0-rc.6 → 2.0.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 DSLargeInputText: {
3
4
  ({ containerProps, autoFocus, className, disabled, name, id, maxLength, minLength, placeholder, onClick, onChange, onFocus, onBlur, onKeyUp, onKeyDown, onPaste, value, hasError, required, readOnly, resize, innerRef, ariaLabel, ariaAutocomplete, role, characterLimitCounter, rows, errorLimit, tabIndex, }: {
@@ -32,33 +33,168 @@ declare const DSLargeInputText: {
32
33
  tabIndex: any;
33
34
  }): JSX.Element;
34
35
  propTypes: {
35
- containerProps: any;
36
- autoFocus: any;
37
- className: any;
38
- disabled: any;
39
- name: any;
40
- id: any;
41
- maxLength: any;
42
- minLength: any;
43
- placeholder: any;
44
- onClick: any;
45
- onChange: any;
46
- onFocus: any;
47
- onBlur: any;
48
- onKeyUp: any;
49
- onKeyDown: any;
50
- onPaste: any;
51
- value: any;
52
- hasError: any;
53
- required: any;
54
- readOnly: any;
55
- resize: any;
56
- innerRef: any;
57
- ariaLabel: any;
58
- ariaAutocomplete: any;
59
- role: any;
60
- characterLimitCounter: any;
61
- tabIndex: any;
36
+ containerProps: {
37
+ defaultValue<T = unknown>(arg: T): {
38
+ deprecated: import("react-desc").PropTypesDescValidator;
39
+ };
40
+ isRequired: import("react-desc").PropTypesDescValidator;
41
+ };
42
+ autoFocus: {
43
+ defaultValue<T = unknown>(arg: T): {
44
+ deprecated: import("react-desc").PropTypesDescValidator;
45
+ };
46
+ isRequired: import("react-desc").PropTypesDescValidator;
47
+ };
48
+ className: {
49
+ defaultValue<T = unknown>(arg: T): {
50
+ deprecated: import("react-desc").PropTypesDescValidator;
51
+ };
52
+ isRequired: import("react-desc").PropTypesDescValidator;
53
+ };
54
+ disabled: {
55
+ defaultValue<T = unknown>(arg: T): {
56
+ deprecated: import("react-desc").PropTypesDescValidator;
57
+ };
58
+ isRequired: import("react-desc").PropTypesDescValidator;
59
+ };
60
+ name: {
61
+ defaultValue<T = unknown>(arg: T): {
62
+ deprecated: import("react-desc").PropTypesDescValidator;
63
+ };
64
+ isRequired: import("react-desc").PropTypesDescValidator;
65
+ };
66
+ id: {
67
+ defaultValue<T = unknown>(arg: T): {
68
+ deprecated: import("react-desc").PropTypesDescValidator;
69
+ };
70
+ isRequired: import("react-desc").PropTypesDescValidator;
71
+ };
72
+ maxLength: {
73
+ defaultValue<T = unknown>(arg: T): {
74
+ deprecated: import("react-desc").PropTypesDescValidator;
75
+ };
76
+ isRequired: import("react-desc").PropTypesDescValidator;
77
+ };
78
+ minLength: {
79
+ defaultValue<T = unknown>(arg: T): {
80
+ deprecated: import("react-desc").PropTypesDescValidator;
81
+ };
82
+ isRequired: import("react-desc").PropTypesDescValidator;
83
+ };
84
+ placeholder: {
85
+ defaultValue<T = unknown>(arg: T): {
86
+ deprecated: import("react-desc").PropTypesDescValidator;
87
+ };
88
+ isRequired: import("react-desc").PropTypesDescValidator;
89
+ };
90
+ onClick: {
91
+ defaultValue<T = unknown>(arg: T): {
92
+ deprecated: import("react-desc").PropTypesDescValidator;
93
+ };
94
+ isRequired: import("react-desc").PropTypesDescValidator;
95
+ };
96
+ onChange: {
97
+ defaultValue<T = unknown>(arg: T): {
98
+ deprecated: import("react-desc").PropTypesDescValidator;
99
+ };
100
+ isRequired: import("react-desc").PropTypesDescValidator;
101
+ };
102
+ onFocus: {
103
+ defaultValue<T = unknown>(arg: T): {
104
+ deprecated: import("react-desc").PropTypesDescValidator;
105
+ };
106
+ isRequired: import("react-desc").PropTypesDescValidator;
107
+ };
108
+ onBlur: {
109
+ defaultValue<T = unknown>(arg: T): {
110
+ deprecated: import("react-desc").PropTypesDescValidator;
111
+ };
112
+ isRequired: import("react-desc").PropTypesDescValidator;
113
+ };
114
+ onKeyUp: {
115
+ defaultValue<T = unknown>(arg: T): {
116
+ deprecated: import("react-desc").PropTypesDescValidator;
117
+ };
118
+ isRequired: import("react-desc").PropTypesDescValidator;
119
+ };
120
+ onKeyDown: {
121
+ defaultValue<T = unknown>(arg: T): {
122
+ deprecated: import("react-desc").PropTypesDescValidator;
123
+ };
124
+ isRequired: import("react-desc").PropTypesDescValidator;
125
+ };
126
+ onPaste: {
127
+ defaultValue<T = unknown>(arg: T): {
128
+ deprecated: import("react-desc").PropTypesDescValidator;
129
+ };
130
+ isRequired: import("react-desc").PropTypesDescValidator;
131
+ };
132
+ value: {
133
+ defaultValue<T = unknown>(arg: T): {
134
+ deprecated: import("react-desc").PropTypesDescValidator;
135
+ };
136
+ isRequired: import("react-desc").PropTypesDescValidator;
137
+ };
138
+ hasError: {
139
+ defaultValue<T = unknown>(arg: T): {
140
+ deprecated: import("react-desc").PropTypesDescValidator;
141
+ };
142
+ isRequired: import("react-desc").PropTypesDescValidator;
143
+ };
144
+ required: {
145
+ defaultValue<T = unknown>(arg: T): {
146
+ deprecated: import("react-desc").PropTypesDescValidator;
147
+ };
148
+ isRequired: import("react-desc").PropTypesDescValidator;
149
+ };
150
+ readOnly: {
151
+ defaultValue<T = unknown>(arg: T): {
152
+ deprecated: import("react-desc").PropTypesDescValidator;
153
+ };
154
+ isRequired: import("react-desc").PropTypesDescValidator;
155
+ };
156
+ resize: {
157
+ defaultValue<T = unknown>(arg: T): {
158
+ deprecated: import("react-desc").PropTypesDescValidator;
159
+ };
160
+ isRequired: import("react-desc").PropTypesDescValidator;
161
+ };
162
+ innerRef: {
163
+ defaultValue<T = unknown>(arg: T): {
164
+ deprecated: import("react-desc").PropTypesDescValidator;
165
+ };
166
+ isRequired: import("react-desc").PropTypesDescValidator;
167
+ };
168
+ ariaLabel: {
169
+ defaultValue<T = unknown>(arg: T): {
170
+ deprecated: import("react-desc").PropTypesDescValidator;
171
+ };
172
+ isRequired: import("react-desc").PropTypesDescValidator;
173
+ };
174
+ ariaAutocomplete: {
175
+ defaultValue<T = unknown>(arg: T): {
176
+ deprecated: import("react-desc").PropTypesDescValidator;
177
+ };
178
+ isRequired: import("react-desc").PropTypesDescValidator;
179
+ };
180
+ role: {
181
+ defaultValue<T = unknown>(arg: T): {
182
+ deprecated: import("react-desc").PropTypesDescValidator;
183
+ };
184
+ isRequired: import("react-desc").PropTypesDescValidator;
185
+ };
186
+ characterLimitCounter: {
187
+ defaultValue<T = unknown>(arg: T): {
188
+ deprecated: import("react-desc").PropTypesDescValidator;
189
+ };
190
+ isRequired: import("react-desc").PropTypesDescValidator;
191
+ };
192
+ tabIndex: {
193
+ defaultValue<T = unknown>(arg: T): {
194
+ deprecated: import("react-desc").PropTypesDescValidator;
195
+ };
196
+ isRequired: import("react-desc").PropTypesDescValidator;
197
+ };
62
198
  };
63
199
  defaultProps: {
64
200
  containerProps: {};
@@ -1,95 +1,231 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
1
2
  export declare const props: {
2
3
  /** Injected props to wrapper element of component */
3
- containerProps: any;
4
+ containerProps: {
5
+ defaultValue<T = unknown>(arg: T): {
6
+ deprecated: import("react-desc").PropTypesDescValidator;
7
+ };
8
+ isRequired: import("react-desc").PropTypesDescValidator;
9
+ };
4
10
  /**
5
11
  * Whether uses auto focus or not
6
12
  */
7
- autoFocus: any;
13
+ autoFocus: {
14
+ defaultValue<T = unknown>(arg: T): {
15
+ deprecated: import("react-desc").PropTypesDescValidator;
16
+ };
17
+ isRequired: import("react-desc").PropTypesDescValidator;
18
+ };
8
19
  /** CSS class */
9
- className: any;
20
+ className: {
21
+ defaultValue<T = unknown>(arg: T): {
22
+ deprecated: import("react-desc").PropTypesDescValidator;
23
+ };
24
+ isRequired: import("react-desc").PropTypesDescValidator;
25
+ };
10
26
  /**
11
27
  * Whether is disabled or not
12
28
  */
13
- disabled: any;
29
+ disabled: {
30
+ defaultValue<T = unknown>(arg: T): {
31
+ deprecated: import("react-desc").PropTypesDescValidator;
32
+ };
33
+ isRequired: import("react-desc").PropTypesDescValidator;
34
+ };
14
35
  /** HTML form name property */
15
- name: any;
36
+ name: {
37
+ defaultValue<T = unknown>(arg: T): {
38
+ deprecated: import("react-desc").PropTypesDescValidator;
39
+ };
40
+ isRequired: import("react-desc").PropTypesDescValidator;
41
+ };
16
42
  /** HTML id */
17
- id: any;
43
+ id: {
44
+ defaultValue<T = unknown>(arg: T): {
45
+ deprecated: import("react-desc").PropTypesDescValidator;
46
+ };
47
+ isRequired: import("react-desc").PropTypesDescValidator;
48
+ };
18
49
  /**
19
50
  * Max length for text to be entered
20
51
  */
21
- maxLength: any;
52
+ maxLength: {
53
+ defaultValue<T = unknown>(arg: T): {
54
+ deprecated: import("react-desc").PropTypesDescValidator;
55
+ };
56
+ isRequired: import("react-desc").PropTypesDescValidator;
57
+ };
22
58
  /**
23
59
  * Min length for text to be entered
24
60
  */
25
- minLength: any;
61
+ minLength: {
62
+ defaultValue<T = unknown>(arg: T): {
63
+ deprecated: import("react-desc").PropTypesDescValidator;
64
+ };
65
+ isRequired: import("react-desc").PropTypesDescValidator;
66
+ };
26
67
  /**
27
68
  * Placeholder for the text
28
69
  */
29
- placeholder: any;
70
+ placeholder: {
71
+ defaultValue<T = unknown>(arg: T): {
72
+ deprecated: import("react-desc").PropTypesDescValidator;
73
+ };
74
+ isRequired: import("react-desc").PropTypesDescValidator;
75
+ };
30
76
  /**
31
77
  * Allows a function that is triggered once the input text is clicked
32
78
  */
33
- onClick: any;
79
+ onClick: {
80
+ defaultValue<T = unknown>(arg: T): {
81
+ deprecated: import("react-desc").PropTypesDescValidator;
82
+ };
83
+ isRequired: import("react-desc").PropTypesDescValidator;
84
+ };
34
85
  /**
35
86
  * Allows a function that is triggered once the input text changes
36
87
  */
37
- onChange: any;
88
+ onChange: {
89
+ defaultValue<T = unknown>(arg: T): {
90
+ deprecated: import("react-desc").PropTypesDescValidator;
91
+ };
92
+ isRequired: import("react-desc").PropTypesDescValidator;
93
+ };
38
94
  /**
39
95
  * Allows a function that is triggered once the input text is focused
40
96
  */
41
- onFocus: any;
97
+ onFocus: {
98
+ defaultValue<T = unknown>(arg: T): {
99
+ deprecated: import("react-desc").PropTypesDescValidator;
100
+ };
101
+ isRequired: import("react-desc").PropTypesDescValidator;
102
+ };
42
103
  /**
43
104
  * Allows a function that is triggered once the input text loses focus
44
105
  */
45
- onBlur: any;
106
+ onBlur: {
107
+ defaultValue<T = unknown>(arg: T): {
108
+ deprecated: import("react-desc").PropTypesDescValidator;
109
+ };
110
+ isRequired: import("react-desc").PropTypesDescValidator;
111
+ };
46
112
  /**
47
113
  * Allows a function that is triggered once in the input a keyboard key is released
48
114
  */
49
- onKeyUp: any;
115
+ onKeyUp: {
116
+ defaultValue<T = unknown>(arg: T): {
117
+ deprecated: import("react-desc").PropTypesDescValidator;
118
+ };
119
+ isRequired: import("react-desc").PropTypesDescValidator;
120
+ };
50
121
  /**
51
122
  * Allows a function that is triggered once a key is being pressed
52
123
  */
53
- onKeyDown: any;
124
+ onKeyDown: {
125
+ defaultValue<T = unknown>(arg: T): {
126
+ deprecated: import("react-desc").PropTypesDescValidator;
127
+ };
128
+ isRequired: import("react-desc").PropTypesDescValidator;
129
+ };
54
130
  /**
55
131
  * Allows a function that is triggered once the input text is pasted
56
132
  */
57
- onPaste: any;
133
+ onPaste: {
134
+ defaultValue<T = unknown>(arg: T): {
135
+ deprecated: import("react-desc").PropTypesDescValidator;
136
+ };
137
+ isRequired: import("react-desc").PropTypesDescValidator;
138
+ };
58
139
  /**
59
140
  * Default value once the component is initialized
60
141
  */
61
- value: any;
142
+ value: {
143
+ defaultValue<T = unknown>(arg: T): {
144
+ deprecated: import("react-desc").PropTypesDescValidator;
145
+ };
146
+ isRequired: import("react-desc").PropTypesDescValidator;
147
+ };
62
148
  /**
63
149
  * Whether the input text has error or not
64
150
  */
65
- hasError: any;
151
+ hasError: {
152
+ defaultValue<T = unknown>(arg: T): {
153
+ deprecated: import("react-desc").PropTypesDescValidator;
154
+ };
155
+ isRequired: import("react-desc").PropTypesDescValidator;
156
+ };
66
157
  /**
67
158
  * Whether the input text is required or not
68
159
  */
69
- required: any;
160
+ required: {
161
+ defaultValue<T = unknown>(arg: T): {
162
+ deprecated: import("react-desc").PropTypesDescValidator;
163
+ };
164
+ isRequired: import("react-desc").PropTypesDescValidator;
165
+ };
70
166
  /**
71
167
  * Whether the input text is read only or not
72
168
  */
73
- readOnly: any;
169
+ readOnly: {
170
+ defaultValue<T = unknown>(arg: T): {
171
+ deprecated: import("react-desc").PropTypesDescValidator;
172
+ };
173
+ isRequired: import("react-desc").PropTypesDescValidator;
174
+ };
74
175
  /**
75
176
  * Whether the input text style is vertical or not
76
177
  */
77
- resize: any;
178
+ resize: {
179
+ defaultValue<T = unknown>(arg: T): {
180
+ deprecated: import("react-desc").PropTypesDescValidator;
181
+ };
182
+ isRequired: import("react-desc").PropTypesDescValidator;
183
+ };
78
184
  /** ref forwarded to component */
79
- innerRef: any;
185
+ innerRef: {
186
+ defaultValue<T = unknown>(arg: T): {
187
+ deprecated: import("react-desc").PropTypesDescValidator;
188
+ };
189
+ isRequired: import("react-desc").PropTypesDescValidator;
190
+ };
80
191
  /** a11y aria label */
81
- ariaLabel: any;
82
- ariaAutocomplete: any;
192
+ ariaLabel: {
193
+ defaultValue<T = unknown>(arg: T): {
194
+ deprecated: import("react-desc").PropTypesDescValidator;
195
+ };
196
+ isRequired: import("react-desc").PropTypesDescValidator;
197
+ };
198
+ ariaAutocomplete: {
199
+ defaultValue<T = unknown>(arg: T): {
200
+ deprecated: import("react-desc").PropTypesDescValidator;
201
+ };
202
+ isRequired: import("react-desc").PropTypesDescValidator;
203
+ };
83
204
  /**
84
205
  * Type of input. Ex: textbox
85
206
  */
86
- role: any;
207
+ role: {
208
+ defaultValue<T = unknown>(arg: T): {
209
+ deprecated: import("react-desc").PropTypesDescValidator;
210
+ };
211
+ isRequired: import("react-desc").PropTypesDescValidator;
212
+ };
87
213
  /**
88
214
  * it will show a counter/limit if the value is greater than 0
89
215
  */
90
- characterLimitCounter: any;
216
+ characterLimitCounter: {
217
+ defaultValue<T = unknown>(arg: T): {
218
+ deprecated: import("react-desc").PropTypesDescValidator;
219
+ };
220
+ isRequired: import("react-desc").PropTypesDescValidator;
221
+ };
91
222
  /**
92
223
  * Tab index html property.
93
224
  */
94
- tabIndex: any;
225
+ tabIndex: {
226
+ defaultValue<T = unknown>(arg: T): {
227
+ deprecated: import("react-desc").PropTypesDescValidator;
228
+ };
229
+ isRequired: import("react-desc").PropTypesDescValidator;
230
+ };
95
231
  };
@@ -1,11 +1,20 @@
1
+ /// <reference path="../../../../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  import { MenuItemT } from '../../props';
3
4
  declare const MenuItem: {
4
5
  (props: MenuItemT): JSX.Element;
5
6
  propTypes: {
6
- value: any;
7
- label: any;
7
+ value: {
8
+ deprecated: import("react-desc").PropTypesDescValidator;
9
+ };
10
+ label: {
11
+ deprecated: import("react-desc").PropTypesDescValidator;
12
+ };
8
13
  };
9
14
  };
10
- declare const MenuItemWithSchema: any;
15
+ declare const MenuItemWithSchema: {
16
+ (props?: MenuItemT | undefined): JSX.Element;
17
+ propTypes: unknown;
18
+ toTypescript: () => import("react-desc").TypescriptSchema;
19
+ };
11
20
  export { MenuItem, MenuItemWithSchema };
@@ -1,12 +1,21 @@
1
+ /// <reference path="../../../../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  import { MenuItemT } from '../../props';
3
4
  declare const MultiMenuItem: {
4
5
  (props: MenuItemT): JSX.Element;
5
6
  propTypes: {
6
- value: any;
7
- label: any;
7
+ value: {
8
+ deprecated: import("react-desc").PropTypesDescValidator;
9
+ };
10
+ label: {
11
+ deprecated: import("react-desc").PropTypesDescValidator;
12
+ };
8
13
  };
9
14
  defaultProps: MenuItemT;
10
15
  };
11
- declare const MultiMenuItemWithSchema: any;
16
+ declare const MultiMenuItemWithSchema: {
17
+ (props?: MenuItemT | undefined): JSX.Element;
18
+ propTypes: unknown;
19
+ toTypescript: () => import("react-desc").TypescriptSchema;
20
+ };
12
21
  export { MultiMenuItem, MultiMenuItemWithSchema };
@@ -1,9 +1,12 @@
1
+ /// <reference path="../../../../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  import { MenuSectionItemT } from './props';
3
4
  declare const Section: {
4
5
  (props: MenuSectionItemT): JSX.Element;
5
6
  propTypes: {
6
- label: any;
7
+ label: {
8
+ deprecated: import("react-desc").PropTypesDescValidator;
9
+ };
7
10
  };
8
11
  };
9
12
  export { Section };
@@ -1,3 +1,4 @@
1
+ /// <reference path="../../../../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  export interface MenuSectionItemT {
3
4
  label: string;
@@ -7,5 +8,7 @@ export interface MenuSectionItemT {
7
8
  }
8
9
  export declare const defaultProps: MenuSectionItemT;
9
10
  export declare const itemProps: {
10
- label: any;
11
+ label: {
12
+ deprecated: import("react-desc").PropTypesDescValidator;
13
+ };
11
14
  };
@@ -1,10 +1,15 @@
1
+ /// <reference path="../../../../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  import { MenuItemT } from '../../props';
3
4
  declare const SingleMenuItem: {
4
5
  (props: MenuItemT): JSX.Element;
5
6
  propTypes: {
6
- value: any;
7
- label: any;
7
+ value: {
8
+ deprecated: import("react-desc").PropTypesDescValidator;
9
+ };
10
+ label: {
11
+ deprecated: import("react-desc").PropTypesDescValidator;
12
+ };
8
13
  };
9
14
  defaultProps: MenuItemT;
10
15
  };
@@ -1,11 +1,20 @@
1
+ /// <reference path="../../../../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  import { MenuItemT } from '../../props';
3
4
  declare const SubmenuItem: {
4
5
  (props: MenuItemT): JSX.Element;
5
6
  propTypes: {
6
- value: any;
7
- label: any;
7
+ value: {
8
+ deprecated: import("react-desc").PropTypesDescValidator;
9
+ };
10
+ label: {
11
+ deprecated: import("react-desc").PropTypesDescValidator;
12
+ };
8
13
  };
9
14
  };
10
- declare const SubmenuItemWithSchema: any;
15
+ declare const SubmenuItemWithSchema: {
16
+ (props?: MenuItemT | undefined): JSX.Element;
17
+ propTypes: unknown;
18
+ toTypescript: () => import("react-desc").TypescriptSchema;
19
+ };
11
20
  export { SubmenuItem, SubmenuItemWithSchema };
@@ -1,3 +1,4 @@
1
+ /// <reference path="../../../../../shared/typings/react-desc.d.ts" />
1
2
  /// <reference types="react" />
2
3
  import { LayoutProps } from 'styled-system';
3
4
  export interface MenuItemT {
@@ -27,6 +28,10 @@ export interface MenuItemT {
27
28
  }
28
29
  export declare const defaultProps: MenuItemT;
29
30
  export declare const itemProps: {
30
- value: any;
31
- label: any;
31
+ value: {
32
+ deprecated: import("react-desc").PropTypesDescValidator;
33
+ };
34
+ label: {
35
+ deprecated: import("react-desc").PropTypesDescValidator;
36
+ };
32
37
  };