kui-basic 1.1.117 → 1.1.118
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/index.d.ts +67 -66
- package/package.json +1 -1
package/Box/index.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
|
|
3
|
-
type BoxSizing = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12
|
|
4
|
-
|
|
5
|
-
interface BoxProps
|
|
6
|
-
extends React.DetailedHTMLProps<
|
|
7
|
-
React.HTMLAttributes<HTMLDivElement>,
|
|
8
|
-
HTMLDivElement
|
|
9
|
-
>,
|
|
10
|
-
React.AriaAttributes {
|
|
11
|
-
mt?: BoxSizing
|
|
12
|
-
mr?: BoxSizing
|
|
13
|
-
ml?: BoxSizing
|
|
14
|
-
mb?: BoxSizing
|
|
15
|
-
pt?: BoxSizing
|
|
16
|
-
pr?: BoxSizing
|
|
17
|
-
pl?: BoxSizing
|
|
18
|
-
pb?: BoxSizing
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
type BoxType = (props: BoxProps) => React.ReactElement
|
|
22
|
-
|
|
3
|
+
type BoxSizing = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12
|
|
4
|
+
|
|
5
|
+
interface BoxProps
|
|
6
|
+
extends React.DetailedHTMLProps<
|
|
7
|
+
React.HTMLAttributes<HTMLDivElement>,
|
|
8
|
+
HTMLDivElement
|
|
9
|
+
>,
|
|
10
|
+
React.AriaAttributes {
|
|
11
|
+
mt?: BoxSizing
|
|
12
|
+
mr?: BoxSizing
|
|
13
|
+
ml?: BoxSizing
|
|
14
|
+
mb?: BoxSizing
|
|
15
|
+
pt?: BoxSizing
|
|
16
|
+
pr?: BoxSizing
|
|
17
|
+
pl?: BoxSizing
|
|
18
|
+
pb?: BoxSizing
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
type BoxType = (props: BoxProps) => React.ReactElement
|
|
22
|
+
|
|
23
23
|
declare const Box: BoxType
|
|
24
24
|
|
|
25
25
|
export { BoxProps, BoxSizing, BoxType, Box as default };
|
package/Grid/index.d.ts
CHANGED
|
@@ -1,51 +1,52 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
|
|
3
|
-
type GridJustify = "center" | "flex-start" | "flex-end" | "space-between"
|
|
4
|
-
|
|
5
|
-
type GridAlignItems = "center" | "flex-start" | "flex-end"
|
|
6
|
-
|
|
7
|
-
type GridDirections = "column" | "row"
|
|
8
|
-
|
|
9
|
-
type GridWrap = "wrap" | "nowrap"
|
|
10
|
-
|
|
11
|
-
type GridSizing =
|
|
12
|
-
|
|
|
13
|
-
|
|
|
14
|
-
|
|
|
15
|
-
|
|
|
16
|
-
|
|
|
17
|
-
|
|
|
18
|
-
|
|
|
19
|
-
|
|
|
20
|
-
|
|
|
21
|
-
|
|
|
22
|
-
|
|
|
23
|
-
|
|
|
24
|
-
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
HTMLDivElement
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
3
|
+
type GridJustify = "center" | "flex-start" | "flex-end" | "space-between"
|
|
4
|
+
|
|
5
|
+
type GridAlignItems = "center" | "flex-start" | "flex-end"
|
|
6
|
+
|
|
7
|
+
type GridDirections = "column" | "row" | "row-reverse" | "column-reverse"
|
|
8
|
+
|
|
9
|
+
type GridWrap = "wrap" | "nowrap"
|
|
10
|
+
|
|
11
|
+
type GridSizing =
|
|
12
|
+
| 0
|
|
13
|
+
| 1
|
|
14
|
+
| 2
|
|
15
|
+
| 3
|
|
16
|
+
| 4
|
|
17
|
+
| 5
|
|
18
|
+
| 6
|
|
19
|
+
| 7
|
|
20
|
+
| 8
|
|
21
|
+
| 9
|
|
22
|
+
| 10
|
|
23
|
+
| 11
|
|
24
|
+
| 12
|
|
25
|
+
| "auto"
|
|
26
|
+
|
|
27
|
+
interface GridProps
|
|
28
|
+
extends React.DetailedHTMLProps<
|
|
29
|
+
React.HTMLAttributes<HTMLDivElement>,
|
|
30
|
+
HTMLDivElement
|
|
31
|
+
>,
|
|
32
|
+
React.AriaAttributes {
|
|
33
|
+
spacing?: GridSizing
|
|
34
|
+
item?: boolean
|
|
35
|
+
container?: boolean
|
|
36
|
+
justify?: GridJustify
|
|
37
|
+
alignItems?: GridAlignItems
|
|
38
|
+
alignContent?: GridAlignItems
|
|
39
|
+
direction?: GridDirections
|
|
40
|
+
wrap?: GridWrap
|
|
41
|
+
xs?: GridSizing
|
|
42
|
+
sm?: GridSizing
|
|
43
|
+
md?: GridSizing
|
|
44
|
+
lg?: GridSizing
|
|
45
|
+
xl?: GridSizing
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
type GridType = (props: GridProps) => React.ReactElement
|
|
49
|
+
|
|
49
50
|
declare const Grid: GridType
|
|
50
51
|
|
|
51
52
|
export { GridAlignItems, GridDirections, GridJustify, GridProps, GridSizing, GridType, GridWrap, Grid as default };
|
package/index.d.ts
CHANGED
|
@@ -485,74 +485,75 @@ type ContainerType = (
|
|
|
485
485
|
|
|
486
486
|
declare const Container: ContainerType
|
|
487
487
|
|
|
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
|
-
|
|
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" | "row-reverse" | "column-reverse"
|
|
493
|
+
|
|
494
|
+
type GridWrap = "wrap" | "nowrap"
|
|
495
|
+
|
|
496
|
+
type GridSizing =
|
|
497
|
+
| 0
|
|
498
|
+
| 1
|
|
499
|
+
| 2
|
|
500
|
+
| 3
|
|
501
|
+
| 4
|
|
502
|
+
| 5
|
|
503
|
+
| 6
|
|
504
|
+
| 7
|
|
505
|
+
| 8
|
|
506
|
+
| 9
|
|
507
|
+
| 10
|
|
508
|
+
| 11
|
|
509
|
+
| 12
|
|
510
|
+
| "auto"
|
|
511
|
+
|
|
512
|
+
interface GridProps
|
|
513
|
+
extends React.DetailedHTMLProps<
|
|
514
|
+
React.HTMLAttributes<HTMLDivElement>,
|
|
515
|
+
HTMLDivElement
|
|
516
|
+
>,
|
|
517
|
+
React.AriaAttributes {
|
|
518
|
+
spacing?: GridSizing
|
|
519
|
+
item?: boolean
|
|
520
|
+
container?: boolean
|
|
521
|
+
justify?: GridJustify
|
|
522
|
+
alignItems?: GridAlignItems
|
|
523
|
+
alignContent?: GridAlignItems
|
|
524
|
+
direction?: GridDirections
|
|
525
|
+
wrap?: GridWrap
|
|
526
|
+
xs?: GridSizing
|
|
527
|
+
sm?: GridSizing
|
|
528
|
+
md?: GridSizing
|
|
529
|
+
lg?: GridSizing
|
|
530
|
+
xl?: GridSizing
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
type GridType = (props: GridProps) => React.ReactElement
|
|
534
|
+
|
|
534
535
|
declare const Grid: GridType
|
|
535
536
|
|
|
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
|
-
|
|
537
|
+
type BoxSizing = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12
|
|
538
|
+
|
|
539
|
+
interface BoxProps
|
|
540
|
+
extends React.DetailedHTMLProps<
|
|
541
|
+
React.HTMLAttributes<HTMLDivElement>,
|
|
542
|
+
HTMLDivElement
|
|
543
|
+
>,
|
|
544
|
+
React.AriaAttributes {
|
|
545
|
+
mt?: BoxSizing
|
|
546
|
+
mr?: BoxSizing
|
|
547
|
+
ml?: BoxSizing
|
|
548
|
+
mb?: BoxSizing
|
|
549
|
+
pt?: BoxSizing
|
|
550
|
+
pr?: BoxSizing
|
|
551
|
+
pl?: BoxSizing
|
|
552
|
+
pb?: BoxSizing
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
type BoxType = (props: BoxProps) => React.ReactElement
|
|
556
|
+
|
|
556
557
|
declare const Box: BoxType
|
|
557
558
|
|
|
558
559
|
interface AccordionProps
|