@evergis/uilib-gl 1.0.2 → 1.0.5

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.
@@ -242,6 +242,10 @@ export declare const iconTypes: {
242
242
  cell_size: string;
243
243
  symbol_library: string;
244
244
  globe: string;
245
+ bell: string;
246
+ dark: string;
247
+ light: string;
248
+ mode: string;
245
249
  };
246
250
  export declare const Icon: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, IIconProps, never>;
247
251
  export declare const injectIcon: (icon: IconTypesKeys) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
@@ -1,394 +1,19 @@
1
1
  import React from "react";
2
- export declare const Input: {
3
- new (props: (React.InputHTMLAttributes<HTMLInputElement> & {
4
- label?: React.ReactNode;
5
- asChip?: boolean | undefined;
6
- help?: React.ReactNode;
7
- width?: string | undefined;
8
- height?: string | undefined;
9
- iconBefore?: React.ReactNode;
10
- valuePrefix?: React.ReactNode;
11
- error?: boolean | undefined;
12
- innerRef?: RefType<HTMLInputElement>;
13
- success?: boolean | undefined;
14
- disableInputOnly?: boolean | undefined;
15
- onRemove?: (() => void) | undefined;
16
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
17
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
18
- active?: boolean | undefined;
19
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>) | Readonly<React.InputHTMLAttributes<HTMLInputElement> & {
20
- label?: React.ReactNode;
21
- asChip?: boolean | undefined;
22
- help?: React.ReactNode;
23
- width?: string | undefined;
24
- height?: string | undefined;
25
- iconBefore?: React.ReactNode;
26
- valuePrefix?: React.ReactNode;
27
- error?: boolean | undefined;
28
- innerRef?: RefType<HTMLInputElement>;
29
- success?: boolean | undefined;
30
- disableInputOnly?: boolean | undefined;
31
- onRemove?: (() => void) | undefined;
32
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
33
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
34
- active?: boolean | undefined;
35
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>>): {
36
- state: import("../../hoc").IState;
37
- onFocus: (e: React.FocusEvent<HTMLInputElement, Element>) => void;
38
- onBlur: (e: React.FocusEvent<HTMLInputElement, Element>) => void;
39
- render(): JSX.Element;
40
- context: any;
41
- setState<K extends "focused">(state: import("../../hoc").IState | ((prevState: Readonly<import("../../hoc").IState>, props: Readonly<React.InputHTMLAttributes<HTMLInputElement> & {
42
- label?: React.ReactNode;
43
- asChip?: boolean | undefined;
44
- help?: React.ReactNode;
45
- width?: string | undefined;
46
- height?: string | undefined;
47
- iconBefore?: React.ReactNode;
48
- valuePrefix?: React.ReactNode;
49
- error?: boolean | undefined;
50
- innerRef?: RefType<HTMLInputElement>;
51
- success?: boolean | undefined;
52
- disableInputOnly?: boolean | undefined;
53
- onRemove?: (() => void) | undefined;
54
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
55
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
56
- active?: boolean | undefined;
57
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>>) => import("../../hoc").IState | Pick<import("../../hoc").IState, K> | null) | Pick<import("../../hoc").IState, K> | null, callback?: (() => void) | undefined): void;
58
- forceUpdate(callback?: (() => void) | undefined): void;
59
- readonly props: Readonly<React.InputHTMLAttributes<HTMLInputElement> & {
60
- label?: React.ReactNode;
61
- asChip?: boolean | undefined;
62
- help?: React.ReactNode;
63
- width?: string | undefined;
64
- height?: string | undefined;
65
- iconBefore?: React.ReactNode;
66
- valuePrefix?: React.ReactNode;
67
- error?: boolean | undefined;
68
- innerRef?: RefType<HTMLInputElement>;
69
- success?: boolean | undefined;
70
- disableInputOnly?: boolean | undefined;
71
- onRemove?: (() => void) | undefined;
72
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
73
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
74
- active?: boolean | undefined;
75
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>> & Readonly<{
76
- children?: React.ReactNode;
77
- }>;
78
- refs: {
79
- [key: string]: React.ReactInstance;
80
- };
81
- componentDidMount?(): void;
82
- shouldComponentUpdate?(nextProps: Readonly<React.InputHTMLAttributes<HTMLInputElement> & {
83
- label?: React.ReactNode;
84
- asChip?: boolean | undefined;
85
- help?: React.ReactNode;
86
- width?: string | undefined;
87
- height?: string | undefined;
88
- iconBefore?: React.ReactNode;
89
- valuePrefix?: React.ReactNode;
90
- error?: boolean | undefined;
91
- innerRef?: RefType<HTMLInputElement>;
92
- success?: boolean | undefined;
93
- disableInputOnly?: boolean | undefined;
94
- onRemove?: (() => void) | undefined;
95
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
96
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
97
- active?: boolean | undefined;
98
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>>, nextState: Readonly<import("../../hoc").IState>, nextContext: any): boolean;
99
- componentWillUnmount?(): void;
100
- componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
101
- getSnapshotBeforeUpdate?(prevProps: Readonly<React.InputHTMLAttributes<HTMLInputElement> & {
102
- label?: React.ReactNode;
103
- asChip?: boolean | undefined;
104
- help?: React.ReactNode;
105
- width?: string | undefined;
106
- height?: string | undefined;
107
- iconBefore?: React.ReactNode;
108
- valuePrefix?: React.ReactNode;
109
- error?: boolean | undefined;
110
- innerRef?: RefType<HTMLInputElement>;
111
- success?: boolean | undefined;
112
- disableInputOnly?: boolean | undefined;
113
- onRemove?: (() => void) | undefined;
114
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
115
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
116
- active?: boolean | undefined;
117
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>>, prevState: Readonly<import("../../hoc").IState>): any;
118
- componentDidUpdate?(prevProps: Readonly<React.InputHTMLAttributes<HTMLInputElement> & {
119
- label?: React.ReactNode;
120
- asChip?: boolean | undefined;
121
- help?: React.ReactNode;
122
- width?: string | undefined;
123
- height?: string | undefined;
124
- iconBefore?: React.ReactNode;
125
- valuePrefix?: React.ReactNode;
126
- error?: boolean | undefined;
127
- innerRef?: RefType<HTMLInputElement>;
128
- success?: boolean | undefined;
129
- disableInputOnly?: boolean | undefined;
130
- onRemove?: (() => void) | undefined;
131
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
132
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
133
- active?: boolean | undefined;
134
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>>, prevState: Readonly<import("../../hoc").IState>, snapshot?: any): void;
135
- componentWillMount?(): void;
136
- UNSAFE_componentWillMount?(): void;
137
- componentWillReceiveProps?(nextProps: Readonly<React.InputHTMLAttributes<HTMLInputElement> & {
138
- label?: React.ReactNode;
139
- asChip?: boolean | undefined;
140
- help?: React.ReactNode;
141
- width?: string | undefined;
142
- height?: string | undefined;
143
- iconBefore?: React.ReactNode;
144
- valuePrefix?: React.ReactNode;
145
- error?: boolean | undefined;
146
- innerRef?: RefType<HTMLInputElement>;
147
- success?: boolean | undefined;
148
- disableInputOnly?: boolean | undefined;
149
- onRemove?: (() => void) | undefined;
150
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
151
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
152
- active?: boolean | undefined;
153
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>>, nextContext: any): void;
154
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<React.InputHTMLAttributes<HTMLInputElement> & {
155
- label?: React.ReactNode;
156
- asChip?: boolean | undefined;
157
- help?: React.ReactNode;
158
- width?: string | undefined;
159
- height?: string | undefined;
160
- iconBefore?: React.ReactNode;
161
- valuePrefix?: React.ReactNode;
162
- error?: boolean | undefined;
163
- innerRef?: RefType<HTMLInputElement>;
164
- success?: boolean | undefined;
165
- disableInputOnly?: boolean | undefined;
166
- onRemove?: (() => void) | undefined;
167
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
168
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
169
- active?: boolean | undefined;
170
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>>, nextContext: any): void;
171
- componentWillUpdate?(nextProps: Readonly<React.InputHTMLAttributes<HTMLInputElement> & {
172
- label?: React.ReactNode;
173
- asChip?: boolean | undefined;
174
- help?: React.ReactNode;
175
- width?: string | undefined;
176
- height?: string | undefined;
177
- iconBefore?: React.ReactNode;
178
- valuePrefix?: React.ReactNode;
179
- error?: boolean | undefined;
180
- innerRef?: RefType<HTMLInputElement>;
181
- success?: boolean | undefined;
182
- disableInputOnly?: boolean | undefined;
183
- onRemove?: (() => void) | undefined;
184
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
185
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
186
- active?: boolean | undefined;
187
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>>, nextState: Readonly<import("../../hoc").IState>, nextContext: any): void;
188
- UNSAFE_componentWillUpdate?(nextProps: Readonly<React.InputHTMLAttributes<HTMLInputElement> & {
189
- label?: React.ReactNode;
190
- asChip?: boolean | undefined;
191
- help?: React.ReactNode;
192
- width?: string | undefined;
193
- height?: string | undefined;
194
- iconBefore?: React.ReactNode;
195
- valuePrefix?: React.ReactNode;
196
- error?: boolean | undefined;
197
- innerRef?: RefType<HTMLInputElement>;
198
- success?: boolean | undefined;
199
- disableInputOnly?: boolean | undefined;
200
- onRemove?: (() => void) | undefined;
201
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
202
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
203
- active?: boolean | undefined;
204
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>>, nextState: Readonly<import("../../hoc").IState>, nextContext: any): void;
205
- };
206
- new (props: React.InputHTMLAttributes<HTMLInputElement> & {
207
- label?: React.ReactNode;
208
- asChip?: boolean | undefined;
209
- help?: React.ReactNode;
210
- width?: string | undefined;
211
- height?: string | undefined;
212
- iconBefore?: React.ReactNode;
213
- valuePrefix?: React.ReactNode;
214
- error?: boolean | undefined;
215
- innerRef?: RefType<HTMLInputElement>;
216
- success?: boolean | undefined;
217
- disableInputOnly?: boolean | undefined;
218
- onRemove?: (() => void) | undefined;
219
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
220
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
221
- active?: boolean | undefined;
222
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>, context: any): {
223
- state: import("../../hoc").IState;
224
- onFocus: (e: React.FocusEvent<HTMLInputElement, Element>) => void;
225
- onBlur: (e: React.FocusEvent<HTMLInputElement, Element>) => void;
226
- render(): JSX.Element;
227
- context: any;
228
- setState<K extends "focused">(state: import("../../hoc").IState | ((prevState: Readonly<import("../../hoc").IState>, props: Readonly<React.InputHTMLAttributes<HTMLInputElement> & {
229
- label?: React.ReactNode;
230
- asChip?: boolean | undefined;
231
- help?: React.ReactNode;
232
- width?: string | undefined;
233
- height?: string | undefined;
234
- iconBefore?: React.ReactNode;
235
- valuePrefix?: React.ReactNode;
236
- error?: boolean | undefined;
237
- innerRef?: RefType<HTMLInputElement>;
238
- success?: boolean | undefined;
239
- disableInputOnly?: boolean | undefined;
240
- onRemove?: (() => void) | undefined;
241
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
242
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
243
- active?: boolean | undefined;
244
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>>) => import("../../hoc").IState | Pick<import("../../hoc").IState, K> | null) | Pick<import("../../hoc").IState, K> | null, callback?: (() => void) | undefined): void;
245
- forceUpdate(callback?: (() => void) | undefined): void;
246
- readonly props: Readonly<React.InputHTMLAttributes<HTMLInputElement> & {
247
- label?: React.ReactNode;
248
- asChip?: boolean | undefined;
249
- help?: React.ReactNode;
250
- width?: string | undefined;
251
- height?: string | undefined;
252
- iconBefore?: React.ReactNode;
253
- valuePrefix?: React.ReactNode;
254
- error?: boolean | undefined;
255
- innerRef?: RefType<HTMLInputElement>;
256
- success?: boolean | undefined;
257
- disableInputOnly?: boolean | undefined;
258
- onRemove?: (() => void) | undefined;
259
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
260
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
261
- active?: boolean | undefined;
262
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>> & Readonly<{
263
- children?: React.ReactNode;
264
- }>;
265
- refs: {
266
- [key: string]: React.ReactInstance;
267
- };
268
- componentDidMount?(): void;
269
- shouldComponentUpdate?(nextProps: Readonly<React.InputHTMLAttributes<HTMLInputElement> & {
270
- label?: React.ReactNode;
271
- asChip?: boolean | undefined;
272
- help?: React.ReactNode;
273
- width?: string | undefined;
274
- height?: string | undefined;
275
- iconBefore?: React.ReactNode;
276
- valuePrefix?: React.ReactNode;
277
- error?: boolean | undefined;
278
- innerRef?: RefType<HTMLInputElement>;
279
- success?: boolean | undefined;
280
- disableInputOnly?: boolean | undefined;
281
- onRemove?: (() => void) | undefined;
282
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
283
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
284
- active?: boolean | undefined;
285
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>>, nextState: Readonly<import("../../hoc").IState>, nextContext: any): boolean;
286
- componentWillUnmount?(): void;
287
- componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
288
- getSnapshotBeforeUpdate?(prevProps: Readonly<React.InputHTMLAttributes<HTMLInputElement> & {
289
- label?: React.ReactNode;
290
- asChip?: boolean | undefined;
291
- help?: React.ReactNode;
292
- width?: string | undefined;
293
- height?: string | undefined;
294
- iconBefore?: React.ReactNode;
295
- valuePrefix?: React.ReactNode;
296
- error?: boolean | undefined;
297
- innerRef?: RefType<HTMLInputElement>;
298
- success?: boolean | undefined;
299
- disableInputOnly?: boolean | undefined;
300
- onRemove?: (() => void) | undefined;
301
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
302
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
303
- active?: boolean | undefined;
304
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>>, prevState: Readonly<import("../../hoc").IState>): any;
305
- componentDidUpdate?(prevProps: Readonly<React.InputHTMLAttributes<HTMLInputElement> & {
306
- label?: React.ReactNode;
307
- asChip?: boolean | undefined;
308
- help?: React.ReactNode;
309
- width?: string | undefined;
310
- height?: string | undefined;
311
- iconBefore?: React.ReactNode;
312
- valuePrefix?: React.ReactNode;
313
- error?: boolean | undefined;
314
- innerRef?: RefType<HTMLInputElement>;
315
- success?: boolean | undefined;
316
- disableInputOnly?: boolean | undefined;
317
- onRemove?: (() => void) | undefined;
318
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
319
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
320
- active?: boolean | undefined;
321
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>>, prevState: Readonly<import("../../hoc").IState>, snapshot?: any): void;
322
- componentWillMount?(): void;
323
- UNSAFE_componentWillMount?(): void;
324
- componentWillReceiveProps?(nextProps: Readonly<React.InputHTMLAttributes<HTMLInputElement> & {
325
- label?: React.ReactNode;
326
- asChip?: boolean | undefined;
327
- help?: React.ReactNode;
328
- width?: string | undefined;
329
- height?: string | undefined;
330
- iconBefore?: React.ReactNode;
331
- valuePrefix?: React.ReactNode;
332
- error?: boolean | undefined;
333
- innerRef?: RefType<HTMLInputElement>;
334
- success?: boolean | undefined;
335
- disableInputOnly?: boolean | undefined;
336
- onRemove?: (() => void) | undefined;
337
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
338
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
339
- active?: boolean | undefined;
340
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>>, nextContext: any): void;
341
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<React.InputHTMLAttributes<HTMLInputElement> & {
342
- label?: React.ReactNode;
343
- asChip?: boolean | undefined;
344
- help?: React.ReactNode;
345
- width?: string | undefined;
346
- height?: string | undefined;
347
- iconBefore?: React.ReactNode;
348
- valuePrefix?: React.ReactNode;
349
- error?: boolean | undefined;
350
- innerRef?: RefType<HTMLInputElement>;
351
- success?: boolean | undefined;
352
- disableInputOnly?: boolean | undefined;
353
- onRemove?: (() => void) | undefined;
354
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
355
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
356
- active?: boolean | undefined;
357
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>>, nextContext: any): void;
358
- componentWillUpdate?(nextProps: Readonly<React.InputHTMLAttributes<HTMLInputElement> & {
359
- label?: React.ReactNode;
360
- asChip?: boolean | undefined;
361
- help?: React.ReactNode;
362
- width?: string | undefined;
363
- height?: string | undefined;
364
- iconBefore?: React.ReactNode;
365
- valuePrefix?: React.ReactNode;
366
- error?: boolean | undefined;
367
- innerRef?: RefType<HTMLInputElement>;
368
- success?: boolean | undefined;
369
- disableInputOnly?: boolean | undefined;
370
- onRemove?: (() => void) | undefined;
371
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
372
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
373
- active?: boolean | undefined;
374
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>>, nextState: Readonly<import("../../hoc").IState>, nextContext: any): void;
375
- UNSAFE_componentWillUpdate?(nextProps: Readonly<React.InputHTMLAttributes<HTMLInputElement> & {
376
- label?: React.ReactNode;
377
- asChip?: boolean | undefined;
378
- help?: React.ReactNode;
379
- width?: string | undefined;
380
- height?: string | undefined;
381
- iconBefore?: React.ReactNode;
382
- valuePrefix?: React.ReactNode;
383
- error?: boolean | undefined;
384
- innerRef?: RefType<HTMLInputElement>;
385
- success?: boolean | undefined;
386
- disableInputOnly?: boolean | undefined;
387
- onRemove?: (() => void) | undefined;
388
- onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
389
- onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
390
- active?: boolean | undefined;
391
- } & import("../../hoc").IwithLabelProps<HTMLInputElement>>, nextState: Readonly<import("../../hoc").IState>, nextContext: any): void;
392
- };
393
- contextType?: React.Context<any> | undefined;
394
- };
2
+ import { IwithLabelProps } from "../../hoc";
3
+ export declare const Input: React.FC<React.InputHTMLAttributes<HTMLInputElement> & {
4
+ label?: React.ReactNode;
5
+ asChip?: boolean | undefined;
6
+ help?: React.ReactNode;
7
+ width?: string | undefined;
8
+ height?: string | undefined;
9
+ iconBefore?: React.ReactNode;
10
+ valuePrefix?: React.ReactNode;
11
+ error?: boolean | undefined;
12
+ innerRef?: RefType<HTMLInputElement>;
13
+ success?: boolean | undefined;
14
+ disableInputOnly?: boolean | undefined;
15
+ onRemove?: (() => void) | undefined;
16
+ onKeyPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
17
+ onKeyDown?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
18
+ active?: boolean | undefined;
19
+ } & IwithLabelProps<HTMLInputElement>>;
@@ -15,7 +15,7 @@ export declare type InputProps = InputHTMLAttributes<HTMLInputElement> & {
15
15
  iconBefore?: ReactNode;
16
16
  valuePrefix?: ReactNode;
17
17
  error?: boolean;
18
- innerRef?: RefType<HTMLInputElement>;
18
+ innerRef?: RefType<HTMLInputElement> | null;
19
19
  success?: boolean;
20
20
  disableInputOnly?: boolean;
21
21
  onRemove?: () => void;
@@ -33,7 +33,7 @@ export interface IAutoCompleteState {
33
33
  export declare type FilterOptions = (value: string, options: IOption[]) => IOption[];
34
34
  export interface IInput {
35
35
  selectedSuggestion?: IOption;
36
- innerRef?: RefType<HTMLInputElement>;
36
+ innerRef?: RefType<HTMLInputElement | null>;
37
37
  }
38
38
  export interface IMenu extends IBlankProps {
39
39
  minWidth?: string;