kui-basic 1.1.122 → 1.1.124

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.
@@ -1,23 +1,24 @@
1
1
  import * as React from 'react';
2
2
 
3
- interface AccordionSummaryProps
4
- extends React.DetailedHTMLProps<
5
- React.HTMLAttributes<HTMLDivElement>,
6
- HTMLDivElement
7
- >,
8
- React.AriaAttributes {
9
- detailsBlock?: React.RefObject<HTMLDivElement>
10
- expandIcon?: React.ReactElement | React.ReactElement[] | string
11
- contentStyles?: string
12
- expandedStyles?: string
13
- iconStyles?: string
14
- disabled?: boolean
15
- }
16
-
17
- type AccordionSummaryType = (
18
- props: AccordionSummaryProps
19
- ) => React.ReactElement
20
-
3
+ interface AccordionSummaryProps
4
+ extends React.DetailedHTMLProps<
5
+ React.HTMLAttributes<HTMLDivElement>,
6
+ HTMLDivElement
7
+ >,
8
+ React.AriaAttributes {
9
+ detailsBlock?: React.RefObject<HTMLDivElement>
10
+ expandIcon?: React.ReactElement | React.ReactElement[] | string
11
+ contentStyles?: string
12
+ expandedStyles?: string
13
+ iconStyles?: string
14
+ disabled?: boolean
15
+ expanded?: boolean
16
+ }
17
+
18
+ type AccordionSummaryType = (
19
+ props: AccordionSummaryProps
20
+ ) => React.ReactElement
21
+
21
22
  declare const AccordionSummary: AccordionSummaryType
22
23
 
23
24
  export { AccordionSummaryProps, AccordionSummaryType, AccordionSummary as default };
package/Input/index.d.ts CHANGED
@@ -12,6 +12,8 @@ interface InputProps
12
12
  "value"
13
13
  >,
