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 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
- | 1
13
- | 2
14
- | 3
15
- | 4
16
- | 5
17
- | 6
18
- | 7
19
- | 8
20
- | 9
21
- | 10
22
- | 11
23
- | 12
24
- | "auto"
25
-
26
- interface GridProps
27
- extends React.DetailedHTMLProps<
28
- React.HTMLAttributes<HTMLDivElement>,
29
- HTMLDivElement
30
- >,
31
- React.AriaAttributes {
32
- spacing?: GridSizing
33
- item?: boolean
34
- container?: boolean
35
- justify?: GridJustify
36
- alignItems?: GridAlignItems
37
- alignContent?: GridAlignItems
38
- direction?: GridDirections
39
- wrap?: GridWrap
40
- xs?: GridSizing
41
- sm?: GridSizing
42
- md?: GridSizing
43
- lg?: GridSizing
44
- xl?: GridSizing
45
- }
46
-
47
- type GridType = (props: GridProps) => React.ReactElement
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
- | 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
-
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kui-basic",
3
- "version": "1.1.117",
3
+ "version": "1.1.118",
4
4
  "private": false,
5
5
  "description": "React UI Components for Maroom projects",
6
6
  "author": {