@majoo-ui/react 1.58.14 → 1.58.15-rc.1
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/components/form/components/InputSelect/InputSelect.backup.d.ts +109 -1
- package/components/form/components/InputSelect/InputSelect.d.ts +109 -1
- package/components/table/Table.d.ts +109 -1
- package/components/tag/Tag.d.ts +16 -0
- package/components/tag/index.d.ts +2 -0
- package/components/tooltip/Tooltip.d.ts +217 -0
- package/components/tooltip/index.d.ts +2 -0
- package/index.esm.js +310 -444
- package/index.umd.js +371 -481
- package/layout/box/Box.d.ts +97 -0
- package/layout/flex/Flex.d.ts +110 -0
- package/layout/flex/index.d.ts +0 -1
- package/layout/grid/Grid.d.ts +234 -0
- package/package.json +1 -1
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
declare const Box: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
2
|
+
sm: "(min-width: 359px)";
|
|
3
|
+
md: "(min-width: 767px)";
|
|
4
|
+
lg: "(min-width: 1023px)";
|
|
5
|
+
xl: "(min-width: 1199px)";
|
|
6
|
+
'2xl': "(min-width: 1399px)";
|
|
7
|
+
'3xl': "(min-width: 1600px)";
|
|
8
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
9
|
+
sm: "(min-width: 359px)";
|
|
10
|
+
md: "(min-width: 767px)";
|
|
11
|
+
lg: "(min-width: 1023px)";
|
|
12
|
+
xl: "(min-width: 1199px)";
|
|
13
|
+
'2xl': "(min-width: 1399px)";
|
|
14
|
+
'3xl': "(min-width: 1600px)";
|
|
15
|
+
}, {
|
|
16
|
+
colors: unknown;
|
|
17
|
+
space: unknown;
|
|
18
|
+
shadows: unknown;
|
|
19
|
+
fontSizes: unknown;
|
|
20
|
+
fonts: unknown;
|
|
21
|
+
lineHeights: unknown;
|
|
22
|
+
letterSpacings: unknown;
|
|
23
|
+
radii: unknown;
|
|
24
|
+
sizes: unknown;
|
|
25
|
+
zIndices: unknown;
|
|
26
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
27
|
+
m: (value: {
|
|
28
|
+
readonly [$$ScaleValue]: "space";
|
|
29
|
+
}) => {
|
|
30
|
+
margin: {
|
|
31
|
+
readonly [$$ScaleValue]: "space";
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
mt: (value: {
|
|
35
|
+
readonly [$$ScaleValue]: "space";
|
|
36
|
+
}) => {
|
|
37
|
+
marginTop: {
|
|
38
|
+
readonly [$$ScaleValue]: "space";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
mr: (value: {
|
|
42
|
+
readonly [$$ScaleValue]: "space";
|
|
43
|
+
}) => {
|
|
44
|
+
marginRight: {
|
|
45
|
+
readonly [$$ScaleValue]: "space";
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
mb: (value: {
|
|
49
|
+
readonly [$$ScaleValue]: "space";
|
|
50
|
+
}) => {
|
|
51
|
+
marginBottom: {
|
|
52
|
+
readonly [$$ScaleValue]: "space";
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
ml: (value: {
|
|
56
|
+
readonly [$$ScaleValue]: "space";
|
|
57
|
+
}) => {
|
|
58
|
+
marginLeft: {
|
|
59
|
+
readonly [$$ScaleValue]: "space";
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
mx: (value: {
|
|
63
|
+
readonly [$$ScaleValue]: "space";
|
|
64
|
+
}) => {
|
|
65
|
+
marginLeft: {
|
|
66
|
+
readonly [$$ScaleValue]: "space";
|
|
67
|
+
};
|
|
68
|
+
marginRight: {
|
|
69
|
+
readonly [$$ScaleValue]: "space";
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
my: (value: {
|
|
73
|
+
readonly [$$ScaleValue]: "space";
|
|
74
|
+
}) => {
|
|
75
|
+
marginTop: {
|
|
76
|
+
readonly [$$ScaleValue]: "space";
|
|
77
|
+
};
|
|
78
|
+
marginBottom: {
|
|
79
|
+
readonly [$$ScaleValue]: "space";
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
size: (value: {
|
|
83
|
+
readonly [$$PropertyValue]: "width";
|
|
84
|
+
}) => {
|
|
85
|
+
width: {
|
|
86
|
+
readonly [$$PropertyValue]: "width";
|
|
87
|
+
};
|
|
88
|
+
height: {
|
|
89
|
+
readonly [$$PropertyValue]: "width";
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
subtleColor: (value: string) => {
|
|
93
|
+
color: string;
|
|
94
|
+
backgroundColor: string;
|
|
95
|
+
};
|
|
96
|
+
}>>;
|
|
97
|
+
export default Box;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
declare const Flex: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
2
|
+
direction?: "column" | "row" | "rowReverse" | "columnReverse" | undefined;
|
|
3
|
+
align?: "stretch" | "center" | "end" | "start" | "baseline" | undefined;
|
|
4
|
+
justify?: "center" | "end" | "start" | "between" | "evenly" | "around" | undefined;
|
|
5
|
+
wrap?: "wrap" | "noWrap" | "wrapReverse" | undefined;
|
|
6
|
+
gap?: 10 | 12 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "10" | "12" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
7
|
+
m?: 10 | 12 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "10" | "12" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
8
|
+
mt?: 10 | 12 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "10" | "12" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
9
|
+
mb?: 10 | 12 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "10" | "12" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
10
|
+
mr?: 10 | 12 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "10" | "12" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
11
|
+
ml?: 10 | 12 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "10" | "12" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
12
|
+
mx?: 10 | 12 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "10" | "12" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
13
|
+
my?: 10 | 12 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | "10" | "12" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
sm: "(min-width: 359px)";
|
|
16
|
+
md: "(min-width: 767px)";
|
|
17
|
+
lg: "(min-width: 1023px)";
|
|
18
|
+
xl: "(min-width: 1199px)";
|
|
19
|
+
'2xl': "(min-width: 1399px)";
|
|
20
|
+
'3xl': "(min-width: 1600px)";
|
|
21
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
22
|
+
sm: "(min-width: 359px)";
|
|
23
|
+
md: "(min-width: 767px)";
|
|
24
|
+
lg: "(min-width: 1023px)";
|
|
25
|
+
xl: "(min-width: 1199px)";
|
|
26
|
+
'2xl': "(min-width: 1399px)";
|
|
27
|
+
'3xl': "(min-width: 1600px)";
|
|
28
|
+
}, {
|
|
29
|
+
colors: unknown;
|
|
30
|
+
space: unknown;
|
|
31
|
+
shadows: unknown;
|
|
32
|
+
fontSizes: unknown;
|
|
33
|
+
fonts: unknown;
|
|
34
|
+
lineHeights: unknown;
|
|
35
|
+
letterSpacings: unknown;
|
|
36
|
+
radii: unknown;
|
|
37
|
+
sizes: unknown;
|
|
38
|
+
zIndices: unknown;
|
|
39
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
40
|
+
m: (value: {
|
|
41
|
+
readonly [$$ScaleValue]: "space";
|
|
42
|
+
}) => {
|
|
43
|
+
margin: {
|
|
44
|
+
readonly [$$ScaleValue]: "space";
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
mt: (value: {
|
|
48
|
+
readonly [$$ScaleValue]: "space";
|
|
49
|
+
}) => {
|
|
50
|
+
marginTop: {
|
|
51
|
+
readonly [$$ScaleValue]: "space";
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
mr: (value: {
|
|
55
|
+
readonly [$$ScaleValue]: "space";
|
|
56
|
+
}) => {
|
|
57
|
+
marginRight: {
|
|
58
|
+
readonly [$$ScaleValue]: "space";
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
mb: (value: {
|
|
62
|
+
readonly [$$ScaleValue]: "space";
|
|
63
|
+
}) => {
|
|
64
|
+
marginBottom: {
|
|
65
|
+
readonly [$$ScaleValue]: "space";
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
ml: (value: {
|
|
69
|
+
readonly [$$ScaleValue]: "space";
|
|
70
|
+
}) => {
|
|
71
|
+
marginLeft: {
|
|
72
|
+
readonly [$$ScaleValue]: "space";
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
mx: (value: {
|
|
76
|
+
readonly [$$ScaleValue]: "space";
|
|
77
|
+
}) => {
|
|
78
|
+
marginLeft: {
|
|
79
|
+
readonly [$$ScaleValue]: "space";
|
|
80
|
+
};
|
|
81
|
+
marginRight: {
|
|
82
|
+
readonly [$$ScaleValue]: "space";
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
my: (value: {
|
|
86
|
+
readonly [$$ScaleValue]: "space";
|
|
87
|
+
}) => {
|
|
88
|
+
marginTop: {
|
|
89
|
+
readonly [$$ScaleValue]: "space";
|
|
90
|
+
};
|
|
91
|
+
marginBottom: {
|
|
92
|
+
readonly [$$ScaleValue]: "space";
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
size: (value: {
|
|
96
|
+
readonly [$$PropertyValue]: "width";
|
|
97
|
+
}) => {
|
|
98
|
+
width: {
|
|
99
|
+
readonly [$$PropertyValue]: "width";
|
|
100
|
+
};
|
|
101
|
+
height: {
|
|
102
|
+
readonly [$$PropertyValue]: "width";
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
subtleColor: (value: string) => {
|
|
106
|
+
color: string;
|
|
107
|
+
backgroundColor: string;
|
|
108
|
+
};
|
|
109
|
+
}>>;
|
|
110
|
+
export default Flex;
|
package/layout/flex/index.d.ts
CHANGED
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { CSS } from '../../config/stitches.config';
|
|
3
|
+
import { VariantProps } from '@stitches/react/types';
|
|
4
|
+
declare const GridComponent: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
5
|
+
align?: "stretch" | "center" | "end" | "start" | "baseline" | undefined;
|
|
6
|
+
justify?: "center" | "end" | "start" | "between" | undefined;
|
|
7
|
+
flow?: "column" | "row" | "dense" | "rowDense" | "columnDense" | undefined;
|
|
8
|
+
columns?: 10 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
|
|
9
|
+
rows?: 10 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
|
|
10
|
+
placeItems?: "left" | "right" | "stretch" | "center" | "end" | "start" | undefined;
|
|
11
|
+
gap?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | undefined;
|
|
12
|
+
gapX?: "normal" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | undefined;
|
|
13
|
+
gapY?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
sm: "(min-width: 359px)";
|
|
16
|
+
md: "(min-width: 767px)";
|
|
17
|
+
lg: "(min-width: 1023px)";
|
|
18
|
+
xl: "(min-width: 1199px)";
|
|
19
|
+
'2xl': "(min-width: 1399px)";
|
|
20
|
+
'3xl': "(min-width: 1600px)";
|
|
21
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
22
|
+
sm: "(min-width: 359px)";
|
|
23
|
+
md: "(min-width: 767px)";
|
|
24
|
+
lg: "(min-width: 1023px)";
|
|
25
|
+
xl: "(min-width: 1199px)";
|
|
26
|
+
'2xl': "(min-width: 1399px)";
|
|
27
|
+
'3xl': "(min-width: 1600px)";
|
|
28
|
+
}, {
|
|
29
|
+
colors: unknown;
|
|
30
|
+
space: unknown;
|
|
31
|
+
shadows: unknown;
|
|
32
|
+
fontSizes: unknown;
|
|
33
|
+
fonts: unknown;
|
|
34
|
+
lineHeights: unknown;
|
|
35
|
+
letterSpacings: unknown;
|
|
36
|
+
radii: unknown;
|
|
37
|
+
sizes: unknown;
|
|
38
|
+
zIndices: unknown;
|
|
39
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
40
|
+
m: (value: {
|
|
41
|
+
readonly [$$ScaleValue]: "space";
|
|
42
|
+
}) => {
|
|
43
|
+
margin: {
|
|
44
|
+
readonly [$$ScaleValue]: "space";
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
mt: (value: {
|
|
48
|
+
readonly [$$ScaleValue]: "space";
|
|
49
|
+
}) => {
|
|
50
|
+
marginTop: {
|
|
51
|
+
readonly [$$ScaleValue]: "space";
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
mr: (value: {
|
|
55
|
+
readonly [$$ScaleValue]: "space";
|
|
56
|
+
}) => {
|
|
57
|
+
marginRight: {
|
|
58
|
+
readonly [$$ScaleValue]: "space";
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
mb: (value: {
|
|
62
|
+
readonly [$$ScaleValue]: "space";
|
|
63
|
+
}) => {
|
|
64
|
+
marginBottom: {
|
|
65
|
+
readonly [$$ScaleValue]: "space";
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
ml: (value: {
|
|
69
|
+
readonly [$$ScaleValue]: "space";
|
|
70
|
+
}) => {
|
|
71
|
+
marginLeft: {
|
|
72
|
+
readonly [$$ScaleValue]: "space";
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
mx: (value: {
|
|
76
|
+
readonly [$$ScaleValue]: "space";
|
|
77
|
+
}) => {
|
|
78
|
+
marginLeft: {
|
|
79
|
+
readonly [$$ScaleValue]: "space";
|
|
80
|
+
};
|
|
81
|
+
marginRight: {
|
|
82
|
+
readonly [$$ScaleValue]: "space";
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
my: (value: {
|
|
86
|
+
readonly [$$ScaleValue]: "space";
|
|
87
|
+
}) => {
|
|
88
|
+
marginTop: {
|
|
89
|
+
readonly [$$ScaleValue]: "space";
|
|
90
|
+
};
|
|
91
|
+
marginBottom: {
|
|
92
|
+
readonly [$$ScaleValue]: "space";
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
size: (value: {
|
|
96
|
+
readonly [$$PropertyValue]: "width";
|
|
97
|
+
}) => {
|
|
98
|
+
width: {
|
|
99
|
+
readonly [$$PropertyValue]: "width";
|
|
100
|
+
};
|
|
101
|
+
height: {
|
|
102
|
+
readonly [$$PropertyValue]: "width";
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
subtleColor: (value: string) => {
|
|
106
|
+
color: string;
|
|
107
|
+
backgroundColor: string;
|
|
108
|
+
};
|
|
109
|
+
}>>;
|
|
110
|
+
interface GridProps extends VariantProps<typeof GridComponent> {
|
|
111
|
+
children: ReactNode;
|
|
112
|
+
css?: CSS;
|
|
113
|
+
autoColumns?: CSS['gridAutoColumns'];
|
|
114
|
+
autoRows?: CSS['gridAutoRows'];
|
|
115
|
+
templateColumns?: CSS['gridTemplateColumns'];
|
|
116
|
+
templateRows?: CSS['gridTemplateRows'];
|
|
117
|
+
}
|
|
118
|
+
export declare const Grid: {
|
|
119
|
+
({ children, ...props }: GridProps): JSX.Element;
|
|
120
|
+
displayName: string;
|
|
121
|
+
};
|
|
122
|
+
export default Grid;
|
|
123
|
+
declare const GridItemComponent: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
124
|
+
colSpan?: 10 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
|
|
125
|
+
rowSpan?: 10 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | undefined;
|
|
126
|
+
}, {
|
|
127
|
+
sm: "(min-width: 359px)";
|
|
128
|
+
md: "(min-width: 767px)";
|
|
129
|
+
lg: "(min-width: 1023px)";
|
|
130
|
+
xl: "(min-width: 1199px)";
|
|
131
|
+
'2xl': "(min-width: 1399px)";
|
|
132
|
+
'3xl': "(min-width: 1600px)";
|
|
133
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
134
|
+
sm: "(min-width: 359px)";
|
|
135
|
+
md: "(min-width: 767px)";
|
|
136
|
+
lg: "(min-width: 1023px)";
|
|
137
|
+
xl: "(min-width: 1199px)";
|
|
138
|
+
'2xl': "(min-width: 1399px)";
|
|
139
|
+
'3xl': "(min-width: 1600px)";
|
|
140
|
+
}, {
|
|
141
|
+
colors: unknown;
|
|
142
|
+
space: unknown;
|
|
143
|
+
shadows: unknown;
|
|
144
|
+
fontSizes: unknown;
|
|
145
|
+
fonts: unknown;
|
|
146
|
+
lineHeights: unknown;
|
|
147
|
+
letterSpacings: unknown;
|
|
148
|
+
radii: unknown;
|
|
149
|
+
sizes: unknown;
|
|
150
|
+
zIndices: unknown;
|
|
151
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
152
|
+
m: (value: {
|
|
153
|
+
readonly [$$ScaleValue]: "space";
|
|
154
|
+
}) => {
|
|
155
|
+
margin: {
|
|
156
|
+
readonly [$$ScaleValue]: "space";
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
mt: (value: {
|
|
160
|
+
readonly [$$ScaleValue]: "space";
|
|
161
|
+
}) => {
|
|
162
|
+
marginTop: {
|
|
163
|
+
readonly [$$ScaleValue]: "space";
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
mr: (value: {
|
|
167
|
+
readonly [$$ScaleValue]: "space";
|
|
168
|
+
}) => {
|
|
169
|
+
marginRight: {
|
|
170
|
+
readonly [$$ScaleValue]: "space";
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
mb: (value: {
|
|
174
|
+
readonly [$$ScaleValue]: "space";
|
|
175
|
+
}) => {
|
|
176
|
+
marginBottom: {
|
|
177
|
+
readonly [$$ScaleValue]: "space";
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
ml: (value: {
|
|
181
|
+
readonly [$$ScaleValue]: "space";
|
|
182
|
+
}) => {
|
|
183
|
+
marginLeft: {
|
|
184
|
+
readonly [$$ScaleValue]: "space";
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
mx: (value: {
|
|
188
|
+
readonly [$$ScaleValue]: "space";
|
|
189
|
+
}) => {
|
|
190
|
+
marginLeft: {
|
|
191
|
+
readonly [$$ScaleValue]: "space";
|
|
192
|
+
};
|
|
193
|
+
marginRight: {
|
|
194
|
+
readonly [$$ScaleValue]: "space";
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
my: (value: {
|
|
198
|
+
readonly [$$ScaleValue]: "space";
|
|
199
|
+
}) => {
|
|
200
|
+
marginTop: {
|
|
201
|
+
readonly [$$ScaleValue]: "space";
|
|
202
|
+
};
|
|
203
|
+
marginBottom: {
|
|
204
|
+
readonly [$$ScaleValue]: "space";
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
size: (value: {
|
|
208
|
+
readonly [$$PropertyValue]: "width";
|
|
209
|
+
}) => {
|
|
210
|
+
width: {
|
|
211
|
+
readonly [$$PropertyValue]: "width";
|
|
212
|
+
};
|
|
213
|
+
height: {
|
|
214
|
+
readonly [$$PropertyValue]: "width";
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
subtleColor: (value: string) => {
|
|
218
|
+
color: string;
|
|
219
|
+
backgroundColor: string;
|
|
220
|
+
};
|
|
221
|
+
}>>;
|
|
222
|
+
interface GridItemProps extends VariantProps<typeof GridItemComponent> {
|
|
223
|
+
children: ReactNode;
|
|
224
|
+
css?: CSS;
|
|
225
|
+
area?: CSS['gridArea'];
|
|
226
|
+
colStart?: CSS['gridColumnStart'];
|
|
227
|
+
colEnd?: CSS['gridColumnEnd'];
|
|
228
|
+
rowStart?: CSS['gridRowStart'];
|
|
229
|
+
rowEnd?: CSS['gridRowEnd'];
|
|
230
|
+
}
|
|
231
|
+
export declare const GridItem: {
|
|
232
|
+
({ children, ...props }: GridItemProps): JSX.Element;
|
|
233
|
+
displayName: string;
|
|
234
|
+
};
|