14
14
  React.AriaAttributes {
15
+ rows?: number
16
+ autoHeight?: boolean
15
17
  isTextArea?: boolean
16
18
  inputRef?: React.RefObject<HTMLInputElement | null>
17
19
  inputStyles?: string
@@ -12,6 +12,8 @@ interface InputProps
12
12
  "value"
13
13
  >,
14
14
  React.AriaAttributes {
15
+ rows?: number
16
+ autoHeight?: boolean
15
17
  isTextArea?: boolean
16
18
  inputRef?: React.RefObject<HTMLInputElement | null>
17
19
  inputStyles?: string
@@ -28,14 +30,14 @@ interface InputProps
28
30
  value?: string | number | null
29
31
  }
30
32
 
31
- interface InputWithAdornmentsProps extends InputProps {
32
- cornerLabel?: string
33
- }
34
-
35
- type InputWithAdornmentsType = (
36
- props: InputWithAdornmentsProps
37
- ) => React.ReactElement
38
-
33
+ interface InputWithAdornmentsProps extends InputProps {
34
+ cornerLabel?: string | false
35
+ }
36
+
37
+ type InputWithAdornmentsType = (
38
+ props: InputWithAdornmentsProps
39
+ ) => React.ReactElement
40
+
39
41
  declare const InputWithAdornments: InputWithAdornmentsType
40
42
 
41
43
  export { InputWithAdornmentsProps, InputWithAdornmentsType, InputWithAdornments as default };
@@ -12,6 +12,8 @@ interface InputProps
12
12
  "value"
13
13
  >,
14
14
  React.AriaAttributes {
15
+ rows?: number
16
+ autoHeight?: boolean
15
17
  isTextArea?: boolean
16
18
  inputRef?: React.RefObject<HTMLInputElement | null>
17
19
  inputStyles?: string
@@ -28,8 +30,8 @@ interface InputProps
28
30
  value?: string | number | null
29
31
  }
30
32
 
31
- interface InputWithAdornmentsProps extends InputProps {
32
- cornerLabel?: string
33
+ interface InputWithAdornmentsProps extends InputProps {
34
+ cornerLabel?: string | false
33
35
  }
34
36
 
35
37
  type CountryItem = {
@@ -12,6 +12,8 @@ interface InputProps
12
12
  "value"
13
13
  >,
14
14
  React.AriaAttributes {
15
+ rows?: number
16
+ autoHeight?: boolean
15
17
  isTextArea?: boolean
16
18
  inputRef?: React.RefObject<HTMLInputElement | null>
17
19
  inputStyles?: string
@@ -28,8 +30,8 @@ interface InputProps
28
30
  value?: string | number | null
29
31
  }
30
32
 
31
- interface InputWithAdornmentsProps extends InputProps {
32
- cornerLabel?: string
33
+ interface InputWithAdornmentsProps extends InputProps {
34
+ cornerLabel?: string | false
33
35
  }
34
36
 
35
37
  type InputWithMaskProps = any & InputWithAdornmentsProps
package/index.d.ts CHANGED
@@ -317,6 +317,8 @@ interface InputProps
317
317
  "value"
318
318
  >,
319
319
  React.AriaAttributes {
320
+ rows?: number
321
+ autoHeight?: boolean
320
322
  isTextArea?: boolean
321
323
  inputRef?: React.RefObject<HTMLInputElement | null>
322
324
  inputStyles?: string
@@ -351,14 +353,14 @@ type InputFileType = (props: InputFileProps) => React.ReactElement
351
353
 
352
354
  declare const InputFile: InputFileType
353
355
 
354
- interface InputWithAdornmentsProps extends InputProps {
355
- cornerLabel?: string
356
- }
357
-
358
- type InputWithAdornmentsType = (
359
- props: InputWithAdornmentsProps
360
- ) => React.ReactElement
361
-
356
+ interface InputWithAdornmentsProps extends InputProps {
357
+ cornerLabel?: string | false
358
+ }
359
+
360
+ type InputWithAdornmentsType = (
361
+ props: InputWithAdornmentsProps
362
+ ) => React.ReactElement
363
+
362
364
  declare const InputWithAdornments: InputWithAdornmentsType
363
365
 
364
366
  type CountryItem = {
@@ -574,24 +576,25 @@ type AccordionType = (props: AccordionProps) => React.ReactElement
574
576
 
575
577
  declare const Accordion: AccordionType
576
578
 
577
- interface AccordionSummaryProps
578
- extends React.DetailedHTMLProps<
579
- React.HTMLAttributes<HTMLDivElement>,
580
- HTMLDivElement
581
- >,
582
- React.AriaAttributes {
583
- detailsBlock?: React.RefObject<HTMLDivElement>
584
- expandIcon?: React.ReactElement | React.ReactElement[] | string
585
- contentStyles?: string
586
- expandedStyles?: string
587
- iconStyles?: string
588
- disabled?: boolean
589
- }
590
-
591
- type AccordionSummaryType = (
592
- props: AccordionSummaryProps
593
- ) => React.ReactElement
594
-
579
+ interface AccordionSummaryProps
580
+ extends React.DetailedHTMLProps<
581
+ React.HTMLAttributes<HTMLDivElement>,
582
+ HTMLDivElement
583
+ >,
584
+ React.AriaAttributes {
585
+ detailsBlock?: React.RefObject<HTMLDivElement>
586
+ expandIcon?: React.ReactElement | React.ReactElement[] | string
587
+ contentStyles?: string
588
+ expandedStyles?: string
589
+ iconStyles?: string
590
+ disabled?: boolean
591
+ expanded?: boolean
592
+ }
593
+
594
+ type AccordionSummaryType = (
595
+ props: AccordionSummaryProps
596
+ ) => React.ReactElement
597
+
595
598
  declare const AccordionSummary: AccordionSummaryType
596
599
 
597
600
  type AccordionDetailsType = (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kui-basic",
3
- "version": "1.1.122",
3
+ "version": "1.1.124",
4
4
  "private": false,
5
5
  "description": "React UI Components for Maroom projects",
6
6
  "author": {