kui-basic 1.1.117 → 1.1.119

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
@@ -392,24 +392,25 @@ type InputWithMaskType = (
392
392
 
393
393
  declare const InputWithMask: InputWithMaskType
394
394
 
395
- type ModalSizes = "small" | "large"
396
-
397
- interface ModalProps
398
- extends React.DetailedHTMLProps<
399
- React.HTMLAttributes<HTMLDivElement>,
400
- HTMLDivElement
401
- > {
402
- isOpen?: boolean
403
- handleClose?: () => void
404
- title?: string
405
- size?: ModalSizes
406
- icon?: ReactElement
407
- isScrollable?: boolean
408
- description?: string
409
- }
410
-
411
- type ModalType = (props: ModalProps) => React.ReactElement
412
-
395
+ type ModalSizes = "small" | "large"
396
+
397
+ interface ModalProps
398
+ extends React.DetailedHTMLProps<
399
+ React.HTMLAttributes<HTMLDivElement>,
400
+ HTMLDivElement
401
+ > {
402
+ isOpen?: boolean
403
+ handleClose?: () => void
404
+ title?: string
405
+ size?: ModalSizes
406
+ icon?: ReactElement
407
+ isScrollable?: boolean
408
+ description?: string
409
+ isHasHeader?: boolean
410
+ }
411
+
412
+ type ModalType = (props: ModalProps) => React.ReactElement
413
+
413
414
  declare const Modal: ModalType
414
415
 
415
416
  interface RadioProps
@@ -485,74 +486,75 @@ type ContainerType = (
485
486
 
486
487
  declare const Container: ContainerType
487
488
 
488
- type GridJustify = "center" | "flex-start" | "flex-end" | "space-between"
489
-
490
- type GridAlignItems = "center" | "flex-start" | "flex-end"
491
-
492
- type GridDirections = "column" | "row"
493
-
494
- type GridWrap = "wrap" | "nowrap"
495
-
496
- type GridSizing =
497
- | 1
498
- | 2
499
- | 3
500
- | 4
501
- | 5
502
- | 6
503
- | 7
504
- | 8
505
- | 9
506
- | 10
507
- | 11
508
- | 12
509
- | "auto"
510
-
511
- interface GridProps
512
- extends React.DetailedHTMLProps<
513
- React.HTMLAttributes<HTMLDivElement>,
514
- HTMLDivElement
515
- >,
516
- React.AriaAttributes {
517
- spacing?: GridSizing
518
- item?: boolean
519
- container?: boolean
520
- justify?: GridJustify
521
- alignItems?: GridAlignItems
522
- alignContent?: GridAlignItems
523
- direction?: GridDirections
524
- wrap?: GridWrap
525
- xs?: GridSizing
526
- sm?: GridSizing
527
- md?: GridSizing
528
- lg?: GridSizing
529
- xl?: GridSizing
530
- }
531
-
532
- type GridType = (props: GridProps) => React.ReactElement
533
-
489
+ type GridJustify = "center" | "flex-start" | "flex-end" | "space-between"
490
+
491
+ type GridAlignItems = "center" | "flex-start" | "flex-end"
492
+
493
+ type GridDirections = "column" | "row" | "row-reverse" | "column-reverse"
494
+
495
+ type GridWrap = "wrap" | "nowrap"
496
+
497
+ type GridSizing =
498
+ | 0
499
+ | 1
500
+ | 2
501
+ | 3
502
+ | 4
503
+ | 5
504
+ | 6
505
+ | 7
506
+ | 8
507
+ | 9
508
+ | 10
509
+ | 11
510
+ | 12
511
+ | "auto"
512
+
513
+ interface GridProps
514
+ extends React.DetailedHTMLProps<
515
+ React.HTMLAttributes<HTMLDivElement>,
516
+ HTMLDivElement
517
+ >,
518
+ React.AriaAttributes {
519
+ spacing?: GridSizing
520
+ item?: boolean
521
+ container?: boolean
522
+ justify?: GridJustify
523
+ alignItems?: GridAlignItems
524
+ alignContent?: GridAlignItems
525
+ direction?: GridDirections
526
+ wrap?: GridWrap
527
+ xs?: GridSizing
528
+ sm?: GridSizing
529
+ md?: GridSizing
530
+ lg?: GridSizing
531
+ xl?: GridSizing
532
+ }
533
+
534
+ type GridType = (props: GridProps) => React.ReactElement
535
+
534
536
  declare const Grid: GridType
535
537
 
536
- type BoxSizing = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12
537
-
538
- interface BoxProps
539
- extends React.DetailedHTMLProps<
540
- React.HTMLAttributes<HTMLDivElement>,
541
- HTMLDivElement
542
- >,
543
- React.AriaAttributes {
544
- mt?: BoxSizing
545
- mr?: BoxSizing
546
- ml?: BoxSizing
547
- mb?: BoxSizing
548
- pt?: BoxSizing
549
- pr?: BoxSizing
550
- pl?: BoxSizing
551
- pb?: BoxSizing
552
- }
553
-
554
- type BoxType = (props: BoxProps) => React.ReactElement
555
-
538
+ type BoxSizing = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12
539
+
540
+ interface BoxProps
541
+ extends React.DetailedHTMLProps<
542
+ React.HTMLAttributes<HTMLDivElement>,
543
+ HTMLDivElement
544
+ >,
545
+ React.AriaAttributes {
546
+ mt?: BoxSizing
547
+ mr?: BoxSizing
548
+ ml?: BoxSizing
549
+ mb?: BoxSizing
550
+ pt?: BoxSizing
551
+ pr?: BoxSizing
552
+ pl?: BoxSizing
553
+ pb?: BoxSizing
554
+ }
555
+
556
+ type BoxType = (props: BoxProps) => React.ReactElement
557
+
556
558
  declare const Box: BoxType
557
559
 
558
560
  interface AccordionProps