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