@matbea-ui/matbea-ui 0.1.0 → 0.1.2
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/matbea-ui.cjs.js +1 -933
- package/dist/matbea-ui.cjs10.js +1 -0
- package/dist/matbea-ui.cjs11.js +1 -0
- package/dist/matbea-ui.cjs12.js +1 -0
- package/dist/matbea-ui.cjs13.js +1 -0
- package/dist/matbea-ui.cjs14.js +1 -0
- package/dist/matbea-ui.cjs15.js +1 -0
- package/dist/matbea-ui.cjs16.js +1 -0
- package/dist/matbea-ui.cjs17.js +1 -0
- package/dist/matbea-ui.cjs18.js +1 -0
- package/dist/matbea-ui.cjs19.js +1 -0
- package/dist/matbea-ui.cjs2.js +1 -0
- package/dist/matbea-ui.cjs20.js +1 -0
- package/dist/matbea-ui.cjs21.js +1 -0
- package/dist/matbea-ui.cjs22.js +1 -0
- package/dist/matbea-ui.cjs23.js +1 -0
- package/dist/matbea-ui.cjs24.js +1 -0
- package/dist/matbea-ui.cjs25.js +1 -0
- package/dist/matbea-ui.cjs26.js +1 -0
- package/dist/matbea-ui.cjs27.js +1 -0
- package/dist/matbea-ui.cjs28.js +1 -0
- package/dist/matbea-ui.cjs29.js +63 -0
- package/dist/matbea-ui.cjs3.js +1 -0
- package/dist/matbea-ui.cjs30.js +34 -0
- package/dist/matbea-ui.cjs31.js +44 -0
- package/dist/matbea-ui.cjs32.js +1 -0
- package/dist/matbea-ui.cjs33.js +11 -0
- package/dist/matbea-ui.cjs34.js +71 -0
- package/dist/matbea-ui.cjs35.js +14 -0
- package/dist/matbea-ui.cjs36.js +11 -0
- package/dist/matbea-ui.cjs37.js +1 -0
- package/dist/matbea-ui.cjs38.js +1 -0
- package/dist/matbea-ui.cjs39.js +37 -0
- package/dist/matbea-ui.cjs4.js +1 -0
- package/dist/matbea-ui.cjs40.js +62 -0
- package/dist/matbea-ui.cjs41.js +102 -0
- package/dist/matbea-ui.cjs42.js +103 -0
- package/dist/matbea-ui.cjs43.js +7 -0
- package/dist/matbea-ui.cjs44.js +1 -0
- package/dist/matbea-ui.cjs45.js +1 -0
- package/dist/matbea-ui.cjs46.js +55 -0
- package/dist/matbea-ui.cjs47.js +23 -0
- package/dist/matbea-ui.cjs48.js +38 -0
- package/dist/matbea-ui.cjs49.js +51 -0
- package/dist/matbea-ui.cjs5.js +1 -0
- package/dist/matbea-ui.cjs50.js +1 -0
- package/dist/matbea-ui.cjs51.js +27 -0
- package/dist/matbea-ui.cjs52.js +48 -0
- package/dist/matbea-ui.cjs53.js +1 -0
- package/dist/matbea-ui.cjs54.js +1 -0
- package/dist/matbea-ui.cjs55.js +1 -0
- package/dist/matbea-ui.cjs56.js +34 -0
- package/dist/matbea-ui.cjs57.js +11 -0
- package/dist/matbea-ui.cjs58.js +24 -0
- package/dist/matbea-ui.cjs59.js +27 -0
- package/dist/matbea-ui.cjs6.js +1 -0
- package/dist/matbea-ui.cjs60.js +29 -0
- package/dist/matbea-ui.cjs61.js +1 -0
- package/dist/matbea-ui.cjs62.js +20 -0
- package/dist/matbea-ui.cjs63.js +1 -0
- package/dist/matbea-ui.cjs64.js +1 -0
- package/dist/matbea-ui.cjs65.js +1 -0
- package/dist/matbea-ui.cjs66.js +6 -0
- package/dist/matbea-ui.cjs67.js +6 -0
- package/dist/matbea-ui.cjs68.js +1 -0
- package/dist/matbea-ui.cjs69.js +1 -0
- package/dist/matbea-ui.cjs7.js +1 -0
- package/dist/matbea-ui.cjs70.js +1 -0
- package/dist/matbea-ui.cjs71.js +1 -0
- package/dist/matbea-ui.cjs72.js +1 -0
- package/dist/matbea-ui.cjs8.js +1 -0
- package/dist/matbea-ui.cjs9.js +1 -0
- package/dist/matbea-ui.es.js +54 -2670
- package/dist/matbea-ui.es10.js +10 -0
- package/dist/matbea-ui.es11.js +47 -0
- package/dist/matbea-ui.es12.js +178 -0
- package/dist/matbea-ui.es13.js +188 -0
- package/dist/matbea-ui.es14.js +12 -0
- package/dist/matbea-ui.es15.js +31 -0
- package/dist/matbea-ui.es16.js +25 -0
- package/dist/matbea-ui.es17.js +40 -0
- package/dist/matbea-ui.es18.js +43 -0
- package/dist/matbea-ui.es19.js +25 -0
- package/dist/matbea-ui.es2.js +38 -0
- package/dist/matbea-ui.es20.js +13 -0
- package/dist/matbea-ui.es21.js +33 -0
- package/dist/matbea-ui.es22.js +16 -0
- package/dist/matbea-ui.es23.js +25 -0
- package/dist/matbea-ui.es24.js +36 -0
- package/dist/matbea-ui.es25.js +29 -0
- package/dist/matbea-ui.es26.js +30 -0
- package/dist/matbea-ui.es27.js +20 -0
- package/dist/matbea-ui.es28.js +5 -0
- package/dist/matbea-ui.es29.js +163 -0
- package/dist/matbea-ui.es3.js +24 -0
- package/dist/matbea-ui.es30.js +40 -0
- package/dist/matbea-ui.es31.js +330 -0
- package/dist/matbea-ui.es32.js +15 -0
- package/dist/matbea-ui.es33.js +26 -0
- package/dist/matbea-ui.es34.js +85 -0
- package/dist/matbea-ui.es35.js +18 -0
- package/dist/matbea-ui.es36.js +18 -0
- package/dist/matbea-ui.es37.js +24 -0
- package/dist/matbea-ui.es38.js +10 -0
- package/dist/matbea-ui.es39.js +42 -0
- package/dist/matbea-ui.es4.js +31 -0
- package/dist/matbea-ui.es40.js +70 -0
- package/dist/matbea-ui.es41.js +119 -0
- package/dist/matbea-ui.es42.js +131 -0
- package/dist/matbea-ui.es43.js +13 -0
- package/dist/matbea-ui.es44.js +25 -0
- package/dist/matbea-ui.es45.js +34 -0
- package/dist/matbea-ui.es46.js +64 -0
- package/dist/matbea-ui.es47.js +39 -0
- package/dist/matbea-ui.es48.js +44 -0
- package/dist/matbea-ui.es49.js +58 -0
- package/dist/matbea-ui.es5.js +19 -0
- package/dist/matbea-ui.es50.js +26 -0
- package/dist/matbea-ui.es51.js +58 -0
- package/dist/matbea-ui.es52.js +62 -0
- package/dist/matbea-ui.es53.js +12 -0
- package/dist/matbea-ui.es54.js +12 -0
- package/dist/matbea-ui.es55.js +15 -0
- package/dist/matbea-ui.es56.js +74 -0
- package/dist/matbea-ui.es57.js +17 -0
- package/dist/matbea-ui.es58.js +55 -0
- package/dist/matbea-ui.es59.js +57 -0
- package/dist/matbea-ui.es6.js +62 -0
- package/dist/matbea-ui.es60.js +59 -0
- package/dist/matbea-ui.es61.js +21 -0
- package/dist/matbea-ui.es62.js +34 -0
- package/dist/matbea-ui.es63.js +10 -0
- package/dist/matbea-ui.es64.js +4 -0
- package/dist/matbea-ui.es65.js +26 -0
- package/dist/matbea-ui.es66.js +236 -0
- package/dist/matbea-ui.es67.js +10 -0
- package/dist/matbea-ui.es68.js +9 -0
- package/dist/matbea-ui.es69.js +12 -0
- package/dist/matbea-ui.es7.js +5 -0
- package/dist/matbea-ui.es70.js +4 -0
- package/dist/matbea-ui.es71.js +4 -0
- package/dist/matbea-ui.es72.js +17 -0
- package/dist/matbea-ui.es8.js +6 -0
- package/dist/matbea-ui.es9.js +27 -0
- package/package.json +1 -1
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import { css as i, styled as g } from "styled-components";
|
|
2
|
+
const e = {
|
|
3
|
+
regular: 400,
|
|
4
|
+
semibold: 600,
|
|
5
|
+
bold: 700
|
|
6
|
+
}, h = {
|
|
7
|
+
h1: {
|
|
8
|
+
mobile: {
|
|
9
|
+
fontSize: "26px",
|
|
10
|
+
lineHeight: "32px",
|
|
11
|
+
fontWeight: e.semibold
|
|
12
|
+
},
|
|
13
|
+
tablet: {
|
|
14
|
+
fontSize: "34px",
|
|
15
|
+
lineHeight: "42px",
|
|
16
|
+
fontWeight: e.semibold
|
|
17
|
+
},
|
|
18
|
+
desktop: {
|
|
19
|
+
fontSize: "44px",
|
|
20
|
+
lineHeight: "54px",
|
|
21
|
+
fontWeight: e.semibold,
|
|
22
|
+
textTransform: "uppercase"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
h2: {
|
|
26
|
+
mobile: {
|
|
27
|
+
fontSize: "22px",
|
|
28
|
+
lineHeight: "28px",
|
|
29
|
+
fontWeight: e.semibold
|
|
30
|
+
},
|
|
31
|
+
tablet: {
|
|
32
|
+
fontSize: "30px",
|
|
33
|
+
lineHeight: "37px",
|
|
34
|
+
fontWeight: e.semibold
|
|
35
|
+
},
|
|
36
|
+
desktop: {
|
|
37
|
+
fontSize: "32px",
|
|
38
|
+
lineHeight: "40px",
|
|
39
|
+
fontWeight: e.semibold
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
h3: {
|
|
43
|
+
mobile: {
|
|
44
|
+
fontSize: "20px",
|
|
45
|
+
lineHeight: "24px",
|
|
46
|
+
fontWeight: e.semibold
|
|
47
|
+
},
|
|
48
|
+
tablet: {
|
|
49
|
+
fontSize: "28px",
|
|
50
|
+
lineHeight: "34px",
|
|
51
|
+
fontWeight: e.semibold
|
|
52
|
+
},
|
|
53
|
+
desktop: {
|
|
54
|
+
fontSize: "30px",
|
|
55
|
+
lineHeight: "38px",
|
|
56
|
+
fontWeight: e.semibold
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
h4: {
|
|
60
|
+
mobile: {
|
|
61
|
+
fontSize: "18px",
|
|
62
|
+
lineHeight: "22px",
|
|
63
|
+
fontWeight: e.semibold
|
|
64
|
+
},
|
|
65
|
+
tablet: {
|
|
66
|
+
fontSize: "24px",
|
|
67
|
+
lineHeight: "30px",
|
|
68
|
+
fontWeight: e.semibold
|
|
69
|
+
},
|
|
70
|
+
desktop: {
|
|
71
|
+
fontSize: "24px",
|
|
72
|
+
lineHeight: "30px",
|
|
73
|
+
fontWeight: e.semibold
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
h5: {
|
|
77
|
+
mobile: {
|
|
78
|
+
fontSize: "16px",
|
|
79
|
+
lineHeight: "20px",
|
|
80
|
+
fontWeight: e.semibold
|
|
81
|
+
},
|
|
82
|
+
tablet: {
|
|
83
|
+
fontSize: "20px",
|
|
84
|
+
lineHeight: "24px",
|
|
85
|
+
fontWeight: e.semibold
|
|
86
|
+
},
|
|
87
|
+
desktop: {
|
|
88
|
+
fontSize: "20px",
|
|
89
|
+
lineHeight: "24px",
|
|
90
|
+
fontWeight: e.semibold
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"body-xl-semibold": {
|
|
94
|
+
mobile: {
|
|
95
|
+
fontSize: "18px",
|
|
96
|
+
lineHeight: "22px",
|
|
97
|
+
fontWeight: e.semibold
|
|
98
|
+
},
|
|
99
|
+
tablet: {
|
|
100
|
+
fontSize: "22px",
|
|
101
|
+
lineHeight: "28px",
|
|
102
|
+
fontWeight: e.semibold
|
|
103
|
+
},
|
|
104
|
+
desktop: {
|
|
105
|
+
fontSize: "24px",
|
|
106
|
+
lineHeight: "30px",
|
|
107
|
+
fontWeight: e.semibold
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"body-xl": {
|
|
111
|
+
mobile: {
|
|
112
|
+
fontSize: "18px",
|
|
113
|
+
lineHeight: "22px",
|
|
114
|
+
fontWeight: e.regular
|
|
115
|
+
},
|
|
116
|
+
tablet: {
|
|
117
|
+
fontSize: "22px",
|
|
118
|
+
lineHeight: "28px",
|
|
119
|
+
fontWeight: e.regular
|
|
120
|
+
},
|
|
121
|
+
desktop: {
|
|
122
|
+
fontSize: "24px",
|
|
123
|
+
lineHeight: "30px",
|
|
124
|
+
fontWeight: e.regular
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"body-l-semibold": {
|
|
128
|
+
mobile: {
|
|
129
|
+
fontSize: "16px",
|
|
130
|
+
lineHeight: "19px",
|
|
131
|
+
fontWeight: e.semibold
|
|
132
|
+
},
|
|
133
|
+
tablet: {
|
|
134
|
+
fontSize: "18px",
|
|
135
|
+
lineHeight: "22px",
|
|
136
|
+
fontWeight: e.semibold
|
|
137
|
+
},
|
|
138
|
+
desktop: {
|
|
139
|
+
fontSize: "18px",
|
|
140
|
+
lineHeight: "22px",
|
|
141
|
+
fontWeight: e.semibold
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"body-l": {
|
|
145
|
+
mobile: {
|
|
146
|
+
fontSize: "16px",
|
|
147
|
+
lineHeight: "19px",
|
|
148
|
+
fontWeight: e.regular
|
|
149
|
+
},
|
|
150
|
+
tablet: {
|
|
151
|
+
fontSize: "18px",
|
|
152
|
+
lineHeight: "22px",
|
|
153
|
+
fontWeight: e.regular
|
|
154
|
+
},
|
|
155
|
+
desktop: {
|
|
156
|
+
fontSize: "18px",
|
|
157
|
+
lineHeight: "22px",
|
|
158
|
+
fontWeight: e.regular
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"body-m-bold": {
|
|
162
|
+
mobile: {
|
|
163
|
+
fontSize: "14px",
|
|
164
|
+
lineHeight: "17px",
|
|
165
|
+
fontWeight: e.bold
|
|
166
|
+
},
|
|
167
|
+
tablet: {
|
|
168
|
+
fontSize: "16px",
|
|
169
|
+
lineHeight: "20px",
|
|
170
|
+
fontWeight: e.bold
|
|
171
|
+
},
|
|
172
|
+
desktop: {
|
|
173
|
+
fontSize: "16px",
|
|
174
|
+
lineHeight: "20px",
|
|
175
|
+
fontWeight: e.bold
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"body-m-semibold": {
|
|
179
|
+
mobile: {
|
|
180
|
+
fontSize: "14px",
|
|
181
|
+
lineHeight: "17px",
|
|
182
|
+
fontWeight: e.semibold
|
|
183
|
+
},
|
|
184
|
+
tablet: {
|
|
185
|
+
fontSize: "16px",
|
|
186
|
+
lineHeight: "20px",
|
|
187
|
+
fontWeight: e.semibold
|
|
188
|
+
},
|
|
189
|
+
desktop: {
|
|
190
|
+
fontSize: "16px",
|
|
191
|
+
lineHeight: "20px",
|
|
192
|
+
fontWeight: e.semibold
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"body-m": {
|
|
196
|
+
mobile: {
|
|
197
|
+
fontSize: "14px",
|
|
198
|
+
lineHeight: "17px",
|
|
199
|
+
fontWeight: e.regular
|
|
200
|
+
},
|
|
201
|
+
tablet: {
|
|
202
|
+
fontSize: "16px",
|
|
203
|
+
lineHeight: "20px",
|
|
204
|
+
fontWeight: e.regular
|
|
205
|
+
},
|
|
206
|
+
desktop: {
|
|
207
|
+
fontSize: "16px",
|
|
208
|
+
lineHeight: "20px",
|
|
209
|
+
fontWeight: e.regular
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"body-s-semibold": {
|
|
213
|
+
mobile: {
|
|
214
|
+
fontSize: "12px",
|
|
215
|
+
lineHeight: "15px",
|
|
216
|
+
fontWeight: e.semibold
|
|
217
|
+
},
|
|
218
|
+
tablet: {
|
|
219
|
+
fontSize: "14px",
|
|
220
|
+
lineHeight: "17px",
|
|
221
|
+
fontWeight: e.semibold
|
|
222
|
+
},
|
|
223
|
+
desktop: {
|
|
224
|
+
fontSize: "14px",
|
|
225
|
+
lineHeight: "17px",
|
|
226
|
+
fontWeight: e.semibold
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"body-s": {
|
|
230
|
+
mobile: {
|
|
231
|
+
fontSize: "12px",
|
|
232
|
+
lineHeight: "15px",
|
|
233
|
+
fontWeight: e.regular
|
|
234
|
+
},
|
|
235
|
+
tablet: {
|
|
236
|
+
fontSize: "14px",
|
|
237
|
+
lineHeight: "17px",
|
|
238
|
+
fontWeight: e.regular
|
|
239
|
+
},
|
|
240
|
+
desktop: {
|
|
241
|
+
fontSize: "14px",
|
|
242
|
+
lineHeight: "17px",
|
|
243
|
+
fontWeight: e.regular
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
button: {
|
|
247
|
+
desktop: {
|
|
248
|
+
fontSize: "15px",
|
|
249
|
+
lineHeight: "18px",
|
|
250
|
+
fontWeight: e.semibold
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"form-input": {
|
|
254
|
+
desktop: {
|
|
255
|
+
fontSize: "15px",
|
|
256
|
+
lineHeight: "18px",
|
|
257
|
+
fontWeight: e.regular
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"avatar-basic": {
|
|
261
|
+
desktop: {
|
|
262
|
+
fontSize: "16px",
|
|
263
|
+
lineHeight: "18px",
|
|
264
|
+
fontWeight: e.semibold
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"avatar-m": {
|
|
268
|
+
desktop: {
|
|
269
|
+
fontSize: "14px",
|
|
270
|
+
lineHeight: "16px",
|
|
271
|
+
fontWeight: e.semibold
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"avatar-s": {
|
|
275
|
+
desktop: {
|
|
276
|
+
fontSize: "12px",
|
|
277
|
+
lineHeight: "14px",
|
|
278
|
+
fontWeight: e.semibold
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}, f = (t) => {
|
|
282
|
+
const { mobile: o, tablet: n, desktop: l } = h[t];
|
|
283
|
+
return i`
|
|
284
|
+
${({ theme: p }) => i`
|
|
285
|
+
${i`
|
|
286
|
+
font-size: ${l.fontSize};
|
|
287
|
+
font-weight: ${l.fontWeight};
|
|
288
|
+
line-height: ${l.lineHeight};
|
|
289
|
+
`}
|
|
290
|
+
|
|
291
|
+
${n && i`
|
|
292
|
+
${p.media.maxWidth.tablet} {
|
|
293
|
+
font-size: ${n.fontSize};
|
|
294
|
+
font-weight: ${n.fontWeight};
|
|
295
|
+
line-height: ${n.lineHeight};
|
|
296
|
+
}
|
|
297
|
+
`}
|
|
298
|
+
|
|
299
|
+
${o && i`
|
|
300
|
+
${p.media.maxWidth.mobile} {
|
|
301
|
+
font-size: ${o.fontSize};
|
|
302
|
+
font-weight: ${o.fontWeight};
|
|
303
|
+
line-height: ${o.lineHeight};
|
|
304
|
+
}
|
|
305
|
+
`}
|
|
306
|
+
`}
|
|
307
|
+
`;
|
|
308
|
+
}, b = g.span`
|
|
309
|
+
margin: 0;
|
|
310
|
+
color: ${({ $color: t }) => t ?? "inherit"};
|
|
311
|
+
${({ $variant: t }) => f(t)};
|
|
312
|
+
text-align: ${({ $align: t }) => t ?? "inherit"};
|
|
313
|
+
${({ $inline: t }) => t ? i`
|
|
314
|
+
display: inline;
|
|
315
|
+
` : i`
|
|
316
|
+
display: block;
|
|
317
|
+
`};
|
|
318
|
+
${({ $uppercase: t }) => t && i`
|
|
319
|
+
text-transform: uppercase;
|
|
320
|
+
letter-spacing: 0.04em;
|
|
321
|
+
`}
|
|
322
|
+
${({ $truncate: t }) => t && i`
|
|
323
|
+
overflow: hidden;
|
|
324
|
+
text-overflow: ellipsis;
|
|
325
|
+
white-space: nowrap;
|
|
326
|
+
`}
|
|
327
|
+
`;
|
|
328
|
+
export {
|
|
329
|
+
b as StyledTypography
|
|
330
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { j as i } from "./matbea-ui.es28.js";
|
|
2
|
+
import { Icon as c } from "./matbea-ui.es72.js";
|
|
3
|
+
const r = (l) => /* @__PURE__ */ i.jsxs(c, { ...l, viewBox: "0 0 18 18", children: [
|
|
4
|
+
/* @__PURE__ */ i.jsx("g", { "clip-path": "url(#clip0_309_1899)", children: /* @__PURE__ */ i.jsx(
|
|
5
|
+
"path",
|
|
6
|
+
{
|
|
7
|
+
d: "M9 16.5C4.85786 16.5 1.5 13.1421 1.5 9C1.5 4.85786 4.85786 1.5 9 1.5C13.1421 1.5 16.5 4.85786 16.5 9C16.4955 13.1403 13.1403 16.4955 9 16.5ZM3 9.129C3.03549 12.4299 5.73083 15.0822 9.0319 15.0645C12.333 15.0467 14.9997 12.3656 14.9997 9.0645C14.9997 5.76338 12.333 3.08233 9.0319 3.0645C5.73083 3.04684 3.03549 5.69907 3 9V9.129ZM10.5 12.75H8.25V9.75H7.5V8.25H9.75V11.25H10.5V12.75ZM9.75 6.75H8.25V5.25H9.75V6.75Z",
|
|
8
|
+
fill: l.color || "#9296A5"
|
|
9
|
+
}
|
|
10
|
+
) }),
|
|
11
|
+
/* @__PURE__ */ i.jsx("defs", { children: /* @__PURE__ */ i.jsx("clipPath", { id: "clip0_309_1899", children: /* @__PURE__ */ i.jsx("rect", { width: "18", height: "18", fill: "white" }) }) })
|
|
12
|
+
] });
|
|
13
|
+
export {
|
|
14
|
+
r as InfoIcon
|
|
15
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { styled as o } from "styled-components";
|
|
2
|
+
const t = o.div`
|
|
3
|
+
display: grid;
|
|
4
|
+
align-items: center;
|
|
5
|
+
grid-template-columns: ${({ $icon: e }) => e ? "auto 1fr" : "1fr"};
|
|
6
|
+
gap: 12px;
|
|
7
|
+
width: 458px;
|
|
8
|
+
height: auto;
|
|
9
|
+
border-radius: 12px;
|
|
10
|
+
padding: 24px;
|
|
11
|
+
background-color: ${({ $type: e, theme: r }) => {
|
|
12
|
+
switch (e) {
|
|
13
|
+
case "success":
|
|
14
|
+
return r.colors.accent.green2Light;
|
|
15
|
+
case "error":
|
|
16
|
+
return r.colors.accent.red;
|
|
17
|
+
case "info":
|
|
18
|
+
return r.colors.primary.lightBlue2;
|
|
19
|
+
case "warning":
|
|
20
|
+
return r.colors.accent.orange;
|
|
21
|
+
}
|
|
22
|
+
}};
|
|
23
|
+
`;
|
|
24
|
+
export {
|
|
25
|
+
t as InformerStyled
|
|
26
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { styled as r, css as i } from "styled-components";
|
|
2
|
+
import { Typography as t } from "./matbea-ui.es4.js";
|
|
3
|
+
const l = r.div`
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: 4px;
|
|
7
|
+
width: 100%;
|
|
8
|
+
`, s = r(t).attrs({
|
|
9
|
+
variant: "form-input",
|
|
10
|
+
forwardedAs: "label"
|
|
11
|
+
})`
|
|
12
|
+
color: ${({ theme: o }) => o.colors.primary.darkBlue};
|
|
13
|
+
`, c = r.div`
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
gap: 8px;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
height: 48px;
|
|
19
|
+
padding-left: 12px;
|
|
20
|
+
border-radius: 5px;
|
|
21
|
+
outline: 1px solid ${({ theme: o }) => o.colors.gray.lightGray2};
|
|
22
|
+
outline-offset: -1px;
|
|
23
|
+
background: ${({ theme: o }) => o.colors.primary.white};
|
|
24
|
+
width: 100%;
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
transition: border-color 140ms ease;
|
|
27
|
+
|
|
28
|
+
${({ $disabled: o }) => o && i`
|
|
29
|
+
opacity: 0.6;
|
|
30
|
+
cursor: not-allowed;
|
|
31
|
+
`}
|
|
32
|
+
|
|
33
|
+
${({ $hasError: o, theme: e }) => o && i`
|
|
34
|
+
outline-color: ${e.colors.accent.red};
|
|
35
|
+
`}
|
|
36
|
+
|
|
37
|
+
&:hover {
|
|
38
|
+
outline-color: ${({ theme: o, $hasError: e }) => e ? o.colors.accent.red : o.colors.primary.lightBlue2};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&[data-state="active"] {
|
|
42
|
+
outline-color: ${({ theme: o, $hasError: e }) => e ? o.colors.accent.red : o.colors.primary.primaryBlue};
|
|
43
|
+
}
|
|
44
|
+
`, p = r.span`
|
|
45
|
+
display: inline-flex;
|
|
46
|
+
width: 24px;
|
|
47
|
+
height: 24px;
|
|
48
|
+
`, d = r.span`
|
|
49
|
+
display: inline-flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
justify-content: center;
|
|
52
|
+
min-width: 48px;
|
|
53
|
+
& > button {
|
|
54
|
+
border-radius: 0px;
|
|
55
|
+
}
|
|
56
|
+
`, x = r.input`
|
|
57
|
+
flex: 1;
|
|
58
|
+
border: none;
|
|
59
|
+
outline: none;
|
|
60
|
+
background: transparent;
|
|
61
|
+
font-family: "Proxima Nova", sans-serif;
|
|
62
|
+
padding-right: 12px;
|
|
63
|
+
height: 100%;
|
|
64
|
+
font-size: 15px;
|
|
65
|
+
line-height: 18px;
|
|
66
|
+
color: ${({ theme: o }) => o.colors.primary.darkBlue};
|
|
67
|
+
|
|
68
|
+
&::placeholder {
|
|
69
|
+
color: ${({ theme: o }) => o.colors.gray.darkGray};
|
|
70
|
+
}
|
|
71
|
+
`, f = r.span`
|
|
72
|
+
font-family: "Proxima Nova", sans-serif;
|
|
73
|
+
font-size: 15px;
|
|
74
|
+
line-height: 18px;
|
|
75
|
+
color: ${({ theme: o }) => o.colors.accent.red};
|
|
76
|
+
`;
|
|
77
|
+
export {
|
|
78
|
+
d as ActionSlot,
|
|
79
|
+
f as ErrorText,
|
|
80
|
+
c as FieldContainer,
|
|
81
|
+
x as Input,
|
|
82
|
+
s as Label,
|
|
83
|
+
p as LeadingIcon,
|
|
84
|
+
l as Wrapper
|
|
85
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { styled as i } from "styled-components";
|
|
2
|
+
const a = i.div`
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
width: 100%;
|
|
6
|
+
padding: 24px 28px;
|
|
7
|
+
background-color: ${({ theme: d }) => d.colors.primary.white};
|
|
8
|
+
border-radius: 10px;
|
|
9
|
+
${({ theme: d }) => d.media.maxWidth.tablet} {
|
|
10
|
+
padding: 24px 20px;
|
|
11
|
+
}
|
|
12
|
+
${({ theme: d }) => d.media.maxWidth.mobile} {
|
|
13
|
+
padding: 16px;
|
|
14
|
+
}
|
|
15
|
+
`;
|
|
16
|
+
export {
|
|
17
|
+
a as ContainerStyled
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { styled as o } from "styled-components";
|
|
2
|
+
import { Typography as t } from "./matbea-ui.es4.js";
|
|
3
|
+
const d = o(t).attrs({
|
|
4
|
+
forwardedAs: "div"
|
|
5
|
+
})`
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
padding: 0px;
|
|
10
|
+
width: 22px;
|
|
11
|
+
height: 22px;
|
|
12
|
+
border-radius: 50%;
|
|
13
|
+
color: #fff;
|
|
14
|
+
background-color: ${({ theme: r }) => r.colors.primary.primaryBlue};
|
|
15
|
+
`;
|
|
16
|
+
export {
|
|
17
|
+
d as CounterStyled
|
|
18
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { j as i } from "./matbea-ui.es28.js";
|
|
2
|
+
import { Icon as s } from "./matbea-ui.es72.js";
|
|
3
|
+
const h = (l) => /* @__PURE__ */ i.jsxs(s, { ...l, children: [
|
|
4
|
+
/* @__PURE__ */ i.jsxs("g", { "clip-path": "url(#clip0_487_8651)", children: [
|
|
5
|
+
/* @__PURE__ */ i.jsx(
|
|
6
|
+
"path",
|
|
7
|
+
{
|
|
8
|
+
d: "M4.99543 4.85076C5.38596 4.46024 6.01912 4.46024 6.40965 4.85076L19.265 17.7061C19.6555 18.0966 19.6555 18.7298 19.265 19.1203L19.0937 19.2916C18.7032 19.6821 18.07 19.6821 17.6795 19.2916L4.82414 6.43627C4.43362 6.04574 4.43362 5.41258 4.82414 5.02206L4.99543 4.85076Z",
|
|
9
|
+
fill: "#9296A5"
|
|
10
|
+
}
|
|
11
|
+
),
|
|
12
|
+
/* @__PURE__ */ i.jsx(
|
|
13
|
+
"path",
|
|
14
|
+
{
|
|
15
|
+
d: "M4.85129 19.1203C4.46077 18.7298 4.46077 18.0966 4.85129 17.7061L17.7066 4.85075C18.0971 4.46023 18.7303 4.46023 19.1208 4.85075L19.2921 5.02205C19.6827 5.41257 19.6827 6.04574 19.2921 6.43626L6.4368 19.2916C6.04627 19.6821 5.41311 19.6821 5.02258 19.2916L4.85129 19.1203Z",
|
|
16
|
+
fill: "#9296A5"
|
|
17
|
+
}
|
|
18
|
+
)
|
|
19
|
+
] }),
|
|
20
|
+
/* @__PURE__ */ i.jsx("defs", { children: /* @__PURE__ */ i.jsx("clipPath", { id: "clip0_487_8651", children: /* @__PURE__ */ i.jsx("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
21
|
+
] });
|
|
22
|
+
export {
|
|
23
|
+
h as CloseIcon
|
|
24
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { j as r } from "./matbea-ui.es28.js";
|
|
2
|
+
import { Icon as i } from "./matbea-ui.es72.js";
|
|
3
|
+
const h = (t) => /* @__PURE__ */ r.jsxs(i, { ...t, children: [
|
|
4
|
+
/* @__PURE__ */ r.jsx("rect", { x: "3", y: "5", width: "18", height: "2", rx: "1", fill: "#9296A5" }),
|
|
5
|
+
/* @__PURE__ */ r.jsx("rect", { x: "3", y: "11", width: "18", height: "2", rx: "1", fill: "#9296A5" }),
|
|
6
|
+
/* @__PURE__ */ r.jsx("rect", { x: "3", y: "17", width: "18", height: "2", rx: "1", fill: "#9296A5" })
|
|
7
|
+
] });
|
|
8
|
+
export {
|
|
9
|
+
h as HamburgerIcon
|
|
10
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { keyframes as t, styled as a } from "styled-components";
|
|
2
|
+
const e = t`
|
|
3
|
+
0% {
|
|
4
|
+
transform: scale(0.5);
|
|
5
|
+
}
|
|
6
|
+
25% {
|
|
7
|
+
transform: scale(1);
|
|
8
|
+
}
|
|
9
|
+
75% {
|
|
10
|
+
transform: scale(0.5);
|
|
11
|
+
}
|
|
12
|
+
100% {
|
|
13
|
+
transform: scale(0.5);
|
|
14
|
+
}
|
|
15
|
+
`, n = a.div`
|
|
16
|
+
display: flex;
|
|
17
|
+
`, s = a.div`
|
|
18
|
+
margin: 2px;
|
|
19
|
+
width: 6px;
|
|
20
|
+
height: 6px;
|
|
21
|
+
border-radius: 50%;
|
|
22
|
+
background-color: ${({ theme: o }) => o.colors.primary.primaryBlue};
|
|
23
|
+
transform: scale(0.5);
|
|
24
|
+
animation: ${e} 1.2s ease-out infinite;
|
|
25
|
+
|
|
26
|
+
&:nth-of-type(2) {
|
|
27
|
+
animation-delay: 0.2s;
|
|
28
|
+
}
|
|
29
|
+
&:nth-of-type(3) {
|
|
30
|
+
animation-delay: 0.3s;
|
|
31
|
+
}
|
|
32
|
+
&:nth-of-type(4) {
|
|
33
|
+
animation-delay: 0.4s;
|
|
34
|
+
}
|
|
35
|
+
&:nth-of-type(5) {
|
|
36
|
+
animation-delay: 0.5s;
|
|
37
|
+
}
|
|
38
|
+
`;
|
|
39
|
+
export {
|
|
40
|
+
s as LoaderDot,
|
|
41
|
+
n as LoaderDots
|
|
42
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { j as m } from "./matbea-ui.es28.js";
|
|
2
|
+
import { StyledTypography as y } from "./matbea-ui.es31.js";
|
|
3
|
+
const c = ({
|
|
4
|
+
as: o = "span",
|
|
5
|
+
forwardedAs: a,
|
|
6
|
+
variant: r = "body-m-semibold",
|
|
7
|
+
color: e,
|
|
8
|
+
align: p,
|
|
9
|
+
uppercase: s = !1,
|
|
10
|
+
truncate: t = !1,
|
|
11
|
+
inline: i = !1,
|
|
12
|
+
children: l,
|
|
13
|
+
...n
|
|
14
|
+
}) => /* @__PURE__ */ m.jsx(
|
|
15
|
+
y,
|
|
16
|
+
{
|
|
17
|
+
as: o,
|
|
18
|
+
forwardedAs: a,
|
|
19
|
+
$variant: r,
|
|
20
|
+
$color: e,
|
|
21
|
+
$align: p,
|
|
22
|
+
$uppercase: s,
|
|
23
|
+
$truncate: t,
|
|
24
|
+
$inline: i,
|
|
25
|
+
...n,
|
|
26
|
+
children: l
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
export {
|
|
30
|
+
c as Typography
|
|
31
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { styled as a, css as e } from "styled-components";
|
|
2
|
+
import { Typography as n } from "./matbea-ui.es4.js";
|
|
3
|
+
const t = a.label`
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
gap: 8px;
|
|
7
|
+
cursor: ${({ disabled: o }) => o ? "not-allowed" : "pointer"};
|
|
8
|
+
`, s = a.input`
|
|
9
|
+
position: absolute;
|
|
10
|
+
opacity: 0;
|
|
11
|
+
pointer-events: none;
|
|
12
|
+
`, d = a.span`
|
|
13
|
+
width: 16px;
|
|
14
|
+
height: 16px;
|
|
15
|
+
border-radius: 50%;
|
|
16
|
+
border: 2px solid ${({ theme: o }) => o.colors.gray.darkGray2};
|
|
17
|
+
background-color: transparent;
|
|
18
|
+
transition: border-color 160ms ease, background-color 160ms ease;
|
|
19
|
+
position: relative;
|
|
20
|
+
display: inline-flex;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
align-items: center;
|
|
23
|
+
|
|
24
|
+
${({ $checked: o, theme: r }) => o && e`
|
|
25
|
+
border-color: ${r.colors.primary.primaryBlue};
|
|
26
|
+
&::after {
|
|
27
|
+
content: "";
|
|
28
|
+
width: 8px;
|
|
29
|
+
height: 8px;
|
|
30
|
+
border-radius: 50%;
|
|
31
|
+
background-color: ${r.colors.primary.primaryBlue};
|
|
32
|
+
transition: background-color 160ms ease;
|
|
33
|
+
}
|
|
34
|
+
`}
|
|
35
|
+
|
|
36
|
+
${({ $checked: o, theme: r }) => !o && e`
|
|
37
|
+
&:hover {
|
|
38
|
+
border-color: ${r.colors.primary.hoverBlue};
|
|
39
|
+
}
|
|
40
|
+
`}
|
|
41
|
+
|
|
42
|
+
${({ $checked: o, $disabled: r, theme: i }) => !r && o && e`
|
|
43
|
+
&:hover {
|
|
44
|
+
border-color: ${i.colors.primary.hoverBlue};
|
|
45
|
+
&::after {
|
|
46
|
+
background-color: ${i.colors.primary.hoverBlue};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
`}
|
|
50
|
+
|
|
51
|
+
${({ $disabled: o, theme: r }) => o && e`
|
|
52
|
+
border-color: ${r.colors.icon.iconSecondary};
|
|
53
|
+
background-color: ${r.colors.gray.lightGray2};
|
|
54
|
+
&::after {
|
|
55
|
+
content: "";
|
|
56
|
+
width: 8px;
|
|
57
|
+
height: 8px;
|
|
58
|
+
border-radius: 50%;
|
|
59
|
+
background-color: ${r.colors.icon.iconSecondary};
|
|
60
|
+
}
|
|
61
|
+
`}
|
|
62
|
+
`, p = a(n)`
|
|
63
|
+
color: ${({ theme: o }) => o.colors.primary.darkBlue};
|
|
64
|
+
`;
|
|
65
|
+
export {
|
|
66
|
+
s as HiddenInput,
|
|
67
|
+
p as LabelText,
|
|
68
|
+
t as RadioLabel,
|
|
69
|
+
d as VisualRadio
|
|
70
|
+
};
|