kui-basic 1.0.35 → 1.0.37
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/dist/index.d.ts +25 -20
- package/dist/index.es.js +700 -928
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +700 -928
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -286,9 +286,12 @@ type HeadingType = (props: HeadingProps) => React.ReactElement
|
|
|
286
286
|
declare const Heading: HeadingType
|
|
287
287
|
|
|
288
288
|
interface InputProps
|
|
289
|
-
extends
|
|
290
|
-
React.
|
|
291
|
-
|
|
289
|
+
extends Omit<
|
|
290
|
+
React.DetailedHTMLProps<
|
|
291
|
+
React.InputHTMLAttributes<HTMLInputElement>,
|
|
292
|
+
HTMLInputElement
|
|
293
|
+
>,
|
|
294
|
+
"ref"
|
|
292
295
|
>,
|
|
293
296
|
React.AriaAttributes {
|
|
294
297
|
isTextArea?: boolean
|
|
@@ -553,29 +556,31 @@ interface AccordionProps
|
|
|
553
556
|
> {
|
|
554
557
|
expanded?: boolean
|
|
555
558
|
onChange?: (expanded: boolean) => void
|
|
559
|
+
disabled?: boolean
|
|
556
560
|
}
|
|
557
561
|
|
|
558
562
|
type AccordionType = (props: AccordionProps) => React.ReactElement
|
|
559
563
|
|
|
560
564
|
declare const Accordion: AccordionType
|
|
561
565
|
|
|
562
|
-
interface AccordionSummaryProps
|
|
563
|
-
extends React.DetailedHTMLProps<
|
|
564
|
-
React.HTMLAttributes<HTMLDivElement>,
|
|
565
|
-
HTMLDivElement
|
|
566
|
-
>,
|
|
567
|
-
React.AriaAttributes {
|
|
568
|
-
detailsBlock?: React.RefObject<HTMLDivElement>
|
|
569
|
-
expandIcon?: React.ReactElement | React.ReactElement[] | string
|
|
570
|
-
contentStyles?: string
|
|
571
|
-
expandedStyles?: string
|
|
572
|
-
iconStyles?: string
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
566
|
+
interface AccordionSummaryProps
|
|
567
|
+
extends React.DetailedHTMLProps<
|
|
568
|
+
React.HTMLAttributes<HTMLDivElement>,
|
|
569
|
+
HTMLDivElement
|
|
570
|
+
>,
|
|
571
|
+
React.AriaAttributes {
|
|
572
|
+
detailsBlock?: React.RefObject<HTMLDivElement>
|
|
573
|
+
expandIcon?: React.ReactElement | React.ReactElement[] | string
|
|
574
|
+
contentStyles?: string
|
|
575
|
+
expandedStyles?: string
|
|
576
|
+
iconStyles?: string
|
|
577
|
+
disabled?: boolean
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
type AccordionSummaryType = (
|
|
581
|
+
props: AccordionSummaryProps
|
|
582
|
+
) => React.ReactElement
|
|
583
|
+
|
|
579
584
|
declare const AccordionSummary: AccordionSummaryType
|
|
580
585
|
|
|
581
586
|
type AccordionDetailsType = (
|