kui-basic 1.1.89 → 1.1.91

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -307,29 +307,33 @@ type InputMessageType = (props: InputMessageProps) => React.ReactElement
307
307
 
308
308
  declare const InputMessage: InputMessageType
309
309
 
310
- interface InputProps
311
- extends React.DetailedHTMLProps<
312
- React.InputHTMLAttributes<HTMLInputElement>,
313
- HTMLInputElement
314
- >,
315
- React.AriaAttributes {
316
- isTextArea?: boolean
317
- inputRef?: React.RefObject<HTMLInputElement | null>
318
- inputStyles?: string
319
- labelStyles?: string
320
- label?: string
321
- startIcon?: string | React.ReactElement | boolean
322
- endIcon?: string | React.ReactElement | boolean
323
- messageClassName?: string
324
- labelInlineStyles?: string
325
- message?: string | null
326
- messageVariant?: InputMessageVariant
327
- inputValue?: string | number | undefined
328
- type?: HTMLInputTypeAttribute
329
- }
330
-
331
- type InputType = (props: InputProps) => React.ReactElement
332
-
310
+ interface InputProps
311
+ extends Omit<
312
+ React.DetailedHTMLProps<
313
+ React.InputHTMLAttributes<HTMLInputElement>,
314
+ HTMLInputElement
315
+ >,
316
+ "value"
317
+ >,
318
+ React.AriaAttributes {
319
+ isTextArea?: boolean
320
+ inputRef?: React.RefObject<HTMLInputElement | null>
321
+ inputStyles?: string
322
+ labelStyles?: string
323
+ label?: string
324
+ startIcon?: string | React.ReactElement | boolean
325
+ endIcon?: string | React.ReactElement | boolean
326
+ messageClassName?: string
327
+ labelInlineStyles?: string
328
+ message?: string | null
329
+ messageVariant?: InputMessageVariant
330
+ inputValue?: string | number | undefined
331
+ type?: HTMLInputTypeAttribute
332
+ value?: string | number | null
333
+ }
334
+
335
+ type InputType = (props: InputProps) => React.ReactElement
336
+
333
337
  declare const Input: InputType
334
338
 
335
339
  interface InputFileProps