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/Box/index.d.ts +20 -20
- package/Grid/index.d.ts +47 -46
- package/Modal/cjs/index.js +4 -4
- package/Modal/cjs/index.js.map +1 -1
- package/Modal/index.d.ts +19 -18
- package/Modal/index.js +4 -4
- package/Modal/index.js.map +1 -1
- package/cjs/index.js +3 -3
- package/cjs/index.js.map +1 -1
- package/index.d.ts +86 -84
- package/index.js +3 -3
- package/index.js.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
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
|
-
|
|
|
498
|
-
|
|
|
499
|
-
|
|
|
500
|
-
|
|
|
501
|
-
|
|
|
502
|
-
|
|
|
503
|
-
|
|
|
504
|
-
|
|
|
505
|
-
|
|
|
506
|
-
|
|
|
507
|
-
|
|
|
508
|
-
|
|
|
509
|
-
|
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
HTMLDivElement
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
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
|