@majoo-ui/react 1.58.15-rc.1 → 1.58.16
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 +1 -109
- package/components/form/components/InputSelect/InputSelect.d.ts +1 -109
- package/components/table/Table.d.ts +1 -109
- package/index.esm.js +463 -320
- package/index.umd.js +502 -381
- package/layout/flex/index.d.ts +1 -0
- package/package.json +1 -1
- package/components/tag/Tag.d.ts +0 -16
- package/components/tag/index.d.ts +0 -2
- package/components/tooltip/Tooltip.d.ts +0 -217
- package/components/tooltip/index.d.ts +0 -2
- package/layout/box/Box.d.ts +0 -97
- package/layout/flex/Flex.d.ts +0 -110
- package/layout/grid/Grid.d.ts +0 -234
package/layout/flex/index.d.ts
CHANGED
package/package.json
CHANGED
package/components/tag/Tag.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CSS } from '../../config/stitches.config';
|
|
3
|
-
interface TagProps {
|
|
4
|
-
css?: CSS;
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
size?: 'sm' | 'lg';
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
type?: 'default' | 'success' | 'error' | 'varian';
|
|
9
|
-
icon?: React.ReactNode;
|
|
10
|
-
isRemovable?: boolean;
|
|
11
|
-
readOnly?: boolean;
|
|
12
|
-
onRemove?: (e: any) => void;
|
|
13
|
-
onClick?: () => void;
|
|
14
|
-
}
|
|
15
|
-
export declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
-
export default Tag;
|
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CSS } from '../../config/stitches.config';
|
|
3
|
-
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
4
|
-
export declare const TooltipBase: import("@stitches/react/types/styled-component").StyledComponent<React.FC<TooltipPrimitive.TooltipProps>, {}, {
|
|
5
|
-
sm: "(min-width: 359px)";
|
|
6
|
-
md: "(min-width: 767px)";
|
|
7
|
-
lg: "(min-width: 1023px)";
|
|
8
|
-
xl: "(min-width: 1199px)";
|
|
9
|
-
'2xl': "(min-width: 1399px)";
|
|
10
|
-
'3xl': "(min-width: 1600px)";
|
|
11
|
-
}, import("@stitches/react/types/css-util").CSS<{
|
|
12
|
-
sm: "(min-width: 359px)";
|
|
13
|
-
md: "(min-width: 767px)";
|
|
14
|
-
lg: "(min-width: 1023px)";
|
|
15
|
-
xl: "(min-width: 1199px)";
|
|
16
|
-
'2xl': "(min-width: 1399px)";
|
|
17
|
-
'3xl': "(min-width: 1600px)";
|
|
18
|
-
}, {
|
|
19
|
-
colors: unknown;
|
|
20
|
-
space: unknown;
|
|
21
|
-
shadows: unknown;
|
|
22
|
-
fontSizes: unknown;
|
|
23
|
-
fonts: unknown;
|
|
24
|
-
lineHeights: unknown;
|
|
25
|
-
letterSpacings: unknown;
|
|
26
|
-
radii: unknown;
|
|
27
|
-
sizes: unknown;
|
|
28
|
-
zIndices: unknown;
|
|
29
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
30
|
-
m: (value: {
|
|
31
|
-
readonly [$$ScaleValue]: "space";
|
|
32
|
-
}) => {
|
|
33
|
-
margin: {
|
|
34
|
-
readonly [$$ScaleValue]: "space";
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
mt: (value: {
|
|
38
|
-
readonly [$$ScaleValue]: "space";
|
|
39
|
-
}) => {
|
|
40
|
-
marginTop: {
|
|
41
|
-
readonly [$$ScaleValue]: "space";
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
mr: (value: {
|
|
45
|
-
readonly [$$ScaleValue]: "space";
|
|
46
|
-
}) => {
|
|
47
|
-
marginRight: {
|
|
48
|
-
readonly [$$ScaleValue]: "space";
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
mb: (value: {
|
|
52
|
-
readonly [$$ScaleValue]: "space";
|
|
53
|
-
}) => {
|
|
54
|
-
marginBottom: {
|
|
55
|
-
readonly [$$ScaleValue]: "space";
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
ml: (value: {
|
|
59
|
-
readonly [$$ScaleValue]: "space";
|
|
60
|
-
}) => {
|
|
61
|
-
marginLeft: {
|
|
62
|
-
readonly [$$ScaleValue]: "space";
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
mx: (value: {
|
|
66
|
-
readonly [$$ScaleValue]: "space";
|
|
67
|
-
}) => {
|
|
68
|
-
marginLeft: {
|
|
69
|
-
readonly [$$ScaleValue]: "space";
|
|
70
|
-
};
|
|
71
|
-
marginRight: {
|
|
72
|
-
readonly [$$ScaleValue]: "space";
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
my: (value: {
|
|
76
|
-
readonly [$$ScaleValue]: "space";
|
|
77
|
-
}) => {
|
|
78
|
-
marginTop: {
|
|
79
|
-
readonly [$$ScaleValue]: "space";
|
|
80
|
-
};
|
|
81
|
-
marginBottom: {
|
|
82
|
-
readonly [$$ScaleValue]: "space";
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
size: (value: {
|
|
86
|
-
readonly [$$PropertyValue]: "width";
|
|
87
|
-
}) => {
|
|
88
|
-
width: {
|
|
89
|
-
readonly [$$PropertyValue]: "width";
|
|
90
|
-
};
|
|
91
|
-
height: {
|
|
92
|
-
readonly [$$PropertyValue]: "width";
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
subtleColor: (value: string) => {
|
|
96
|
-
color: string;
|
|
97
|
-
backgroundColor: string;
|
|
98
|
-
};
|
|
99
|
-
}>>;
|
|
100
|
-
export declare const Provider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
101
|
-
export declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
102
|
-
export declare const TooltipContent: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>>, {}, {
|
|
103
|
-
sm: "(min-width: 359px)";
|
|
104
|
-
md: "(min-width: 767px)";
|
|
105
|
-
lg: "(min-width: 1023px)";
|
|
106
|
-
xl: "(min-width: 1199px)";
|
|
107
|
-
'2xl': "(min-width: 1399px)";
|
|
108
|
-
'3xl': "(min-width: 1600px)";
|
|
109
|
-
}, import("@stitches/react/types/css-util").CSS<{
|
|
110
|
-
sm: "(min-width: 359px)";
|
|
111
|
-
md: "(min-width: 767px)";
|
|
112
|
-
lg: "(min-width: 1023px)";
|
|
113
|
-
xl: "(min-width: 1199px)";
|
|
114
|
-
'2xl': "(min-width: 1399px)";
|
|
115
|
-
'3xl': "(min-width: 1600px)";
|
|
116
|
-
}, {
|
|
117
|
-
colors: unknown;
|
|
118
|
-
space: unknown;
|
|
119
|
-
shadows: unknown;
|
|
120
|
-
fontSizes: unknown;
|
|
121
|
-
fonts: unknown;
|
|
122
|
-
lineHeights: unknown;
|
|
123
|
-
letterSpacings: unknown;
|
|
124
|
-
radii: unknown;
|
|
125
|
-
sizes: unknown;
|
|
126
|
-
zIndices: unknown;
|
|
127
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
128
|
-
m: (value: {
|
|
129
|
-
readonly [$$ScaleValue]: "space";
|
|
130
|
-
}) => {
|
|
131
|
-
margin: {
|
|
132
|
-
readonly [$$ScaleValue]: "space";
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
mt: (value: {
|
|
136
|
-
readonly [$$ScaleValue]: "space";
|
|
137
|
-
}) => {
|
|
138
|
-
marginTop: {
|
|
139
|
-
readonly [$$ScaleValue]: "space";
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
mr: (value: {
|
|
143
|
-
readonly [$$ScaleValue]: "space";
|
|
144
|
-
}) => {
|
|
145
|
-
marginRight: {
|
|
146
|
-
readonly [$$ScaleValue]: "space";
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
mb: (value: {
|
|
150
|
-
readonly [$$ScaleValue]: "space";
|
|
151
|
-
}) => {
|
|
152
|
-
marginBottom: {
|
|
153
|
-
readonly [$$ScaleValue]: "space";
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
ml: (value: {
|
|
157
|
-
readonly [$$ScaleValue]: "space";
|
|
158
|
-
}) => {
|
|
159
|
-
marginLeft: {
|
|
160
|
-
readonly [$$ScaleValue]: "space";
|
|
161
|
-
};
|
|
162
|
-
};
|
|
163
|
-
mx: (value: {
|
|
164
|
-
readonly [$$ScaleValue]: "space";
|
|
165
|
-
}) => {
|
|
166
|
-
marginLeft: {
|
|
167
|
-
readonly [$$ScaleValue]: "space";
|
|
168
|
-
};
|
|
169
|
-
marginRight: {
|
|
170
|
-
readonly [$$ScaleValue]: "space";
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
my: (value: {
|
|
174
|
-
readonly [$$ScaleValue]: "space";
|
|
175
|
-
}) => {
|
|
176
|
-
marginTop: {
|
|
177
|
-
readonly [$$ScaleValue]: "space";
|
|
178
|
-
};
|
|
179
|
-
marginBottom: {
|
|
180
|
-
readonly [$$ScaleValue]: "space";
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
size: (value: {
|
|
184
|
-
readonly [$$PropertyValue]: "width";
|
|
185
|
-
}) => {
|
|
186
|
-
width: {
|
|
187
|
-
readonly [$$PropertyValue]: "width";
|
|
188
|
-
};
|
|
189
|
-
height: {
|
|
190
|
-
readonly [$$PropertyValue]: "width";
|
|
191
|
-
};
|
|
192
|
-
};
|
|
193
|
-
subtleColor: (value: string) => {
|
|
194
|
-
color: string;
|
|
195
|
-
backgroundColor: string;
|
|
196
|
-
};
|
|
197
|
-
}>>;
|
|
198
|
-
export interface TooltipProps extends TooltipPrimitive.TooltipProps {
|
|
199
|
-
css?: CSS;
|
|
200
|
-
children: React.ReactNode;
|
|
201
|
-
label: string | React.ReactNode;
|
|
202
|
-
color?: string;
|
|
203
|
-
side?: 'top' | 'bottom' | 'right' | 'left';
|
|
204
|
-
align?: 'start' | 'center' | 'end';
|
|
205
|
-
withClick?: boolean;
|
|
206
|
-
}
|
|
207
|
-
declare const Tooltip: {
|
|
208
|
-
({ children, label, color, css, withClick, side, align, ...rest }: TooltipProps): JSX.Element;
|
|
209
|
-
defaultProps: {
|
|
210
|
-
color: string;
|
|
211
|
-
side: string;
|
|
212
|
-
align: string;
|
|
213
|
-
label: string;
|
|
214
|
-
children: JSX.Element;
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
export default Tooltip;
|
package/layout/box/Box.d.ts
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
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;
|
package/layout/flex/Flex.d.ts
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
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/grid/Grid.d.ts
DELETED
|
@@ -1,234 +0,0 @@
|
|
|
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
|
-
};
|