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 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 };