kui-basic 1.1.90 → 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/Input/index.d.ts CHANGED
@@ -3,29 +3,33 @@ import { HTMLInputTypeAttribute } from 'react';
3
3
 
4
4
  type InputMessageVariant = "error" | "warning" | "success"
5
5
 
6
- interface InputProps
7
- extends React.DetailedHTMLProps<
8
- React.InputHTMLAttributes<HTMLInputElement>,
9
- HTMLInputElement
10
- >,
11
- React.AriaAttributes {
12
- isTextArea?: boolean
13
- inputRef?: React.RefObject<HTMLInputElement | null>
14
- inputStyles?: string
15
- labelStyles?: string
16
- label?: string
17
- startIcon?: string | React.ReactElement | boolean
18
- endIcon?: string | React.ReactElement | boolean
19
- messageClassName?: string
20
- labelInlineStyles?: string
21
- message?: string | null
22
- messageVariant?: InputMessageVariant
23
- inputValue?: string | number | undefined
24
- type?: HTMLInputTypeAttribute
25
- }
26
-
27
- type InputType = (props: InputProps) => React.ReactElement
28
-
6
+ interface InputProps
7
+ extends Omit<
8
+ React.DetailedHTMLProps<
9
+ React.InputHTMLAttributes<HTMLInputElement>,
10
+ HTMLInputElement
11
+ >,
12
+ "value"
13
+ >,
14
+ React.AriaAttributes {
15
+ isTextArea?: boolean
16
+ inputRef?: React.RefObject<HTMLInputElement | null>
17
+ inputStyles?: string
18
+ labelStyles?: string
19
+ label?: string
20
+ startIcon?: string | React.ReactElement | boolean
21
+ endIcon?: string | React.ReactElement | boolean
22
+ messageClassName?: string
23
+ labelInlineStyles?: string
24
+ message?: string | null
25
+ messageVariant?: InputMessageVariant
26
+ inputValue?: string | number | undefined
27
+ type?: HTMLInputTypeAttribute
28
+ value?: string | number | null
29
+ }
30
+
31
+ type InputType = (props: InputProps) => React.ReactElement
32
+
29
33
  declare const Input: InputType
30
34
 
31
35
  export { InputProps, InputType, Input as default };
@@ -3,25 +3,29 @@ import { HTMLInputTypeAttribute } from 'react';
3
3
 
4
4
  type InputMessageVariant = "error" | "warning" | "success"
5
5
 
