@spothero/ui 25.4.0 → 25.5.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/dist/components/Accordion/styles/index.d.ts +2 -2
- package/dist/components/Badge/styles/index.d.ts +78 -0
- package/dist/components/Button/Button.styles.d.ts +601 -0
- package/dist/components/Card/Card.d.ts +4 -0
- package/dist/components/Checkbox/styles/index.d.ts +200 -0
- package/dist/components/Container/Container.d.ts +4 -0
- package/dist/components/Container/Container.styles.d.ts +10 -0
- package/dist/components/Divider/Divider.d.ts +11 -0
- package/dist/components/Divider/Divider.styles.d.ts +40 -0
- package/dist/components/Drawer/styles/index.d.ts +149 -0
- package/dist/components/FormControl/FormControl.d.ts +13 -0
- package/dist/components/Grid/GridItem.styles.d.ts +4 -0
- package/dist/components/Heading/Heading.styles.d.ts +66 -0
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Input/styles/index.d.ts +217 -0
- package/dist/components/Link/Link.styles.d.ts +102 -0
- package/dist/components/List/styles/index.d.ts +32 -0
- package/dist/components/List/styles/item.styles.d.ts +4 -0
- package/dist/components/Menu/Menu.styles.d.ts +258 -0
- package/dist/components/Modal/styles/body.d.ts +30 -0
- package/dist/components/Modal/styles/closeButton.d.ts +18 -0
- package/dist/components/Modal/styles/dialog.d.ts +16 -0
- package/dist/components/Modal/styles/dialogContainer.d.ts +12 -0
- package/dist/components/Modal/styles/footer.d.ts +6 -0
- package/dist/components/Modal/styles/header.d.ts +10 -0
- package/dist/components/Modal/styles/index.d.ts +227 -0
- package/dist/components/Modal/styles/overlay.d.ts +5 -0
- package/dist/components/Popover/styles/index.d.ts +100 -0
- package/dist/components/Popover/styles/popover-body.d.ts +4 -0
- package/dist/components/Popover/styles/popover-content.d.ts +20 -0
- package/dist/components/Popover/styles/popover-header.d.ts +5 -0
- package/dist/components/Popover/styles/popper.d.ts +4 -0
- package/dist/components/Progress/Progress.styles.d.ts +75 -0
- package/dist/components/Radio/styles/index.d.ts +292 -0
- package/dist/components/RefreshedInput/Button/styles/index.d.ts +413 -0
- package/dist/components/RefreshedInput/Input/styles/index.d.ts +260 -0
- package/dist/components/Select/styles/index.d.ts +2 -2
- package/dist/components/Skeleton/Skeleton.styles.d.ts +26 -0
- package/dist/components/Spinner/Spinner.d.ts +12 -0
- package/dist/components/Spinner/Spinner.styles.d.ts +144 -0
- package/dist/components/Switch/styles/index.d.ts +116 -0
- package/dist/components/Table/Table.styles.d.ts +69 -0
- package/dist/components/Tabs/styles/index.d.ts +308 -0
- package/dist/components/Text/Text.styles.d.ts +30 -0
- package/dist/components/styles.d.ts +26 -0
- package/dist/index.cjs.js +1824 -713
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +248 -0
- package/dist/index.esm.js +1824 -713
- package/dist/index.esm.js.map +1 -1
- package/dist/theme/base/breakpoints.d.ts +6 -6
- package/dist/theme/base/colors.d.ts +106 -116
- package/dist/theme/base/index.d.ts +7 -7
- package/dist/theme/base/notifications.d.ts +80 -104
- package/dist/theme/base/sizes.d.ts +41 -41
- package/dist/theme/base/typography.d.ts +22 -22
- package/dist/theme/base/zindices.d.ts +15 -15
- package/dist/theme/global.d.ts +21 -0
- package/dist/theme/index.d.ts +2 -0
- package/package.json +5 -5
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
baseStyle?: ((props: import("@chakra-ui/react").StyleFunctionProps) => {
|
|
3
|
+
root: {
|
|
4
|
+
display: string;
|
|
5
|
+
};
|
|
6
|
+
tab: {
|
|
7
|
+
flex: number | undefined;
|
|
8
|
+
transitionProperty: string;
|
|
9
|
+
transitionDuration: string;
|
|
10
|
+
_focusVisible: {
|
|
11
|
+
zIndex: number;
|
|
12
|
+
boxShadow: string;
|
|
13
|
+
};
|
|
14
|
+
_disabled: {
|
|
15
|
+
cursor: string;
|
|
16
|
+
opacity: number;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
tablist: {
|
|
20
|
+
justifyContent: string;
|
|
21
|
+
flexDirection: string;
|
|
22
|
+
};
|
|
23
|
+
tabpanel: {
|
|
24
|
+
p: number;
|
|
25
|
+
};
|
|
26
|
+
}) | undefined;
|
|
27
|
+
sizes?: {
|
|
28
|
+
sm: {
|
|
29
|
+
tab: {
|
|
30
|
+
py: number;
|
|
31
|
+
px: number;
|
|
32
|
+
fontSize: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
md: {
|
|
36
|
+
tab: {
|
|
37
|
+
fontSize: string;
|
|
38
|
+
py: number;
|
|
39
|
+
px: number;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
lg: {
|
|
43
|
+
tab: {
|
|
44
|
+
fontSize: string;
|
|
45
|
+
py: number;
|
|
46
|
+
px: number;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
} | undefined;
|
|
50
|
+
variants?: {
|
|
51
|
+
line: (props: import("@chakra-ui/react").StyleFunctionProps) => {
|
|
52
|
+
tablist: {
|
|
53
|
+
[x: string]: string;
|
|
54
|
+
borderColor: string;
|
|
55
|
+
};
|
|
56
|
+
tab: {
|
|
57
|
+
[x: string]: string | {
|
|
58
|
+
[x: string]: string | {
|
|
59
|
+
[x: string]: string;
|
|
60
|
+
};
|
|
61
|
+
_dark: {
|
|
62
|
+
[x: string]: string;
|
|
63
|
+
};
|
|
64
|
+
borderColor: string;
|
|
65
|
+
_active?: undefined;
|
|
66
|
+
} | {
|
|
67
|
+
[x: string]: string | {
|
|
68
|
+
[x: string]: string;
|
|
69
|
+
};
|
|
70
|
+
_dark: {
|
|
71
|
+
[x: string]: string;
|
|
72
|
+
};
|
|
73
|
+
borderColor?: undefined;
|
|
74
|
+
_active?: undefined;
|
|
75
|
+
} | {
|
|
76
|
+
_active: {
|
|
77
|
+
bg: string;
|
|
78
|
+
};
|
|
79
|
+
_dark?: undefined;
|
|
80
|
+
borderColor?: undefined;
|
|
81
|
+
};
|
|
82
|
+
borderColor: string;
|
|
83
|
+
_selected: {
|
|
84
|
+
[x: string]: string | {
|
|
85
|
+
[x: string]: string;
|
|
86
|
+
};
|
|
87
|
+
_dark: {
|
|
88
|
+
[x: string]: string;
|
|
89
|
+
};
|
|
90
|
+
borderColor: string;
|
|
91
|
+
};
|
|
92
|
+
_active: {
|
|
93
|
+
[x: string]: string | {
|
|
94
|
+
[x: string]: string;
|
|
95
|
+
};
|
|
96
|
+
_dark: {
|
|
97
|
+
[x: string]: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
_disabled: {
|
|
101
|
+
_active: {
|
|
102
|
+
bg: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
color: string;
|
|
106
|
+
bg: string;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
enclosed: (props: import("@chakra-ui/react").StyleFunctionProps) => {
|
|
110
|
+
tab: {
|
|
111
|
+
[x: string]: string | {
|
|
112
|
+
[x: string]: string | {
|
|
113
|
+
[x: string]: string;
|
|
114
|
+
};
|
|
115
|
+
_dark: {
|
|
116
|
+
[x: string]: string;
|
|
117
|
+
};
|
|
118
|
+
borderColor: string;
|
|
119
|
+
borderBottomColor: string;
|
|
120
|
+
};
|
|
121
|
+
borderTopRadius: string;
|
|
122
|
+
border: string;
|
|
123
|
+
borderColor: string;
|
|
124
|
+
mb: string;
|
|
125
|
+
_selected: {
|
|
126
|
+
[x: string]: string | {
|
|
127
|
+
[x: string]: string;
|
|
128
|
+
};
|
|
129
|
+
_dark: {
|
|
130
|
+
[x: string]: string;
|
|
131
|
+
};
|
|
132
|
+
borderColor: string;
|
|
133
|
+
borderBottomColor: string;
|
|
134
|
+
};
|
|
135
|
+
color: string;
|
|
136
|
+
};
|
|
137
|
+
tablist: {
|
|
138
|
+
mb: string;
|
|
139
|
+
borderBottom: string;
|
|
140
|
+
borderColor: string;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
"enclosed-colored": (props: import("@chakra-ui/react").StyleFunctionProps) => {
|
|
144
|
+
tab: {
|
|
145
|
+
[x: string]: string | {
|
|
146
|
+
[x: string]: string;
|
|
147
|
+
marginEnd?: undefined;
|
|
148
|
+
_dark?: undefined;
|
|
149
|
+
borderColor?: undefined;
|
|
150
|
+
borderTopColor?: undefined;
|
|
151
|
+
borderBottomColor?: undefined;
|
|
152
|
+
} | {
|
|
153
|
+
marginEnd: string;
|
|
154
|
+
_dark?: undefined;
|
|
155
|
+
borderColor?: undefined;
|
|
156
|
+
borderTopColor?: undefined;
|
|
157
|
+
borderBottomColor?: undefined;
|
|
158
|
+
} | {
|
|
159
|
+
[x: string]: string | {
|
|
160
|
+
[x: string]: string;
|
|
161
|
+
};
|
|
162
|
+
_dark: {
|
|
163
|
+
[x: string]: string;
|
|
164
|
+
};
|
|
165
|
+
borderColor: string;
|
|
166
|
+
borderTopColor: string;
|
|
167
|
+
borderBottomColor: string;
|
|
168
|
+
marginEnd?: undefined;
|
|
169
|
+
};
|
|
170
|
+
border: string;
|
|
171
|
+
borderColor: string;
|
|
172
|
+
_dark: {
|
|
173
|
+
[x: string]: string;
|
|
174
|
+
};
|
|
175
|
+
mb: string;
|
|
176
|
+
_notLast: {
|
|
177
|
+
marginEnd: string;
|
|
178
|
+
};
|
|
179
|
+
_selected: {
|
|
180
|
+
[x: string]: string | {
|
|
181
|
+
[x: string]: string;
|
|
182
|
+
};
|
|
183
|
+
_dark: {
|
|
184
|
+
[x: string]: string;
|
|
185
|
+
};
|
|
186
|
+
borderColor: string;
|
|
187
|
+
borderTopColor: string;
|
|
188
|
+
borderBottomColor: string;
|
|
189
|
+
};
|
|
190
|
+
color: string;
|
|
191
|
+
bg: string;
|
|
192
|
+
};
|
|
193
|
+
tablist: {
|
|
194
|
+
mb: string;
|
|
195
|
+
borderBottom: string;
|
|
196
|
+
borderColor: string;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
"soft-rounded": (props: import("@chakra-ui/react").StyleFunctionProps) => {
|
|
200
|
+
tab: {
|
|
201
|
+
borderRadius: string;
|
|
202
|
+
fontWeight: string;
|
|
203
|
+
color: string;
|
|
204
|
+
_selected: {
|
|
205
|
+
color: any;
|
|
206
|
+
bg: any;
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
"solid-rounded": (props: import("@chakra-ui/react").StyleFunctionProps) => {
|
|
211
|
+
tab: {
|
|
212
|
+
[x: string]: string | {
|
|
213
|
+
[x: string]: string;
|
|
214
|
+
_dark?: undefined;
|
|
215
|
+
} | {
|
|
216
|
+
[x: string]: string | {
|
|
217
|
+
[x: string]: string;
|
|
218
|
+
};
|
|
219
|
+
_dark: {
|
|
220
|
+
[x: string]: string;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
borderRadius: string;
|
|
224
|
+
fontWeight: string;
|
|
225
|
+
_dark: {
|
|
226
|
+
[x: string]: string;
|
|
227
|
+
};
|
|
228
|
+
_selected: {
|
|
229
|
+
[x: string]: string | {
|
|
230
|
+
[x: string]: string;
|
|
231
|
+
};
|
|
232
|
+
_dark: {
|
|
233
|
+
[x: string]: string;
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
color: string;
|
|
237
|
+
bg: string;
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
unstyled: {};
|
|
241
|
+
} | undefined;
|
|
242
|
+
defaultProps?: {
|
|
243
|
+
size?: "md" | "sm" | "lg" | undefined;
|
|
244
|
+
variant?: "unstyled" | "line" | "enclosed" | "enclosed-colored" | "soft-rounded" | "solid-rounded" | undefined;
|
|
245
|
+
colorScheme?: string | undefined;
|
|
246
|
+
} | undefined;
|
|
247
|
+
parts: ("root" | "tab" | "tabpanel" | "tabpanels" | "tablist" | "indicator")[];
|
|
248
|
+
} & {
|
|
249
|
+
variants: {
|
|
250
|
+
line: {
|
|
251
|
+
tablist: {
|
|
252
|
+
borderBottom: string;
|
|
253
|
+
borderColor: string;
|
|
254
|
+
};
|
|
255
|
+
tab: {
|
|
256
|
+
color: string;
|
|
257
|
+
borderBottom: string;
|
|
258
|
+
borderColor: string;
|
|
259
|
+
marginBottom: string;
|
|
260
|
+
_selected: {
|
|
261
|
+
color: string;
|
|
262
|
+
borderColor: string;
|
|
263
|
+
fontWeight: string;
|
|
264
|
+
};
|
|
265
|
+
_active: {
|
|
266
|
+
color: string;
|
|
267
|
+
bg: string;
|
|
268
|
+
};
|
|
269
|
+
_disabled: {
|
|
270
|
+
opacity: number;
|
|
271
|
+
cursor: string;
|
|
272
|
+
};
|
|
273
|
+
_hover: {
|
|
274
|
+
color: string;
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
enclosed: {
|
|
279
|
+
tablist: {
|
|
280
|
+
backgroundColor: string;
|
|
281
|
+
borderRadius: string;
|
|
282
|
+
borederColor: string;
|
|
283
|
+
borderWidth: string;
|
|
284
|
+
paddingY: number;
|
|
285
|
+
};
|
|
286
|
+
tab: {
|
|
287
|
+
borderRadius: string;
|
|
288
|
+
marginX: number;
|
|
289
|
+
_selected: {
|
|
290
|
+
fontWeight: string;
|
|
291
|
+
color: string;
|
|
292
|
+
backgroundColor: string;
|
|
293
|
+
_hover: {
|
|
294
|
+
backgroundColor: string;
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
_active: {
|
|
298
|
+
backgroundColor: string;
|
|
299
|
+
};
|
|
300
|
+
_disabled: {
|
|
301
|
+
opacity: number;
|
|
302
|
+
cursor: string;
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export namespace variants {
|
|
2
|
+
namespace body {
|
|
3
|
+
namespace fontSize {
|
|
4
|
+
let base: "1rem";
|
|
5
|
+
let desktop: "1rem";
|
|
6
|
+
}
|
|
7
|
+
let lineHeight: number;
|
|
8
|
+
let fontWeight: 400;
|
|
9
|
+
}
|
|
10
|
+
namespace body2 {
|
|
11
|
+
export namespace fontSize_1 {
|
|
12
|
+
let base_1: "0.875rem";
|
|
13
|
+
export { base_1 as base };
|
|
14
|
+
let desktop_1: "0.875rem";
|
|
15
|
+
export { desktop_1 as desktop };
|
|
16
|
+
}
|
|
17
|
+
export { fontSize_1 as fontSize };
|
|
18
|
+
}
|
|
19
|
+
namespace caption {
|
|
20
|
+
export namespace fontSize_2 {
|
|
21
|
+
let base_2: "0.75rem";
|
|
22
|
+
export { base_2 as base };
|
|
23
|
+
let desktop_2: "0.75rem";
|
|
24
|
+
export { desktop_2 as desktop };
|
|
25
|
+
}
|
|
26
|
+
export { fontSize_2 as fontSize };
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
declare const _default: any;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export { default as List } from './List/styles';
|
|
2
|
+
export { default as Table } from './Table/Table.styles';
|
|
3
|
+
export { default as Text } from './Text/Text.styles';
|
|
4
|
+
export { default as Link } from './Link/Link.styles';
|
|
5
|
+
export { default as Accordion } from './Accordion/styles';
|
|
6
|
+
export { default as Button } from './Button/Button.styles';
|
|
7
|
+
export { default as GridItem } from './Grid/GridItem.styles';
|
|
8
|
+
export { default as Spinner } from './Spinner/Spinner.styles';
|
|
9
|
+
export { default as Heading } from './Heading/Heading.styles';
|
|
10
|
+
export { default as Divider } from './Divider/Divider.styles';
|
|
11
|
+
export { default as Tabs } from './Tabs/styles';
|
|
12
|
+
export { default as Select } from './Select/styles';
|
|
13
|
+
export { default as Checkbox } from './Checkbox/styles';
|
|
14
|
+
export { default as Switch } from './Switch/styles';
|
|
15
|
+
export { default as Popover } from './Popover/styles';
|
|
16
|
+
export { default as Input } from './Input/styles';
|
|
17
|
+
export { default as InputRefreshed } from './RefreshedInput/Input/styles';
|
|
18
|
+
export { default as SelectRefreshed } from './RefreshedInput/Select/styles';
|
|
19
|
+
export { default as ButtonRefreshed } from './RefreshedInput/Button/styles';
|
|
20
|
+
export { default as Modal } from './Modal/styles';
|
|
21
|
+
export { default as Radio } from './Radio/styles';
|
|
22
|
+
export { default as Skeleton } from './Skeleton/Skeleton.styles';
|
|
23
|
+
export { default as Badge } from './Badge/styles';
|
|
24
|
+
export { default as Drawer } from './Drawer/styles';
|
|
25
|
+
export { default as Progress } from './Progress/Progress.styles';
|
|
26
|
+
export { default as Menu } from './Menu/Menu.styles';
|