bonkers-ui 2.0.4 → 2.0.6
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/README.md +1 -1
- package/_types/align.js.map +1 -1
- package/components/UiAccordion/UiAccordion.InfoDropdown.js.map +1 -1
- package/components/UiAccordion/UiAccordion.context.js.map +1 -1
- package/components/UiAccordion/UiAccordionItem.base.js.map +1 -1
- package/components/UiAlert/UiAlert.js.map +1 -1
- package/components/UiButton/UiButton.js +26 -28
- package/components/UiButton/UiButton.js.map +1 -1
- package/components/UiButton/_types.d.ts +2 -1
- package/components/UiButton/_types.js +1 -1
- package/components/UiButton/_types.js.map +1 -1
- package/components/UiInput/UiInput.base.js +17 -13
- package/components/UiInput/UiInput.base.js.map +1 -1
- package/components/UiInput/UiInputText.d.ts +1 -1
- package/components/UiInput/UiInputText.js +8 -9
- package/components/UiInput/UiInputText.js.map +1 -1
- package/components/UiList/UiList.js +14 -12
- package/components/UiList/UiList.js.map +1 -1
- package/components/UiList/UiListItem.d.ts +2 -0
- package/components/UiList/UiListItem.js +15 -6
- package/components/UiList/UiListItem.js.map +1 -1
- package/components/UiPills/UiPills.js.map +1 -1
- package/components/UiPills/_types.js.map +1 -1
- package/components/UiPlainRadio/UiPlainRadio.js.map +1 -1
- package/components/UiRadioFancy/UiRadioFancy.js.map +1 -1
- package/components/UiSelect/UiSelect.d.ts +3 -0
- package/components/UiSelect/UiSelect.js +77 -53
- package/components/UiSelect/UiSelect.js.map +1 -1
- package/components/UiSkeleton/UiSkeleton.js +359 -154
- package/components/UiSkeleton/UiSkeleton.js.map +1 -1
- package/components/UiSkeleton/_types.d.ts +2 -1
- package/components/UiSkeleton/_types.js +2 -2
- package/components/UiSkeleton/_types.js.map +1 -1
- package/components/UiSnackbar/UiSnackbar.js.map +1 -1
- package/components/UiStars/UiStars.js.map +1 -1
- package/components/UiTable/UiTableCell.js.map +1 -1
- package/components/UiTabs/UiTabs.js.map +1 -1
- package/components/UiToggle/UiToggle.js.map +1 -1
- package/components/UiTypography/UiTypography.js.map +1 -1
- package/eslint.config.mjs +4 -0
- package/package.json +26 -26
|
@@ -1,181 +1,386 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs as c, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import s from "classnames";
|
|
4
4
|
import { ESkeletonKind as o } from "./_types.js";
|
|
5
|
-
const
|
|
6
|
-
kind:
|
|
7
|
-
className:
|
|
8
|
-
}) => /* @__PURE__ */
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
),
|
|
20
|
-
children: [
|
|
21
|
-
/* @__PURE__ */ e(
|
|
22
|
-
"div",
|
|
23
|
-
{
|
|
24
|
-
className: s(
|
|
25
|
-
"ui-skeleton-card__content",
|
|
26
|
-
"bg-secondary-alt-300",
|
|
27
|
-
"gap-xs",
|
|
28
|
-
"items-center",
|
|
29
|
-
"justify-center",
|
|
30
|
-
"p-md",
|
|
31
|
-
"rounded-bl-xl",
|
|
32
|
-
"rounded-tl-xl"
|
|
33
|
-
),
|
|
34
|
-
children: /* @__PURE__ */ t("div", { className: s("grid", "grow", "gap-xxs", "justify-items-center"), children: [
|
|
35
|
-
/* @__PURE__ */ e(
|
|
36
|
-
"div",
|
|
37
|
-
{
|
|
38
|
-
className: s(
|
|
39
|
-
"ui-skeleton-card__content",
|
|
40
|
-
"bg-secondary-alt-400",
|
|
41
|
-
"h-xl",
|
|
42
|
-
"mb-sm",
|
|
43
|
-
"rounded-sm",
|
|
44
|
-
"w-2/3"
|
|
45
|
-
)
|
|
46
|
-
}
|
|
47
|
-
),
|
|
48
|
-
/* @__PURE__ */ e(
|
|
49
|
-
"div",
|
|
50
|
-
{
|
|
51
|
-
className: s(
|
|
52
|
-
"ui-skeleton-card__content",
|
|
53
|
-
"bg-secondary-alt-400",
|
|
54
|
-
"h-xxxxl",
|
|
55
|
-
"rounded-full",
|
|
56
|
-
"w-3/5"
|
|
57
|
-
)
|
|
58
|
-
}
|
|
59
|
-
)
|
|
60
|
-
] })
|
|
61
|
-
}
|
|
5
|
+
const u = ({
|
|
6
|
+
kind: t,
|
|
7
|
+
className: m
|
|
8
|
+
}) => /* @__PURE__ */ c("div", { className: m, children: [
|
|
9
|
+
t === o.RESULT_CARD && /* @__PURE__ */ c(
|
|
10
|
+
"div",
|
|
11
|
+
{
|
|
12
|
+
className: s(
|
|
13
|
+
"ui-skeleton-card",
|
|
14
|
+
"animate-pulse",
|
|
15
|
+
"border-2",
|
|
16
|
+
"border-secondary-alt-300",
|
|
17
|
+
"grid grid-cols-[120px_1fr_180px]",
|
|
18
|
+
"rounded-2xl"
|
|
62
19
|
),
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ e(
|
|
22
|
+
"div",
|
|
23
|
+
{
|
|
24
|
+
className: s(
|
|
25
|
+
"ui-skeleton-card__content",
|
|
26
|
+
"bg-secondary-alt-300",
|
|
27
|
+
"gap-xs",
|
|
28
|
+
"items-center",
|
|
29
|
+
"justify-center",
|
|
30
|
+
"p-md",
|
|
31
|
+
"rounded-bl-xl",
|
|
32
|
+
"rounded-tl-xl"
|
|
33
|
+
),
|
|
34
|
+
children: /* @__PURE__ */ c("div", { className: s("grid", "grow", "gap-xxs", "justify-items-center"), children: [
|
|
76
35
|
/* @__PURE__ */ e(
|
|
77
36
|
"div",
|
|
78
37
|
{
|
|
79
38
|
className: s(
|
|
39
|
+
"ui-skeleton-card__content",
|
|
80
40
|
"bg-secondary-alt-400",
|
|
81
|
-
"h-
|
|
82
|
-
"mb-
|
|
41
|
+
"h-xl",
|
|
42
|
+
"mb-sm",
|
|
83
43
|
"rounded-sm",
|
|
84
|
-
"w-
|
|
44
|
+
"w-xxxxl"
|
|
85
45
|
)
|
|
86
46
|
}
|
|
87
47
|
),
|
|
48
|
+
/* @__PURE__ */ e(
|
|
49
|
+
"div",
|
|
50
|
+
{
|
|
51
|
+
className: s(
|
|
52
|
+
"ui-skeleton-card__content",
|
|
53
|
+
"bg-secondary-alt-400",
|
|
54
|
+
"h-xxxxl",
|
|
55
|
+
"rounded-full",
|
|
56
|
+
"w-xxxxl"
|
|
57
|
+
)
|
|
58
|
+
}
|
|
59
|
+
)
|
|
60
|
+
] })
|
|
61
|
+
}
|
|
62
|
+
),
|
|
63
|
+
/* @__PURE__ */ c(
|
|
64
|
+
"div",
|
|
65
|
+
{
|
|
66
|
+
className: s(
|
|
67
|
+
"ui-skeleton-main__content",
|
|
68
|
+
"bg-white"
|
|
69
|
+
),
|
|
70
|
+
children: [
|
|
71
|
+
/* @__PURE__ */ c("div", { className: s(
|
|
72
|
+
"grid",
|
|
73
|
+
"p-sm"
|
|
74
|
+
), children: [
|
|
75
|
+
/* @__PURE__ */ e(
|
|
76
|
+
"div",
|
|
77
|
+
{
|
|
78
|
+
className: s(
|
|
79
|
+
"bg-secondary-alt-400",
|
|
80
|
+
"h-md",
|
|
81
|
+
"mb-xxs",
|
|
82
|
+
"rounded-sm",
|
|
83
|
+
"w-3/5"
|
|
84
|
+
)
|
|
85
|
+
}
|
|
86
|
+
),
|
|
87
|
+
/* @__PURE__ */ e("div", { className: s(
|
|
88
|
+
"flex",
|
|
89
|
+
"gap-sm",
|
|
90
|
+
"mb-xxs"
|
|
91
|
+
), children: ["w-2/5", "w-1/4"].map((l, a) => /* @__PURE__ */ e(
|
|
92
|
+
"div",
|
|
93
|
+
{
|
|
94
|
+
className: s(l, "h-md", "bg-secondary-alt-300", "rounded-sm")
|
|
95
|
+
},
|
|
96
|
+
a
|
|
97
|
+
)) }),
|
|
98
|
+
/* @__PURE__ */ e("div", { className: s(
|
|
99
|
+
"flex",
|
|
100
|
+
"justify-between"
|
|
101
|
+
), children: ["w-1/3", "w-1/4"].map((l, a) => /* @__PURE__ */ e(
|
|
102
|
+
"div",
|
|
103
|
+
{
|
|
104
|
+
className: s(l, "h-[20px]", a === 0 ? "bg-secondary-alt-400" : "bg-secondary-alt-300", "rounded-sm", "mb-xxs")
|
|
105
|
+
},
|
|
106
|
+
a
|
|
107
|
+
)) })
|
|
108
|
+
] }),
|
|
88
109
|
/* @__PURE__ */ e("div", { className: s(
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
|
|
92
|
-
|
|
110
|
+
"grid",
|
|
111
|
+
"grid-cols-4"
|
|
112
|
+
), children: Array.from({
|
|
113
|
+
length: 4
|
|
114
|
+
}).map((l, a) => /* @__PURE__ */ e("div", { className: s(
|
|
115
|
+
"border",
|
|
116
|
+
"border-secondary-alt-300",
|
|
117
|
+
"px-xs",
|
|
118
|
+
"py-md"
|
|
119
|
+
), children: /* @__PURE__ */ e("div", { className: s(
|
|
120
|
+
"place-items-center"
|
|
121
|
+
), children: ["w-2/3", "w-2/4"].map((d, r) => /* @__PURE__ */ e(
|
|
93
122
|
"div",
|
|
94
123
|
{
|
|
95
|
-
className: s(
|
|
124
|
+
className: s(
|
|
125
|
+
"bg-secondary-alt-300",
|
|
126
|
+
"mb-xxxs",
|
|
127
|
+
"rounded-sm",
|
|
128
|
+
d,
|
|
129
|
+
r === 1 ? "h-md" : "h-[20px]"
|
|
130
|
+
)
|
|
96
131
|
},
|
|
97
|
-
|
|
98
|
-
)) }),
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
132
|
+
r
|
|
133
|
+
)) }) }, a)) })
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
),
|
|
137
|
+
/* @__PURE__ */ e(
|
|
138
|
+
"div",
|
|
139
|
+
{
|
|
140
|
+
className: s(
|
|
141
|
+
"ui-skeleton-cta-cell",
|
|
142
|
+
"bg-secondary-alt-200",
|
|
143
|
+
"flex-col",
|
|
144
|
+
"flex",
|
|
145
|
+
"items-center",
|
|
146
|
+
"px-sm",
|
|
147
|
+
"py-md",
|
|
148
|
+
"rounded-br-xl",
|
|
149
|
+
"rounded-tr-xl"
|
|
150
|
+
),
|
|
151
|
+
children: ["w-3/4", "w-1/2", "w-3/4", "w-4/5"].map((l, a) => {
|
|
152
|
+
const d = a === 1 ? "h-lg" : "h-[20px]";
|
|
153
|
+
return /* @__PURE__ */ e(
|
|
103
154
|
"div",
|
|
104
155
|
{
|
|
105
|
-
className: s(
|
|
156
|
+
className: s(
|
|
157
|
+
"ui-skeleton-cta-cell__content",
|
|
158
|
+
"bg-secondary-alt-400",
|
|
159
|
+
"flex-col",
|
|
160
|
+
"flex",
|
|
161
|
+
"h-[20px]",
|
|
162
|
+
"mb-xxxs",
|
|
163
|
+
"rounded-sm",
|
|
164
|
+
l,
|
|
165
|
+
d,
|
|
166
|
+
a === 3 ? "h-xxl bg-secondary-alt-500 mt-md" : d
|
|
167
|
+
)
|
|
106
168
|
},
|
|
107
169
|
a
|
|
108
|
-
)
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
"bg-secondary-alt-300",
|
|
127
|
-
"mb-xxxs",
|
|
128
|
-
"rounded-sm",
|
|
129
|
-
d,
|
|
130
|
-
r === 1 ? "h-[23px]" : "h-[20px]"
|
|
131
|
-
)
|
|
132
|
-
},
|
|
133
|
-
r
|
|
134
|
-
)) }) }, a)) })
|
|
135
|
-
]
|
|
136
|
-
}
|
|
170
|
+
);
|
|
171
|
+
})
|
|
172
|
+
}
|
|
173
|
+
)
|
|
174
|
+
]
|
|
175
|
+
}
|
|
176
|
+
),
|
|
177
|
+
t === o.RESULT_CARD_MOBILE && /* @__PURE__ */ c(
|
|
178
|
+
"div",
|
|
179
|
+
{
|
|
180
|
+
className: s(
|
|
181
|
+
"ui-skeleton-card-mobile",
|
|
182
|
+
"animate-pulse",
|
|
183
|
+
"border-2",
|
|
184
|
+
"border-secondary-alt-300",
|
|
185
|
+
"rounded-2xl",
|
|
186
|
+
"grid",
|
|
187
|
+
"p-sm"
|
|
137
188
|
),
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
189
|
+
children: [
|
|
190
|
+
/* @__PURE__ */ e(
|
|
191
|
+
"div",
|
|
192
|
+
{
|
|
193
|
+
className: s(
|
|
194
|
+
"ui-skeleton-card__content"
|
|
195
|
+
),
|
|
196
|
+
children: /* @__PURE__ */ c("div", { className: "flex grow gap-sm", children: [
|
|
197
|
+
/* @__PURE__ */ e(
|
|
198
|
+
"div",
|
|
199
|
+
{
|
|
200
|
+
className: s(
|
|
201
|
+
"ui-skeleton-card__content",
|
|
202
|
+
"bg-secondary-alt-400",
|
|
203
|
+
"h-xxxl",
|
|
204
|
+
"rounded-sm",
|
|
205
|
+
"w-xxxl"
|
|
206
|
+
)
|
|
207
|
+
}
|
|
208
|
+
),
|
|
209
|
+
/* @__PURE__ */ c("div", { className: s("flex", "flex-col", "grow"), children: [
|
|
210
|
+
/* @__PURE__ */ e(
|
|
211
|
+
"div",
|
|
212
|
+
{
|
|
213
|
+
className: s(
|
|
214
|
+
"ui-skeleton-card__content",
|
|
215
|
+
"bg-secondary-alt-400",
|
|
216
|
+
"h-md",
|
|
217
|
+
"mb-sm",
|
|
218
|
+
"rounded-sm",
|
|
219
|
+
"w-4/5"
|
|
220
|
+
)
|
|
221
|
+
}
|
|
222
|
+
),
|
|
223
|
+
/* @__PURE__ */ e(
|
|
224
|
+
"div",
|
|
225
|
+
{
|
|
226
|
+
className: s(
|
|
227
|
+
"ui-skeleton-card__content",
|
|
228
|
+
"bg-secondary-alt-400",
|
|
229
|
+
"h-md",
|
|
230
|
+
"mb-sm",
|
|
231
|
+
"rounded-sm",
|
|
232
|
+
"w-2/3"
|
|
233
|
+
)
|
|
234
|
+
}
|
|
235
|
+
)
|
|
236
|
+
] })
|
|
237
|
+
] })
|
|
238
|
+
}
|
|
239
|
+
),
|
|
240
|
+
/* @__PURE__ */ e("div", { className: s(
|
|
241
|
+
"flex",
|
|
242
|
+
"grow",
|
|
243
|
+
"gap-xxs",
|
|
244
|
+
"justify-center",
|
|
245
|
+
"border-t",
|
|
246
|
+
"p-sm",
|
|
247
|
+
"border-secondary-alt-300"
|
|
248
|
+
), children: /* @__PURE__ */ e(
|
|
249
|
+
"div",
|
|
250
|
+
{
|
|
251
|
+
className: s(
|
|
252
|
+
"ui-skeleton-card__content",
|
|
253
|
+
"bg-secondary-alt-500",
|
|
254
|
+
"h-xxxxl",
|
|
255
|
+
"rounded-full",
|
|
256
|
+
"w-xxxxl"
|
|
257
|
+
)
|
|
258
|
+
}
|
|
259
|
+
) }),
|
|
260
|
+
/* @__PURE__ */ e("div", { className: s(
|
|
261
|
+
"grid",
|
|
262
|
+
"grid-cols-3"
|
|
263
|
+
), children: Array.from({
|
|
264
|
+
length: 3
|
|
265
|
+
}).map((l, a) => /* @__PURE__ */ e("div", { className: s(
|
|
266
|
+
"border",
|
|
267
|
+
"border-l-0",
|
|
268
|
+
"border-secondary-alt-300",
|
|
269
|
+
"py-xxs",
|
|
270
|
+
"place-items-center",
|
|
271
|
+
a === 2 ? "border-r-0" : ""
|
|
272
|
+
), children: ["w-2/3", "w-2/4"].map((d, r) => /* @__PURE__ */ e(
|
|
273
|
+
"div",
|
|
274
|
+
{
|
|
275
|
+
className: s(
|
|
276
|
+
"bg-secondary-alt-300",
|
|
277
|
+
"mb-xxxs",
|
|
278
|
+
"rounded-sm",
|
|
279
|
+
"h-md",
|
|
280
|
+
r === 0 ? "bg-secondary-alt-300" : "bg-secondary-alt-400",
|
|
281
|
+
d
|
|
282
|
+
)
|
|
283
|
+
},
|
|
284
|
+
r
|
|
285
|
+
)) }, a)) }),
|
|
286
|
+
/* @__PURE__ */ e("div", { className: s(
|
|
287
|
+
"flex",
|
|
288
|
+
"gap-sm",
|
|
289
|
+
"my-xxs"
|
|
290
|
+
), children: ["w-2/6", "w-2/6"].map((l, a) => /* @__PURE__ */ e(
|
|
291
|
+
"div",
|
|
292
|
+
{
|
|
293
|
+
className: s(l, "h-md", "bg-secondary-alt-300", "rounded-sm")
|
|
294
|
+
},
|
|
295
|
+
a
|
|
296
|
+
)) }),
|
|
297
|
+
/* @__PURE__ */ c("div", { className: s(
|
|
298
|
+
"flex",
|
|
299
|
+
"justify-between"
|
|
300
|
+
), children: [
|
|
301
|
+
/* @__PURE__ */ e("div", { className: s(
|
|
302
|
+
"flex",
|
|
144
303
|
"flex-col",
|
|
304
|
+
"gap-xxxs",
|
|
305
|
+
"w-full"
|
|
306
|
+
), children: ["w-3/5", "w-2/5", "w-3/6", "w-3/5"].map((l, a) => /* @__PURE__ */ e(
|
|
307
|
+
"div",
|
|
308
|
+
{
|
|
309
|
+
className: s(
|
|
310
|
+
"rounded-sm",
|
|
311
|
+
l,
|
|
312
|
+
a === 2 ? "h-md" : a === 3 ? "h-sm" : "h-[20px]",
|
|
313
|
+
a === 3 ? "bg-secondary-alt-400" : "bg-secondary-alt-300"
|
|
314
|
+
)
|
|
315
|
+
},
|
|
316
|
+
a
|
|
317
|
+
)) }),
|
|
318
|
+
/* @__PURE__ */ e("div", { className: s(
|
|
145
319
|
"flex",
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
320
|
+
"flex-col",
|
|
321
|
+
"gap-xxxs",
|
|
322
|
+
"w-full",
|
|
323
|
+
"items-end"
|
|
324
|
+
), children: ["w-3/6", "w-2/5", "w-3/5"].map((l, a) => /* @__PURE__ */ e(
|
|
325
|
+
"div",
|
|
326
|
+
{
|
|
327
|
+
className: s(
|
|
328
|
+
a === 2 ? "rounded-full" : "rounded-sm",
|
|
329
|
+
l,
|
|
330
|
+
a === 1 ? "h-[20px]" : "h-md",
|
|
331
|
+
a === 1 ? "bg-secondary-alt-300" : "bg-secondary-alt-400",
|
|
332
|
+
a === 0 || a === 2 ? "mt-xxs" : "mt-0"
|
|
333
|
+
)
|
|
334
|
+
},
|
|
335
|
+
a
|
|
336
|
+
)) })
|
|
337
|
+
] }),
|
|
338
|
+
/* @__PURE__ */ e("div", { className: s(
|
|
339
|
+
"flex",
|
|
340
|
+
"h-md",
|
|
341
|
+
"w-full",
|
|
342
|
+
"rounded-sm",
|
|
343
|
+
"bg-secondary-alt-400",
|
|
344
|
+
"mt-sm"
|
|
345
|
+
) }),
|
|
346
|
+
/* @__PURE__ */ e("div", { className: s(
|
|
347
|
+
"flex",
|
|
348
|
+
"h-xxl",
|
|
349
|
+
"w-full",
|
|
350
|
+
"rounded-lg",
|
|
351
|
+
"bg-secondary-alt-500",
|
|
352
|
+
"mt-xxs"
|
|
353
|
+
) }),
|
|
354
|
+
/* @__PURE__ */ e(
|
|
355
|
+
"div",
|
|
356
|
+
{
|
|
357
|
+
className: s(
|
|
358
|
+
"flex",
|
|
359
|
+
"border-b",
|
|
360
|
+
"border-secondary-alt-400",
|
|
361
|
+
"mt-sm",
|
|
362
|
+
"-mx-sm"
|
|
363
|
+
)
|
|
364
|
+
}
|
|
365
|
+
),
|
|
366
|
+
/* @__PURE__ */ e(
|
|
367
|
+
"div",
|
|
368
|
+
{
|
|
369
|
+
className: s(
|
|
370
|
+
"flex",
|
|
371
|
+
"h-sm",
|
|
372
|
+
"justify-center",
|
|
373
|
+
"bg-secondary-alt-300",
|
|
374
|
+
"rounded-sm",
|
|
375
|
+
"mt-sm"
|
|
376
|
+
)
|
|
377
|
+
}
|
|
378
|
+
)
|
|
379
|
+
]
|
|
380
|
+
}
|
|
381
|
+
)
|
|
382
|
+
] });
|
|
178
383
|
export {
|
|
179
|
-
|
|
384
|
+
u as UiSkeleton
|
|
180
385
|
};
|
|
181
386
|
//# sourceMappingURL=UiSkeleton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiSkeleton.js","sources":["../../../src/components/UiSkeleton/UiSkeleton.tsx"],"sourcesContent":["import React from \"react\";\nimport cx from \"classnames\";\nimport { ESkeletonKind } from \"./_types\";\n\ntype UiSkeletonProps ={\n\tkind: ESkeletonKind\n\tclassName?: string\n}\n\nexport const UiSkeleton: React.FC<UiSkeletonProps> = ({\n\tkind,\n\tclassName\n}) => {\n\n\treturn (\n\t\t<div className={ className }>\n\t\t\t{ kind === ESkeletonKind.RESULT_CARD && (\n\t\t\t\t<div\n\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\"ui-skeleton-card\",\n\t\t\t\t\t\t\"animate-pulse\",\n\t\t\t\t\t\t\"border-2\",\n\t\t\t\t\t\t\"border-secondary-alt-300\",\n\t\t\t\t\t\t\"grid-cols-5\",\n\t\t\t\t\t\t\"grid\",\n\t\t\t\t\t\t\"rounded-2xl\",\n\t\t\t\t\t) }\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\"ui-skeleton-card__content\",\n\t\t\t\t\t\t\t\"bg-secondary-alt-300\",\n\t\t\t\t\t\t\t\"gap-xs\",\n\t\t\t\t\t\t\t\"items-center\",\n\t\t\t\t\t\t\t\"justify-center\",\n\t\t\t\t\t\t\t\"p-md\",\n\t\t\t\t\t\t\t\"rounded-bl-xl\",\n\t\t\t\t\t\t\t\"rounded-tl-xl\"\n\n\t\t\t\t\t\t) }\n\t\t\t\t\t>\n\t\t\t\t\t\t<div className={ cx(\"grid\", \"grow\", \"gap-xxs\", \"justify-items-center\") }>\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\t\t\"ui-skeleton-card__content\",\n\t\t\t\t\t\t\t\t\t\"bg-secondary-alt-400\",\n\t\t\t\t\t\t\t\t\t\"h-xl\",\n\t\t\t\t\t\t\t\t\t\"mb-sm\",\n\t\t\t\t\t\t\t\t\t\"rounded-sm\",\n\t\t\t\t\t\t\t\t\t\"w-2/3\"\n\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\t\t\"ui-skeleton-card__content\",\n\t\t\t\t\t\t\t\t\t\"bg-secondary-alt-400\",\n\t\t\t\t\t\t\t\t\t\"h-xxxxl\",\n\t\t\t\t\t\t\t\t\t\"rounded-full\",\n\t\t\t\t\t\t\t\t\t\"w-3/5\"\n\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t</div>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\"ui-skeleton-main__content\",\n\t\t\t\t\t\t\t\"bg-white\",\n\t\t\t\t\t\t\t\"col-span-3\"\n\t\t\t\t\t\t) }>\n\t\t\t\t\t\t<div className={ cx(\n\t\t\t\t\t\t\t\"grid\",\n\t\t\t\t\t\t\t\"p-sm\"\n\n\t\t\t\t\t\t) }>\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\t\t\"bg-secondary-alt-400\",\n\t\t\t\t\t\t\t\t\t\"h-md\",\n\t\t\t\t\t\t\t\t\t\"mb-xxs\",\n\t\t\t\t\t\t\t\t\t\"rounded-sm\",\n\t\t\t\t\t\t\t\t\t\"w-3/5\"\n\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t<div className={ cx(\n\t\t\t\t\t\t\t\t\"flex\",\n\t\t\t\t\t\t\t\t\"gap-sm\",\n\t\t\t\t\t\t\t\t\"mb-xxs\"\n\t\t\t\t\t\t\t) }>\n\t\t\t\t\t\t\t\t{ [\"w-2/5\", \"w-1/4\"].map((widthClass, index) => {\n\t\t\t\t\t\t\t\t\tconst bgClass = index === 0 ? \"bg-secondary-alt-300\" : \"bg-secondary-alt-300\";\n\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\t\t\tkey={ index }\n\t\t\t\t\t\t\t\t\t\t\tclassName={ cx(widthClass, \"h-md\", bgClass, \"rounded-sm\") }\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}) }\n\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\t<div className={ cx(\n\t\t\t\t\t\t\t\t\"flex\",\n\t\t\t\t\t\t\t\t\"justify-between\",\n\n\t\t\t\t\t\t\t) }>\n\t\t\t\t\t\t\t\t{ [\"w-1/3\", \"w-1/4\"].map((widthClass, index) => {\n\t\t\t\t\t\t\t\t\tconst heightClass = \"h-[20px]\";\n\t\t\t\t\t\t\t\t\tconst bgClass = index === 0 ? \"bg-secondary-alt-400\" : \"bg-secondary-alt-300\";\n\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\t\t\tkey={ index }\n\t\t\t\t\t\t\t\t\t\t\tclassName={ cx(widthClass, heightClass, bgClass, \"rounded-sm\", \"mb-xxs\") }\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}) }\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t<div className={ cx(\n\t\t\t\t\t\t\t\"grid\",\n\t\t\t\t\t\t\t\"grid-cols-4\",\n\n\t\t\t\t\t\t) } >\n\t\t\t\t\t\t\t{ Array.from({\n\t\t\t\t\t\t\t\tlength: 4\n\t\t\t\t\t\t\t}).map((_, index)=> (\n\t\t\t\t\t\t\t\t<div key={ index } className={ cx(\n\t\t\t\t\t\t\t\t\t\"border\",\n\t\t\t\t\t\t\t\t\t\"border-secondary-alt-300\",\n\t\t\t\t\t\t\t\t\t\"px-xs\",\n\t\t\t\t\t\t\t\t\t\"py-md\"\n\n\t\t\t\t\t\t\t\t) } >\n\t\t\t\t\t\t\t\t\t<div className={ cx(\n\t\t\t\t\t\t\t\t\t\t\"place-items-center\"\n\n\t\t\t\t\t\t\t\t\t) }>\n\t\t\t\t\t\t\t\t\t\t{ [\"w-2/3\", \"w-2/4\"].map((widthClass, index) => {\n\n\t\t\t\t\t\t\t\t\t\t\tconst heightClass = index === 1 ? \"h-[23px]\" : \"h-[20px]\";\n\n\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\t\t\t\t\tkey={ index }\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"bg-secondary-alt-300\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"mb-xxxs\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"rounded-sm\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\twidthClass,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\theightClass\n\t\t\t\t\t\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}) }\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t)) }\n\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t</div>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\"ui-skeleton-cta-cell\",\n\t\t\t\t\t\t\t\"bg-secondary-alt-200\",\n\t\t\t\t\t\t\t\"flex-col\",\n\t\t\t\t\t\t\t\"flex\",\n\t\t\t\t\t\t\t\"items-center\",\n\t\t\t\t\t\t\t\"px-sm\",\n\t\t\t\t\t\t\t\"py-md\",\n\t\t\t\t\t\t\t\"rounded-br-xl\",\n\t\t\t\t\t\t\t\"rounded-tr-xl\"\n\n\t\t\t\t\t\t) }>\n\t\t\t\t\t\t{ [\"w-3/4\", \"w-1/2\", \"w-3/4\", \"w-4/5\"].map((widthClass, index) => {\n\n\t\t\t\t\t\t\tconst heightClass = index === 1 ? \"h-lg\" : \"h-[20px]\";\n\t\t\t\t\t\t\tconst lastDivClass = index === 3 ? \"h-xxl bg-secondary-alt-500 mt-md\" : heightClass;\n\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\tkey={ index }\n\t\t\t\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\t\t\t\"ui-skeleton-cta-cell__content\",\n\t\t\t\t\t\t\t\t\t\t\"bg-secondary-alt-400\",\n\t\t\t\t\t\t\t\t\t\t\"flex-col\",\n\t\t\t\t\t\t\t\t\t\t\"flex\",\n\t\t\t\t\t\t\t\t\t\t\"h-[20px]\",\n\t\t\t\t\t\t\t\t\t\t\"mb-xxxs\",\n\t\t\t\t\t\t\t\t\t\t\"rounded-sm\",\n\t\t\t\t\t\t\t\t\t\twidthClass,\n\t\t\t\t\t\t\t\t\t\theightClass,\n\t\t\t\t\t\t\t\t\t\tlastDivClass\n\t\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}) }\n\n\t\t\t\t\t</div>\n\n\t\t\t\t</div>\n\n\t\t\t) }\n\n\t\t</div>\n\t);\n};\n"],"names":["UiSkeleton","kind","className","jsx","ESkeletonKind","jsxs","cx","widthClass","index","_","heightClass"],"mappings":";;;;AASO,MAAMA,IAAwC,CAAC;AAAA,EACrD,MAAAC;AAAA,EACA,WAAAC;AACD,MAGG,gBAAAC,EAAA,OAAA,EAAI,WAAAD,GACF,UAAAD,MAASG,EAAc,eACxB,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACA,WAAYC;AAAA,MACX;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACD;AAAA,IAEA,UAAA;AAAA,MAAA,gBAAAH;AAAA,QAAC;AAAA,QAAA;AAAA,UACA,WAAYG;AAAA,YACX;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UAED;AAAA,UAEA,UAAA,gBAAAD,EAAC,SAAI,WAAYC,EAAG,QAAQ,QAAQ,WAAW,sBAAsB,GACpE,UAAA;AAAA,YAAA,gBAAAH;AAAA,cAAC;AAAA,cAAA;AAAA,gBACA,WAAYG;AAAA,kBACX;AAAA,kBACA;AAAA,kBACA;AAAA,kBACA;AAAA,kBACA;AAAA,kBACA;AAAA,gBAAA;AAAA,cACD;AAAA,YACD;AAAA,YACA,gBAAAH;AAAA,cAAC;AAAA,cAAA;AAAA,gBACA,WAAYG;AAAA,kBACX;AAAA,kBACA;AAAA,kBACA;AAAA,kBACA;AAAA,kBACA;AAAA,gBAAA;AAAA,cACD;AAAA,YAAA;AAAA,UACD,EACD,CAAA;AAAA,QAAA;AAAA,MAED;AAAA,MACA,gBAAAD;AAAA,QAAC;AAAA,QAAA;AAAA,UACA,WAAYC;AAAA,YACX;AAAA,YACA;AAAA,YACA;AAAA,UACD;AAAA,UACA,UAAA;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AAAA,cAAC;AAAA,cAAA;AAAA,gBAEA,WAAYG;AAAA,kBACX;AAAA,kBACA;AAAA,kBACA;AAAA,kBACAC;AAAA,kBATiBC,MAAU,IAAI,aAAa;AAAA,gBAU5C;AAAA,cACD;AAAA,cAPMA;AAAAA,YAQP,CAED,GACF,EA5BU,GAAAA,CA6BX,CACA,EAEF,CAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MAED;AAAA,MACA,gBAAAL;AAAA,QAAC;AAAA,QAAA;AAAA,UACA,WAAYG;AAAA,YACX;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UAED;AAAA,UACE,UAAA,CAAC,SAAS,SAAS,SAAS,OAAO,EAAE,IAAI,CAACC,GAAYC,MAAU;AAE3D,kBAAAE,IAAcF,MAAU,IAAI,SAAS;AAI1C,mBAAA,gBAAAL;AAAA,cAAC;AAAA,cAAA;AAAA,gBAEA,WAAYG;AAAA,kBACX;AAAA,kBACA;AAAA,kBACA;AAAA,kBACA;AAAA,kBACA;AAAA,kBACA;AAAA,kBACA;AAAA,kBACAC;AAAA,kBACAG;AAAA,kBAdkBF,MAAU,IAAI,qCAAqCE;AAAA,gBAerE;AAAA,cACD;AAAA,cAZMF;AAAA,YAaP;AAAA,UAED,CAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IAEF;AAAA,EAAA;AAAA,GAMH;"}
|
|
1
|
+
{"version":3,"file":"UiSkeleton.js","sources":["../../../src/components/UiSkeleton/UiSkeleton.tsx"],"sourcesContent":["import React from \"react\";\nimport cx from \"classnames\";\nimport { ESkeletonKind } from \"./_types\";\n\ntype UiSkeletonProps = {\n\tkind: ESkeletonKind\n\tclassName?: string\n}\n\nexport const UiSkeleton: React.FC<UiSkeletonProps> = ({\n\tkind,\n\tclassName\n}) => {\n\n\treturn (\n\t\t<div className={ className }>\n\n\t\t\t{ kind === ESkeletonKind.RESULT_CARD && (\n\n\t\t\t\t<div\n\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\"ui-skeleton-card\",\n\t\t\t\t\t\t\"animate-pulse\",\n\t\t\t\t\t\t\"border-2\",\n\t\t\t\t\t\t\"border-secondary-alt-300\",\n\t\t\t\t\t\t\"grid grid-cols-[120px_1fr_180px]\",\n\t\t\t\t\t\t\"rounded-2xl\",\n\t\t\t\t\t) }\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\"ui-skeleton-card__content\",\n\t\t\t\t\t\t\t\"bg-secondary-alt-300\",\n\t\t\t\t\t\t\t\"gap-xs\",\n\t\t\t\t\t\t\t\"items-center\",\n\t\t\t\t\t\t\t\"justify-center\",\n\t\t\t\t\t\t\t\"p-md\",\n\t\t\t\t\t\t\t\"rounded-bl-xl\",\n\t\t\t\t\t\t\t\"rounded-tl-xl\"\n\n\t\t\t\t\t\t) }\n\t\t\t\t\t>\n\t\t\t\t\t\t<div className={ cx(\"grid\", \"grow\", \"gap-xxs\", \"justify-items-center\") }>\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\t\t\"ui-skeleton-card__content\",\n\t\t\t\t\t\t\t\t\t\"bg-secondary-alt-400\",\n\t\t\t\t\t\t\t\t\t\"h-xl\",\n\t\t\t\t\t\t\t\t\t\"mb-sm\",\n\t\t\t\t\t\t\t\t\t\"rounded-sm\",\n\t\t\t\t\t\t\t\t\t\"w-xxxxl\"\n\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\t\t\"ui-skeleton-card__content\",\n\t\t\t\t\t\t\t\t\t\"bg-secondary-alt-400\",\n\t\t\t\t\t\t\t\t\t\"h-xxxxl\",\n\t\t\t\t\t\t\t\t\t\"rounded-full\",\n\t\t\t\t\t\t\t\t\t\"w-xxxxl\"\n\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t</div>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\"ui-skeleton-main__content\",\n\t\t\t\t\t\t\t\"bg-white\",\n\t\t\t\t\t\t) }>\n\t\t\t\t\t\t<div className={ cx(\n\t\t\t\t\t\t\t\"grid\",\n\t\t\t\t\t\t\t\"p-sm\"\n\n\t\t\t\t\t\t) }>\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\t\t\"bg-secondary-alt-400\",\n\t\t\t\t\t\t\t\t\t\"h-md\",\n\t\t\t\t\t\t\t\t\t\"mb-xxs\",\n\t\t\t\t\t\t\t\t\t\"rounded-sm\",\n\t\t\t\t\t\t\t\t\t\"w-3/5\"\n\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t<div className={ cx(\n\t\t\t\t\t\t\t\t\"flex\",\n\t\t\t\t\t\t\t\t\"gap-sm\",\n\t\t\t\t\t\t\t\t\"mb-xxs\"\n\t\t\t\t\t\t\t) }>\n\t\t\t\t\t\t\t\t{ [\"w-2/5\", \"w-1/4\"].map((widthClass, index) => {\n\t\t\t\t\t\t\t\t\tconst bgClass = index === 0\n\t\t\t\t\t\t\t\t\t\t? \"bg-secondary-alt-300\"\n\t\t\t\t\t\t\t\t\t\t: \"bg-secondary-alt-300\";\n\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\t\t\tkey={ index }\n\t\t\t\t\t\t\t\t\t\t\tclassName={ cx(widthClass, \"h-md\", bgClass, \"rounded-sm\") }\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}) }\n\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\t<div className={ cx(\n\t\t\t\t\t\t\t\t\"flex\",\n\t\t\t\t\t\t\t\t\"justify-between\",\n\n\t\t\t\t\t\t\t) }>\n\t\t\t\t\t\t\t\t{ [\"w-1/3\", \"w-1/4\"].map((widthClass, index) => {\n\t\t\t\t\t\t\t\t\tconst heightClass = \"h-[20px]\";\n\t\t\t\t\t\t\t\t\tconst bgClass = index === 0\n\t\t\t\t\t\t\t\t\t\t? \"bg-secondary-alt-400\"\n\t\t\t\t\t\t\t\t\t\t: \"bg-secondary-alt-300\";\n\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\t\t\tkey={ index }\n\t\t\t\t\t\t\t\t\t\t\tclassName={ cx(widthClass, heightClass, bgClass, \"rounded-sm\", \"mb-xxs\") }\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}) }\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t<div className={ cx(\n\t\t\t\t\t\t\t\"grid\",\n\t\t\t\t\t\t\t\"grid-cols-4\",\n\n\t\t\t\t\t\t) } >\n\t\t\t\t\t\t\t{ Array.from({\n\t\t\t\t\t\t\t\tlength: 4\n\t\t\t\t\t\t\t}).map((_, index)=> (\n\t\t\t\t\t\t\t\t<div key={ index } className={ cx(\n\t\t\t\t\t\t\t\t\t\"border\",\n\t\t\t\t\t\t\t\t\t\"border-secondary-alt-300\",\n\t\t\t\t\t\t\t\t\t\"px-xs\",\n\t\t\t\t\t\t\t\t\t\"py-md\"\n\n\t\t\t\t\t\t\t\t) } >\n\t\t\t\t\t\t\t\t\t<div className={ cx(\n\t\t\t\t\t\t\t\t\t\t\"place-items-center\"\n\n\t\t\t\t\t\t\t\t\t) }>\n\t\t\t\t\t\t\t\t\t\t{ [\"w-2/3\", \"w-2/4\"].map((widthClass, index) => {\n\n\t\t\t\t\t\t\t\t\t\t\tconst heightClass = index === 1\n\t\t\t\t\t\t\t\t\t\t\t\t? \"h-md\"\n\t\t\t\t\t\t\t\t\t\t\t\t: \"h-[20px]\";\n\n\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\t\t\t\t\tkey={ index }\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"bg-secondary-alt-300\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"mb-xxxs\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"rounded-sm\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\twidthClass,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\theightClass\n\t\t\t\t\t\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}) }\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t)) }\n\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t</div>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\"ui-skeleton-cta-cell\",\n\t\t\t\t\t\t\t\"bg-secondary-alt-200\",\n\t\t\t\t\t\t\t\"flex-col\",\n\t\t\t\t\t\t\t\"flex\",\n\t\t\t\t\t\t\t\"items-center\",\n\t\t\t\t\t\t\t\"px-sm\",\n\t\t\t\t\t\t\t\"py-md\",\n\t\t\t\t\t\t\t\"rounded-br-xl\",\n\t\t\t\t\t\t\t\"rounded-tr-xl\"\n\n\t\t\t\t\t\t) }>\n\t\t\t\t\t\t{ [\"w-3/4\", \"w-1/2\", \"w-3/4\", \"w-4/5\"].map((widthClass, index) => {\n\n\t\t\t\t\t\t\tconst heightClass = index === 1\n\t\t\t\t\t\t\t\t? \"h-lg\"\n\t\t\t\t\t\t\t\t: \"h-[20px]\";\n\t\t\t\t\t\t\tconst lastDivClass = index === 3\n\t\t\t\t\t\t\t\t? \"h-xxl bg-secondary-alt-500 mt-md\"\n\t\t\t\t\t\t\t\t: heightClass;\n\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\tkey={ index }\n\t\t\t\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\t\t\t\"ui-skeleton-cta-cell__content\",\n\t\t\t\t\t\t\t\t\t\t\"bg-secondary-alt-400\",\n\t\t\t\t\t\t\t\t\t\t\"flex-col\",\n\t\t\t\t\t\t\t\t\t\t\"flex\",\n\t\t\t\t\t\t\t\t\t\t\"h-[20px]\",\n\t\t\t\t\t\t\t\t\t\t\"mb-xxxs\",\n\t\t\t\t\t\t\t\t\t\t\"rounded-sm\",\n\t\t\t\t\t\t\t\t\t\twidthClass,\n\t\t\t\t\t\t\t\t\t\theightClass,\n\t\t\t\t\t\t\t\t\t\tlastDivClass\n\t\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}) }\n\n\t\t\t\t\t</div>\n\n\t\t\t\t</div>\n\n\t\t\t) }\n\n\t\t\t{ kind === ESkeletonKind.RESULT_CARD_MOBILE && (\n\t\t\t\t<div\n\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\"ui-skeleton-card-mobile\",\n\t\t\t\t\t\t\"animate-pulse\",\n\t\t\t\t\t\t\"border-2\",\n\t\t\t\t\t\t\"border-secondary-alt-300\",\n\t\t\t\t\t\t\"rounded-2xl\",\n\t\t\t\t\t\t\"grid\",\n\t\t\t\t\t\t\"p-sm\"\n\t\t\t\t\t) }>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\"ui-skeleton-card__content\"\n\t\t\t\t\t\t) }\n\t\t\t\t\t>\n\t\t\t\t\t\t<div className=\"flex grow gap-sm\">\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\t\t\"ui-skeleton-card__content\",\n\t\t\t\t\t\t\t\t\t\"bg-secondary-alt-400\",\n\t\t\t\t\t\t\t\t\t\"h-xxxl\",\n\t\t\t\t\t\t\t\t\t\"rounded-sm\",\n\t\t\t\t\t\t\t\t\t\"w-xxxl\"\n\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<div className={ cx(\"flex\",\"flex-col\", \"grow\") }>\n\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\t\t\t\"ui-skeleton-card__content\",\n\t\t\t\t\t\t\t\t\t\t\"bg-secondary-alt-400\",\n\t\t\t\t\t\t\t\t\t\t\"h-md\",\n\t\t\t\t\t\t\t\t\t\t\"mb-sm\",\n\t\t\t\t\t\t\t\t\t\t\"rounded-sm\",\n\t\t\t\t\t\t\t\t\t\t\"w-4/5\"\n\t\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\t\t\t\"ui-skeleton-card__content\",\n\t\t\t\t\t\t\t\t\t\t\"bg-secondary-alt-400\",\n\t\t\t\t\t\t\t\t\t\t\"h-md\",\n\t\t\t\t\t\t\t\t\t\t\"mb-sm\",\n\t\t\t\t\t\t\t\t\t\t\"rounded-sm\",\n\t\t\t\t\t\t\t\t\t\t\"w-2/3\"\n\t\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div className={ cx(\n\t\t\t\t\t\t\"flex\",\n\t\t\t\t\t\t\"grow\",\n\t\t\t\t\t\t\"gap-xxs\",\n\t\t\t\t\t\t\"justify-center\",\n\t\t\t\t\t\t\"border-t\",\n\t\t\t\t\t\t\"p-sm\",\n\t\t\t\t\t\t\"border-secondary-alt-300\") }>\n\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\t\"ui-skeleton-card__content\",\n\t\t\t\t\t\t\t\t\"bg-secondary-alt-500\",\n\t\t\t\t\t\t\t\t\"h-xxxxl\",\n\t\t\t\t\t\t\t\t\"rounded-full\",\n\t\t\t\t\t\t\t\t\"w-xxxxl\"\n\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div className={ cx(\n\t\t\t\t\t\t\"grid\",\n\t\t\t\t\t\t\"grid-cols-3\",\n\n\t\t\t\t\t) } >\n\t\t\t\t\t\t{ Array.from({\n\t\t\t\t\t\t\tlength: 3\n\t\t\t\t\t\t}).map((_, index)=> (\n\t\t\t\t\t\t\t<div key={ index } className={ cx(\n\t\t\t\t\t\t\t\t\"border\",\n\t\t\t\t\t\t\t\t\"border-l-0\",\n\t\t\t\t\t\t\t\t\"border-secondary-alt-300\",\n\t\t\t\t\t\t\t\t\"py-xxs\",\n\t\t\t\t\t\t\t\t\"place-items-center\",\n\t\t\t\t\t\t\t\tindex === 2\n\t\t\t\t\t\t\t\t\t? \"border-r-0\"\n\t\t\t\t\t\t\t\t\t: \"\"\n\n\t\t\t\t\t\t\t) } >\n\n\t\t\t\t\t\t\t\t{ [\"w-2/3\", \"w-2/4\"].map((widthClass, index) => {\n\t\t\t\t\t\t\t\t\tconst bgClass = index === 0\n\t\t\t\t\t\t\t\t\t\t? \"bg-secondary-alt-300\"\n\t\t\t\t\t\t\t\t\t\t: \"bg-secondary-alt-400\";\n\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\t\t\tkey={ index }\n\t\t\t\t\t\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\t\t\t\t\t\"bg-secondary-alt-300\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"mb-xxxs\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"rounded-sm\",\n\t\t\t\t\t\t\t\t\t\t\t\t\"h-md\",\n\t\t\t\t\t\t\t\t\t\t\t\tbgClass,\n\t\t\t\t\t\t\t\t\t\t\t\twidthClass,\n\n\t\t\t\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}) }\n\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t)) }\n\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div className={ cx(\n\t\t\t\t\t\t\"flex\",\n\t\t\t\t\t\t\"gap-sm\",\n\t\t\t\t\t\t\"my-xxs\"\n\t\t\t\t\t) }>\n\t\t\t\t\t\t{ [\"w-2/6\", \"w-2/6\"].map((widthClass, index) => {\n\t\t\t\t\t\t\tconst bgClass = index === 0\n\t\t\t\t\t\t\t\t? \"bg-secondary-alt-300\"\n\t\t\t\t\t\t\t\t: \"bg-secondary-alt-300\";\n\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\tkey={ index }\n\t\t\t\t\t\t\t\t\tclassName={ cx(widthClass, \"h-md\", bgClass, \"rounded-sm\") }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}) }\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div className={ cx(\n\t\t\t\t\t\t\"flex\",\n\t\t\t\t\t\t\"justify-between\"\n\t\t\t\t\t) }>\n\n\t\t\t\t\t\t<div className={ cx(\n\t\t\t\t\t\t\t\"flex\",\n\t\t\t\t\t\t\t\"flex-col\",\n\t\t\t\t\t\t\t\"gap-xxxs\",\n\t\t\t\t\t\t\t\"w-full\"\n\n\t\t\t\t\t\t) }>\n\n\t\t\t\t\t\t\t{ [\"w-3/5\", \"w-2/5\", \"w-3/6\",\"w-3/5\"].map((widthClass, index) => {\n\t\t\t\t\t\t\t\tconst bgClass = index === 3\n\t\t\t\t\t\t\t\t\t? \"bg-secondary-alt-400\"\n\t\t\t\t\t\t\t\t\t: \"bg-secondary-alt-300\";\n\t\t\t\t\t\t\t\tconst heightClass = index === 2\n\t\t\t\t\t\t\t\t\t? \"h-md\"\n\t\t\t\t\t\t\t\t\t: index === 3\n\t\t\t\t\t\t\t\t\t\t? \"h-sm\"\n\t\t\t\t\t\t\t\t\t\t: \"h-[20px]\";\n\t\t\t\t\t\t\t\treturn (\n\n\t\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\t\tkey={ index }\n\t\t\t\t\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\t\t\t\t\"rounded-sm\",\n\t\t\t\t\t\t\t\t\t\t\twidthClass,\n\t\t\t\t\t\t\t\t\t\t\theightClass,\n\t\t\t\t\t\t\t\t\t\t\tbgClass\n\n\t\t\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}) }\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t<div className={ cx(\n\t\t\t\t\t\t\t\"flex\",\n\t\t\t\t\t\t\t\"flex-col\",\n\t\t\t\t\t\t\t\"gap-xxxs\",\n\t\t\t\t\t\t\t\"w-full\",\n\t\t\t\t\t\t\t\"items-end\"\n\t\t\t\t\t\t) }>\n\n\t\t\t\t\t\t\t{ [\"w-3/6\", \"w-2/5\", \"w-3/5\"].map((widthClass, index)=> {\n\t\t\t\t\t\t\t\tconst bgClass = index === 1\n\t\t\t\t\t\t\t\t\t? \"bg-secondary-alt-300\"\n\t\t\t\t\t\t\t\t\t: \"bg-secondary-alt-400\";\n\t\t\t\t\t\t\t\tconst roundClass = index === 2\n\t\t\t\t\t\t\t\t\t? \"rounded-full\"\n\t\t\t\t\t\t\t\t\t: \"rounded-sm\";\n\t\t\t\t\t\t\t\tconst heightClass = index === 1\n\t\t\t\t\t\t\t\t\t? \"h-[20px]\"\n\t\t\t\t\t\t\t\t\t: \"h-md\";\n\t\t\t\t\t\t\t\tconst marginsClass = index === 0\n\t\t\t\t\t\t\t\t\t? \"mt-xxs\"\n\t\t\t\t\t\t\t\t\t: index === 2\n\t\t\t\t\t\t\t\t\t\t? \"mt-xxs\"\n\t\t\t\t\t\t\t\t\t\t: \"mt-0\";\n\t\t\t\t\t\t\t\treturn (\n\n\t\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\t\tkey={ index }\n\t\t\t\t\t\t\t\t\t\tclassName={ cx(\n\t\t\t\t\t\t\t\t\t\t\troundClass,\n\t\t\t\t\t\t\t\t\t\t\twidthClass,\n\t\t\t\t\t\t\t\t\t\t\theightClass,\n\t\t\t\t\t\t\t\t\t\t\tbgClass,\n\t\t\t\t\t\t\t\t\t\t\tmarginsClass,\n\n\t\t\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}) }\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div className={ cx(\n\t\t\t\t\t\t\"flex\",\n\t\t\t\t\t\t\"h-md\",\n\t\t\t\t\t\t\"w-full\",\n\t\t\t\t\t\t\"rounded-sm\",\n\t\t\t\t\t\t\"bg-secondary-alt-400\",\n\t\t\t\t\t\t\"mt-sm\"\n\t\t\t\t\t) } />\n\n\t\t\t\t\t<div className={ cx(\n\t\t\t\t\t\t\"flex\",\n\t\t\t\t\t\t\"h-xxl\",\n\t\t\t\t\t\t\"w-full\",\n\t\t\t\t\t\t\"rounded-lg\",\n\t\t\t\t\t\t\"bg-secondary-alt-500\",\n\t\t\t\t\t\t\"mt-xxs\"\n\t\t\t\t\t) } />\n\n\t\t\t\t\t<div className={ cx(\n\t\t\t\t\t\t\"flex\",\n\t\t\t\t\t\t\"border-b\",\n\t\t\t\t\t\t\"border-secondary-alt-400\",\n\t\t\t\t\t\t\"mt-sm\",\n\t\t\t\t\t\t\"-mx-sm\"\n\n\t\t\t\t\t) }\n\t\t\t\t\t/>\n\n\t\t\t\t\t<div className={ cx(\n\t\t\t\t\t\t\"flex\",\n\t\t\t\t\t\t\"h-sm\",\n\t\t\t\t\t\t\"justify-center\",\n\t\t\t\t\t\t\"bg-secondary-alt-300\",\n\t\t\t\t\t\t\"rounded-sm\",\n\t\t\t\t\t\t\"mt-sm\"\n\t\t\t\t\t) }\n\t\t\t\t\t/>\n\n\t\t\t\t</div>\n\t\t\t) }\n\n\t\t</div>\n\t);\n};\n"],"names":["UiSkeleton","kind","className","jsxs","ESkeletonKind","cx","jsx","widthClass","index","_","heightClass"],"mappings":";;;;AASO,MAAMA,IAAwC,CAAC;AAAA,EACrD,MAAAC;AAAA,EACA,WAAAC;AACD,MAGE,gBAAAC,EAAC,SAAI,WAAAD,GAEF,UAAA;AAAA,EAAAD,MAASG,EAAc,eAExB,gBAAAD;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,WAAYE;AAAA,QACX;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACD;AAAA,MAEA,UAAA;AAAA,QAAA,gBAAAC;AAAA,UAAC;AAAA,UAAA;AAAA,YACA,WAAYD;AAAA,cACX;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,YAED;AAAA,YAEA,UAAA,gBAAAF,EAAC,SAAI,WAAYE,EAAG,QAAQ,QAAQ,WAAW,sBAAsB,GACpE,UAAA;AAAA,cAAA,gBAAAC;AAAA,gBAAC;AAAA,gBAAA;AAAA,kBACA,WAAYD;AAAA,oBACX;AAAA,oBACA;AAAA,oBACA;AAAA,oBACA;AAAA,oBACA;AAAA,oBACA;AAAA,kBAAA;AAAA,gBACD;AAAA,cACD;AAAA,cACA,gBAAAC;AAAA,gBAAC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@__PURE__ */ ((R) => (R.RESULT_CARD = "RESULT_CARD", R.RESULT_CARD_MOBILE = "RESULT_CARD_MOBILE", R))(L || {});
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
L as ESkeletonKind
|
|
4
4
|
};
|
|
5
5
|
//# sourceMappingURL=_types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_types.js","sources":["../../../src/components/UiSkeleton/_types.ts"],"sourcesContent":["export enum ESkeletonKind {\n\tRESULT_CARD = \"RESULT_CARD\"\n}\n"],"names":["ESkeletonKind"],"mappings":"AAAY,IAAAA,sBAAAA,OACXA,EAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"_types.js","sources":["../../../src/components/UiSkeleton/_types.ts"],"sourcesContent":["export enum ESkeletonKind {\n\tRESULT_CARD = \"RESULT_CARD\",\n\tRESULT_CARD_MOBILE = \"RESULT_CARD_MOBILE\"\n}\n"],"names":["ESkeletonKind"],"mappings":"AAAY,IAAAA,sBAAAA,OACXA,EAAA,cAAc,eACdA,EAAA,qBAAqB,sBAFVA,IAAAA,KAAA,CAAA,CAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiSnackbar.js","sources":["../../../src/components/UiSnackbar/UiSnackbar.tsx"],"sourcesContent":["import React from \"react\";\nimport cx from \"classnames\";\nimport { ESnackbarTypes } from \"./_types\";\n\ntype UiSnackbarProps ={\n\tkind?: ESnackbarTypes;\n\ttitle: React.ReactNode;\n\tchildren: React.ReactNode;\n\tclassName?: string\n}\n\nconst kindClasses = {\n\t[ESnackbarTypes.DEFAULT]: `\n\t\tbg-white\n\t\ttext-secondary-700\n\n\t`,\n\t[ESnackbarTypes.PRIMARY]: `\n\t\tbg-primary-600\n\t\ttext-white\n\t`,\n\t[ESnackbarTypes.WARNING]: `\n\t\tbg-warning\n\t\ttext-white\n\t`,\n\t[ESnackbarTypes.ERROR]: `\n\t\tbg-error\n\t\ttext-white\n\t`,\n\t[ESnackbarTypes.SECONDARY]: `\n\t\tbg-secondary\n\t\ttext-white\n\t`,\n\n};\n\nexport const UiSnackbar: React.FC<UiSnackbarProps> = ({\n\n\tkind= ESnackbarTypes.SECONDARY,\n\ttitle,\n\tchildren,\n\tclassName\n}) => {\n\n\treturn (\n\n\t\t<div\n\t\t\tclassName={ cx(\n\t\t\t\t\"ui-snackbar\",\n\t\t\t\t\"flex\",\n\t\t\t\t\"w-full\",\n\t\t\t\t\"rounded-lg\",\n\t\t\t\t\"items-center\",\n\t\t\t\t\"justify-between\",\n\t\t\t\t\"shadow-md\",\n\t\t\t\t\"p-sm\",\n\t\t\t\t\"flex-row-reverse\",\n\t\t\t\t\"text-sm\",\n\t\t\t\tkindClasses[kind],\n\t\t\t\tclassName\n\t\t\t) }\n\t\t>\n\t\t\t<div\n\t\t\t\tstyle={ {\n\t\t\t\t\tcolor: kind === ESnackbarTypes.DEFAULT
|
|
1
|
+
{"version":3,"file":"UiSnackbar.js","sources":["../../../src/components/UiSnackbar/UiSnackbar.tsx"],"sourcesContent":["import React from \"react\";\nimport cx from \"classnames\";\nimport { ESnackbarTypes } from \"./_types\";\n\ntype UiSnackbarProps = {\n\tkind?: ESnackbarTypes;\n\ttitle: React.ReactNode;\n\tchildren: React.ReactNode;\n\tclassName?: string\n}\n\nconst kindClasses = {\n\t[ESnackbarTypes.DEFAULT]: `\n\t\tbg-white\n\t\ttext-secondary-700\n\n\t`,\n\t[ESnackbarTypes.PRIMARY]: `\n\t\tbg-primary-600\n\t\ttext-white\n\t`,\n\t[ESnackbarTypes.WARNING]: `\n\t\tbg-warning\n\t\ttext-white\n\t`,\n\t[ESnackbarTypes.ERROR]: `\n\t\tbg-error\n\t\ttext-white\n\t`,\n\t[ESnackbarTypes.SECONDARY]: `\n\t\tbg-secondary\n\t\ttext-white\n\t`,\n\n};\n\nexport const UiSnackbar: React.FC<UiSnackbarProps> = ({\n\n\tkind = ESnackbarTypes.SECONDARY,\n\ttitle,\n\tchildren,\n\tclassName\n}) => {\n\n\treturn (\n\n\t\t<div\n\t\t\tclassName={ cx(\n\t\t\t\t\"ui-snackbar\",\n\t\t\t\t\"flex\",\n\t\t\t\t\"w-full\",\n\t\t\t\t\"rounded-lg\",\n\t\t\t\t\"items-center\",\n\t\t\t\t\"justify-between\",\n\t\t\t\t\"shadow-md\",\n\t\t\t\t\"p-sm\",\n\t\t\t\t\"flex-row-reverse\",\n\t\t\t\t\"text-sm\",\n\t\t\t\tkindClasses[kind],\n\t\t\t\tclassName\n\t\t\t) }\n\t\t>\n\t\t\t<div\n\t\t\t\tstyle={ {\n\t\t\t\t\tcolor: kind === ESnackbarTypes.DEFAULT\n\t\t\t\t\t\t? \"black\"\n\t\t\t\t\t\t: \"white\",\n\t\t\t\t\tfontWeight: \"normal\",\n\t\t\t\t} }\n\t\t\t>\n\t\t\t\t{ children }\n\t\t\t</div>\n\n\t\t\t{ title }\n\t\t</div>\n\n\t);\n};\n"],"names":["kindClasses","ESnackbarTypes","UiSnackbar","kind","title","children","className","jsxs","cx","jsx"],"mappings":";;;;AAWA,MAAMA,IAAc;AAAA,EACnB,CAACC,EAAe,OAAO,GAAG;AAAA;AAAA;AAAA;AAAA;AAAA,EAK1B,CAACA,EAAe,OAAO,GAAG;AAAA;AAAA;AAAA;AAAA,EAI1B,CAACA,EAAe,OAAO,GAAG;AAAA;AAAA;AAAA;AAAA,EAI1B,CAACA,EAAe,KAAK,GAAG;AAAA;AAAA;AAAA;AAAA,EAIxB,CAACA,EAAe,SAAS,GAAG;AAAA;AAAA;AAAA;AAK7B,GAEaC,IAAwC,CAAC;AAAA,EAErD,MAAAC,IAAOF,EAAe;AAAA,EACtB,OAAAG;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AACD,MAIE,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACA,WAAYC;AAAA,MACX;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACAR,EAAYG,CAAI;AAAA,MAChBG;AAAA,IACD;AAAA,IAEA,UAAA;AAAA,MAAA,gBAAAG;AAAA,QAAC;AAAA,QAAA;AAAA,UACA,OAAQ;AAAA,YACP,OAAON,MAASF,EAAe,UAC5B,UACA;AAAA,YACH,YAAY;AAAA,UACb;AAAA,UAEE,UAAAI;AAAA,QAAA;AAAA,MACH;AAAA,MAEED;AAAA,IAAA;AAAA,EAAA;AACH;"}
|