6
- interface InputProps
7
- extends React.DetailedHTMLProps<
8
- React.InputHTMLAttributes<HTMLInputElement>,
9
- HTMLInputElement
10
- >,
11
- React.AriaAttributes {
12
- isTextArea?: boolean
13
- inputRef?: React.RefObject<HTMLInputElement | null>
14
- inputStyles?: string
15
- labelStyles?: string
16
- label?: string
17
- startIcon?: string | React.ReactElement | boolean
18
- endIcon?: string | React.ReactElement | boolean
19
- messageClassName?: string
20
- labelInlineStyles?: string
21
- message?: string | null
22
- messageVariant?: InputMessageVariant
23
- inputValue?: string | number | undefined
24
- type?: HTMLInputTypeAttribute
6
+ interface InputProps
7
+ extends Omit<
8
+ React.DetailedHTMLProps<
9
+ React.InputHTMLAttributes<HTMLInputElement>,
10
+ HTMLInputElement
11
+ >,
12
+ "value"
13
+ >,
14
+ React.AriaAttributes {
15
+ isTextArea?: boolean
16
+ inputRef?: React.RefObject<HTMLInputElement | null>
17
+ inputStyles?: string
18
+ labelStyles?: string
19
+ label?: string
20
+ startIcon?: string | React.ReactElement | boolean
21
+ endIcon?: string | React.ReactElement | boolean
22
+ messageClassName?: string
23
+ labelInlineStyles?: string
24
+ message?: string | null
25
+ messageVariant?: InputMessageVariant
26
+ inputValue?: string | number | undefined
27
+ type?: HTMLInputTypeAttribute
28
+ value?: string | number | null
25
29
  }
26
30
 
27
31
  interface InputWithAdornmentsProps extends InputProps {
@@ -3,25 +3,29 @@ import { HTMLInputTypeAttribute } from 'react';
3
3
 
4
4
  type InputMessageVariant = "error" | "warning" | "success"
5
5
 
6
- interface InputProps
7
- extends React.DetailedHTMLProps<
8
- React.InputHTMLAttributes<HTMLInputElement>,
9
- HTMLInputElement
10
- >,
11
- React.AriaAttributes {
12
- isTextArea?: boolean
13
- inputRef?: React.RefObject<HTMLInputElement | null>
14
- inputStyles?: string
15
- labelStyles?: string
16
- label?: string
17
- startIcon?: string | React.ReactElement | boolean
18
- endIcon?: string | React.ReactElement | boolean
19
- messageClassName?: string
20
- labelInlineStyles?: string
21
- message?: string | null
22
- messageVariant?: InputMessageVariant
23
- inputValue?: string | number | undefined
24
- type?: HTMLInputTypeAttribute
6
+ interface InputProps
7
+ extends Omit<
8
+ React.DetailedHTMLProps<
9
+ React.InputHTMLAttributes<HTMLInputElement>,
10
+ HTMLInputElement
11
+ >,
12
+ "value"
13
+ >,
14
+ React.AriaAttributes {
15
+ isTextArea?: boolean
16
+ inputRef?: React.RefObject<HTMLInputElement | null>
17
+ inputStyles?: string
18
+ labelStyles?: string
19
+ label?: string
20
+ startIcon?: string | React.ReactElement | boolean
21
+ endIcon?: string | React.ReactElement | boolean
22
+ messageClassName?: string
23
+ labelInlineStyles?: string
24
+ message?: string | null
25
+ messageVariant?: InputMessageVariant
26
+ inputValue?: string | number | undefined
27
+ type?: HTMLInputTypeAttribute
28
+ value?: string | number | null
25
29
  }
26
30
 
27
31
  interface InputWithAdornmentsProps extends InputProps {
@@ -3,25 +3,29 @@ import { HTMLInputTypeAttribute } from 'react';
3
3
 
4
4
  type InputMessageVariant = "error" | "warning" | "success"
5
5
 
6
- interface InputProps
7
- extends React.DetailedHTMLProps<
8
- React.InputHTMLAttributes<HTMLInputElement>,
9
- HTMLInputElement
10
- >,
11
- React.AriaAttributes {
12
- isTextArea?: boolean
13
- inputRef?: React.RefObject<HTMLInputElement | null>
14
- inputStyles?: string
15
- labelStyles?: string
16
- label?: string
17
- startIcon?: string | React.ReactElement | boolean
18
- endIcon?: string | React.ReactElement | boolean
19
- messageClassName?: string
20
- labelInlineStyles?: string
21
- message?: string | null
22
- messageVariant?: InputMessageVariant
23
- inputValue?: string | number | undefined
24
- type?: HTMLInputTypeAttribute
6
+ interface InputProps
7
+ extends Omit<
8
+ React.DetailedHTMLProps<
9
+ React.InputHTMLAttributes<HTMLInputElement>,
10
+ HTMLInputElement
11
+ >,
12
+ "value"
13
+ >,
14
+ React.AriaAttributes {
15
+ isTextArea?: boolean
16
+ inputRef?: React.RefObject<HTMLInputElement | null>
17
+ inputStyles?: string
18
+ labelStyles?: string
19
+ label?: string
20
+ startIcon?: string | React.ReactElement | boolean
21
+ endIcon?: string | React.ReactElement | boolean
22
+ messageClassName?: string
23
+ labelInlineStyles?: string
24
+ message?: string | null
25
+ messageVariant?: InputMessageVariant
26
+ inputValue?: string | number | undefined
27
+ type?: HTMLInputTypeAttribute
28
+ value?: string | number | null
25
29
  }
26
30
 
27
31
  interface InputWithAdornmentsProps extends InputProps {
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kui-basic",
3
- "version": "1.1.90",
3
+ "version": "1.1.91",
4
4
  "private": false,
5
5
  "description": "React UI Components for Maroom projects",
6
6
  "author": {