quirk-ui 0.0.253 → 0.0.255
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/assets/index21.css +1 -1
- package/dist/components/Card/index.js +30 -30
- package/dist/components/Carousel/index.js +66 -66
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/assets/index21.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._card_ti1qi_1{background-color:var(--color-background);border-radius:var(--radius-md);padding:var(--spacing-md);cursor:pointer;transition:box-shadow .3s,transform .3s;display:flex;flex-direction:column;justify-content:space-between;height:100%;box-sizing:border-box;min-height:225px;margin:0 auto;max-width:800px}._clickable_ti1qi_18{cursor:pointer}._clickable_ti1qi_18:hover{box-shadow:0 6px 12px #0003}._default_ti1qi_26{box-shadow:0 2px 4px #0000001a}._outlined_ti1qi_30{border:1px solid var(--color-border)}._shadow_ti1qi_34{box-shadow:0 2px 4px #00000026}._imageTop_ti1qi_38{padding:0;overflow:hidden;border-radius:var(--radius-md);display:flex;flex-direction:column;height:100%;border:1px solid var(--color-border)}._imageTop_ti1qi_38 ._imageContainer_ti1qi_48{width:100%;height:100%;max-height:150px;overflow:hidden;flex-shrink:0}._imageTop_ti1qi_38 ._image_ti1qi_38{width:100%;height:100%;object-fit:cover}._imageTop_ti1qi_38 ._content_ti1qi_63{padding:var(--spacing-md)}._imageBackground_ti1qi_67{position:relative;padding:0;overflow:hidden;border-radius:var(--radius-md);color:var(--color-foreground);display:flex;flex-direction:column;height:100%}._imageBackground_ti1qi_67 ._imageBackgroundContainer_ti1qi_78{position:relative;width:100%;height:100%;overflow:hidden;flex-grow:1}._imageBackground_ti1qi_67 ._backgroundImage_ti1qi_86{width:100%;height:100%;object-fit:cover;position:relative;top:0;left:0;z-index:1}._imageBackground_ti1qi_67 ._overlay_ti1qi_96{position:absolute;top:0;left:0;width:100%;height:100%;background:#0009;z-index:2;display:flex;flex-direction:column;justify-content:space-between;padding:var(--spacing-md)}._imageBackground_ti1qi_67 ._text_ti1qi_112,._imageBackground_ti1qi_67 h3{color:#fff}._content_ti1qi_63{display:flex;flex-direction:column;justify-content:space-between;flex-grow:1}._card_ti1qi_1:hover{transform:translateY(-2px)}._text_ti1qi_112{font-size:var(-font-size-md);color:var(--color-text-primary);margin-bottom:var(--spacing-md)}._footer_ti1qi_134{text-align:right;padding-top:var(--spacing-md);flex-shrink:0}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as e, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import '../../assets/colors.css';import '../../assets/index.css';import '../../assets/index21.css';/* empty css */
|
|
3
3
|
import { Heading as l } from "../Heading/index.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "../../index-CxrBcaoP.js";
|
|
6
6
|
import "../Tabs/index.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
const g = "
|
|
8
|
+
const g = "_card_ti1qi_1", u = "_clickable_ti1qi_18", h = "_outlined_ti1qi_30", k = "_shadow_ti1qi_34", p = "_imageTop_ti1qi_38", q = "_imageContainer_ti1qi_48", v = "_image_ti1qi_38", f = "_content_ti1qi_63", B = "_imageBackground_ti1qi_67", N = "_imageBackgroundContainer_ti1qi_78", C = "_backgroundImage_ti1qi_86", b = "_overlay_ti1qi_96", x = "_text_ti1qi_112", T = "_footer_ti1qi_134", i = {
|
|
9
9
|
card: g,
|
|
10
10
|
clickable: u,
|
|
11
|
-
default: "
|
|
12
|
-
outlined:
|
|
13
|
-
shadow:
|
|
14
|
-
imageTop:
|
|
15
|
-
imageContainer:
|
|
11
|
+
default: "_default_ti1qi_26",
|
|
12
|
+
outlined: h,
|
|
13
|
+
shadow: k,
|
|
14
|
+
imageTop: p,
|
|
15
|
+
imageContainer: q,
|
|
16
16
|
image: v,
|
|
17
17
|
content: f,
|
|
18
18
|
imageBackground: B,
|
|
@@ -22,16 +22,16 @@ const g = "_card_18ynt_1", u = "_clickable_18ynt_16", y = "_outlined_18ynt_28",
|
|
|
22
22
|
text: x,
|
|
23
23
|
footer: T
|
|
24
24
|
}, w = {
|
|
25
|
-
default:
|
|
26
|
-
outlined:
|
|
27
|
-
shadow:
|
|
28
|
-
imageTop:
|
|
29
|
-
imageBackground:
|
|
25
|
+
default: i.default,
|
|
26
|
+
outlined: i.outlined,
|
|
27
|
+
shadow: i.shadow,
|
|
28
|
+
imageTop: i.imageTop,
|
|
29
|
+
imageBackground: i.imageBackground
|
|
30
30
|
};
|
|
31
31
|
function D({
|
|
32
32
|
title: o,
|
|
33
|
-
content:
|
|
34
|
-
footer:
|
|
33
|
+
content: n,
|
|
34
|
+
footer: t,
|
|
35
35
|
imageSrc: c,
|
|
36
36
|
imageAlt: r = "Card image",
|
|
37
37
|
onClick: s,
|
|
@@ -39,37 +39,37 @@ function D({
|
|
|
39
39
|
clickable: m = !1,
|
|
40
40
|
className: _
|
|
41
41
|
}) {
|
|
42
|
-
return /* @__PURE__ */
|
|
42
|
+
return /* @__PURE__ */ e(
|
|
43
43
|
"div",
|
|
44
44
|
{
|
|
45
|
-
className: `${_ ?? ""} ${
|
|
45
|
+
className: `${_ ?? ""} ${i.card} ${w[d]} ${m ? i.clickable : ""}`,
|
|
46
46
|
onClick: s,
|
|
47
47
|
role: s ? "button" : "presentation",
|
|
48
48
|
children: [
|
|
49
|
-
d === "imageTop" && c && /* @__PURE__ */
|
|
50
|
-
d === "imageBackground" && c && /* @__PURE__ */
|
|
51
|
-
/* @__PURE__ */
|
|
49
|
+
d === "imageTop" && c && /* @__PURE__ */ a("div", { className: i.imageContainer, children: /* @__PURE__ */ a("img", { src: c, alt: r, className: i.image }) }),
|
|
50
|
+
d === "imageBackground" && c && /* @__PURE__ */ e("div", { className: i.imageBackgroundContainer, children: [
|
|
51
|
+
/* @__PURE__ */ a(
|
|
52
52
|
"img",
|
|
53
53
|
{
|
|
54
54
|
src: c,
|
|
55
55
|
alt: r,
|
|
56
|
-
className:
|
|
56
|
+
className: i.backgroundImage
|
|
57
57
|
}
|
|
58
58
|
),
|
|
59
|
-
/* @__PURE__ */
|
|
60
|
-
/* @__PURE__ */
|
|
61
|
-
o && /* @__PURE__ */
|
|
62
|
-
|
|
59
|
+
/* @__PURE__ */ e("div", { className: i.overlay, children: [
|
|
60
|
+
/* @__PURE__ */ e("div", { children: [
|
|
61
|
+
o && /* @__PURE__ */ a(l, { level: 3, children: o }),
|
|
62
|
+
n && /* @__PURE__ */ a("div", { className: i.text, children: n })
|
|
63
63
|
] }),
|
|
64
|
-
|
|
64
|
+
t && /* @__PURE__ */ a("div", { className: i.footer, children: t })
|
|
65
65
|
] })
|
|
66
66
|
] }),
|
|
67
|
-
d !== "imageBackground" && /* @__PURE__ */
|
|
68
|
-
/* @__PURE__ */
|
|
69
|
-
o && /* @__PURE__ */
|
|
70
|
-
|
|
67
|
+
d !== "imageBackground" && /* @__PURE__ */ e("div", { className: i.content, children: [
|
|
68
|
+
/* @__PURE__ */ e("div", { children: [
|
|
69
|
+
o && /* @__PURE__ */ a(l, { level: 3, children: o }),
|
|
70
|
+
n && /* @__PURE__ */ a("div", { className: i.text, children: n })
|
|
71
71
|
] }),
|
|
72
|
-
|
|
72
|
+
t && /* @__PURE__ */ a("div", { className: i.footer, children: t })
|
|
73
73
|
] })
|
|
74
74
|
]
|
|
75
75
|
}
|
|
@@ -2,7 +2,7 @@ import { jsxs as W, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as c, useRef as C, useEffect as E, useLayoutEffect as wt } from "react";
|
|
3
3
|
import { A as Mt } from "../../arrow-left-BIJvHwNQ.js";
|
|
4
4
|
import { A as bt } from "../../arrow-right-QEwnX3Sk.js";
|
|
5
|
-
import '../../assets/index30.css';const xt = "_carousel_ifeug_1", $t = "_noPointerEvents_ifeug_10", Ct = "_trackContainer_ifeug_14", Et = "_track_ifeug_14", Xt = "_page_ifeug_29", yt = "_controls_ifeug_39", It = "_indicators_ifeug_50", Nt = "_indicator_ifeug_50",
|
|
5
|
+
import '../../assets/index30.css';const xt = "_carousel_ifeug_1", $t = "_noPointerEvents_ifeug_10", Ct = "_trackContainer_ifeug_14", Et = "_track_ifeug_14", Xt = "_page_ifeug_29", yt = "_controls_ifeug_39", It = "_indicators_ifeug_50", Nt = "_indicator_ifeug_50", Tt = "_active_ifeug_67", kt = "_buttons_ifeug_71", At = "_prev_ifeug_76", Wt = "_disabled_ifeug_76", St = "_next_ifeug_77", o = {
|
|
6
6
|
carousel: xt,
|
|
7
7
|
noPointerEvents: $t,
|
|
8
8
|
trackContainer: Ct,
|
|
@@ -11,58 +11,58 @@ import '../../assets/index30.css';const xt = "_carousel_ifeug_1", $t = "_noPoint
|
|
|
11
11
|
controls: yt,
|
|
12
12
|
indicators: It,
|
|
13
13
|
indicator: Nt,
|
|
14
|
-
active:
|
|
15
|
-
buttons:
|
|
14
|
+
active: Tt,
|
|
15
|
+
buttons: kt,
|
|
16
16
|
prev: At,
|
|
17
17
|
disabled: Wt,
|
|
18
|
-
next:
|
|
18
|
+
next: St
|
|
19
19
|
};
|
|
20
20
|
function Yt({
|
|
21
|
-
items:
|
|
22
|
-
itemsPerPage:
|
|
21
|
+
items: M,
|
|
22
|
+
itemsPerPage: l = 9,
|
|
23
23
|
itemsPerRow: K = 3,
|
|
24
24
|
autoplay: Q = !1,
|
|
25
|
-
autoplayInterval:
|
|
25
|
+
autoplayInterval: S = 3,
|
|
26
26
|
className: V,
|
|
27
27
|
externalRef: Z,
|
|
28
|
-
siblingRef:
|
|
29
|
-
isSplit:
|
|
28
|
+
siblingRef: u,
|
|
29
|
+
isSplit: D = !1
|
|
30
30
|
}) {
|
|
31
|
-
const [
|
|
32
|
-
Math.abs((y ?? 0) - (
|
|
31
|
+
const [d, h] = c(0), [_, b] = c(0), [L, P] = c(0), [f, tt] = c(l), [p, et] = c(!1), [z, nt] = c(Q), ot = C(null), a = C(null), g = C(null), x = Z, [m, X] = c(!1), [Y, B] = c(null), [$, R] = c(null), [j, U] = c(null), [st, F] = c(!1), [w, G] = c(null), [y, O] = c(null), ct = (t) => {
|
|
32
|
+
Math.abs((y ?? 0) - (w ?? 0)) > 25 && (t.stopPropagation(), t.preventDefault());
|
|
33
33
|
}, rt = (t) => {
|
|
34
|
-
|
|
34
|
+
G(t.clientX);
|
|
35
35
|
}, at = (t) => {
|
|
36
|
-
|
|
36
|
+
w !== null && Math.abs(t.clientX - w) > 5 && (F(!0), O(t.clientX));
|
|
37
37
|
}, it = () => {
|
|
38
|
-
if (!
|
|
38
|
+
if (!w || !y) {
|
|
39
39
|
I();
|
|
40
40
|
return;
|
|
41
41
|
}
|
|
42
|
-
const t =
|
|
43
|
-
Math.abs(t) > 50 && (t > 0 ?
|
|
42
|
+
const t = w - y;
|
|
43
|
+
Math.abs(t) > 50 && (t > 0 ? k() : A()), I();
|
|
44
44
|
}, lt = () => {
|
|
45
45
|
I();
|
|
46
46
|
}, I = () => {
|
|
47
|
-
|
|
47
|
+
F(!1), G(null), O(null);
|
|
48
48
|
}, ut = (t) => {
|
|
49
|
-
|
|
50
|
-
},
|
|
49
|
+
R(t.touches[0].clientX), B(t.touches[0].clientY), X(!1);
|
|
50
|
+
}, q = C(null);
|
|
51
51
|
E(() => {
|
|
52
|
-
const t =
|
|
52
|
+
const t = q.current;
|
|
53
53
|
if (!t) return;
|
|
54
54
|
const e = (n) => {
|
|
55
55
|
const s = n.touches[0].clientX - ($ ?? 0), i = n.touches[0].clientY - (Y ?? 0);
|
|
56
|
-
!
|
|
56
|
+
!m && Math.abs(s) > Math.abs(i) && X(!0), m && (n.preventDefault(), U(n.touches[0].clientX));
|
|
57
57
|
};
|
|
58
58
|
return t.addEventListener("touchmove", e), () => {
|
|
59
59
|
t.removeEventListener("touchmove", e);
|
|
60
60
|
};
|
|
61
|
-
}, [
|
|
61
|
+
}, [m, $, Y]);
|
|
62
62
|
const dt = () => {
|
|
63
|
-
if ($ === null ||
|
|
64
|
-
const t = $ -
|
|
65
|
-
Math.abs(t) > 50 && (t > 0 ?
|
|
63
|
+
if ($ === null || j === null) return;
|
|
64
|
+
const t = $ - j;
|
|
65
|
+
Math.abs(t) > 50 && (t > 0 ? k() : A()), R(null), U(null), B(null), X(!1);
|
|
66
66
|
}, ht = (t, e) => {
|
|
67
67
|
const n = [];
|
|
68
68
|
for (let s = 0; s < t.length; s += e)
|
|
@@ -74,64 +74,64 @@ function Yt({
|
|
|
74
74
|
const t = (e = a == null ? void 0 : a.current) == null ? void 0 : e.children[0].children[0].children[0];
|
|
75
75
|
if (t) {
|
|
76
76
|
const n = t.getBoundingClientRect().width;
|
|
77
|
-
n && P(n);
|
|
77
|
+
console.log("FIRST", n), n && P(n);
|
|
78
78
|
}
|
|
79
|
-
}, [
|
|
79
|
+
}, []), E(() => {
|
|
80
80
|
if (typeof window < "u") {
|
|
81
81
|
const t = () => {
|
|
82
|
-
const e = window.innerWidth < 768, n = e ? 1 :
|
|
83
|
-
et(e), tt(e ? 1 :
|
|
84
|
-
(s) => Math.min(s, Math.ceil(
|
|
82
|
+
const e = window.innerWidth < 768, n = e ? 1 : l;
|
|
83
|
+
et(e), tt(e ? 1 : l), h(
|
|
84
|
+
(s) => Math.min(s, Math.ceil(M.length / n) - 1)
|
|
85
85
|
);
|
|
86
86
|
};
|
|
87
87
|
return t(), window.addEventListener("resize", t), () => window.removeEventListener("resize", t);
|
|
88
88
|
}
|
|
89
|
-
}, [
|
|
90
|
-
const N = Math.ceil(
|
|
89
|
+
}, [l]);
|
|
90
|
+
const N = Math.ceil(f / K), H = ht(M, f), v = H.length, ft = 3 * 16, pt = 3 * 16;
|
|
91
91
|
E(() => {
|
|
92
92
|
const t = new ResizeObserver((e) => {
|
|
93
93
|
var n, s;
|
|
94
94
|
for (let i of e)
|
|
95
95
|
if (i.contentRect) {
|
|
96
|
-
|
|
97
|
-
i.contentRect.width - ((n =
|
|
96
|
+
p ? b(i.contentRect.width - pt) : D ? u != null && u.current ? b(
|
|
97
|
+
i.contentRect.width - ((n = u == null ? void 0 : u.current) == null ? void 0 : n.offsetWidth) - ft
|
|
98
98
|
) : b(i.contentRect.width) : (b(i.contentRect.width), P(
|
|
99
99
|
((s = a == null ? void 0 : a.current) == null ? void 0 : s.children[0].children[0].children[0].getBoundingClientRect().width) ?? 0
|
|
100
100
|
));
|
|
101
|
-
const
|
|
102
|
-
|
|
103
|
-
(mt) => Math.min(mt, Math.ceil(
|
|
101
|
+
const gt = p ? 1 : l;
|
|
102
|
+
h(
|
|
103
|
+
(mt) => Math.min(mt, Math.ceil(M.length / gt) - 1)
|
|
104
104
|
);
|
|
105
105
|
}
|
|
106
106
|
});
|
|
107
107
|
return x != null && x.current && t.observe(x.current), () => t.disconnect();
|
|
108
|
-
}, [
|
|
109
|
-
const
|
|
110
|
-
|
|
111
|
-
},
|
|
112
|
-
|
|
108
|
+
}, [p, D]);
|
|
109
|
+
const T = () => {
|
|
110
|
+
g.current && clearInterval(g.current), nt(!1);
|
|
111
|
+
}, k = () => {
|
|
112
|
+
T(), h((t) => Math.min(t + 1, v - 1));
|
|
113
113
|
}, A = () => {
|
|
114
|
-
|
|
114
|
+
T(), h((t) => Math.max(t - 1, 0));
|
|
115
115
|
}, vt = (t) => {
|
|
116
|
-
|
|
117
|
-
},
|
|
118
|
-
|
|
116
|
+
T(), h(t);
|
|
117
|
+
}, _t = () => _ ? `translateX(-${d * _}px)` : "translateX(0px)", J = () => {
|
|
118
|
+
h((t) => t >= v - 1 ? 0 : t + 1);
|
|
119
119
|
};
|
|
120
|
-
return E(() => (z && (
|
|
120
|
+
return E(() => (z && (g.current = setInterval(
|
|
121
121
|
J,
|
|
122
|
-
|
|
122
|
+
S * 1e3
|
|
123
123
|
)), () => {
|
|
124
|
-
|
|
125
|
-
}), [z,
|
|
124
|
+
g.current && clearInterval(g.current);
|
|
125
|
+
}), [z, S, J]), /* @__PURE__ */ W("div", { className: `${V ?? ""} ${o.carousel}`, ref: ot, children: [
|
|
126
126
|
/* @__PURE__ */ r(
|
|
127
127
|
"div",
|
|
128
128
|
{
|
|
129
|
-
ref:
|
|
130
|
-
className: `${o.trackContainer} ${st ||
|
|
129
|
+
ref: q,
|
|
130
|
+
className: `${o.trackContainer} ${st || m ? o.noPointerEvents : ""}
|
|
131
131
|
`,
|
|
132
132
|
style: {
|
|
133
133
|
maxWidth: `${_}px`,
|
|
134
|
-
touchAction:
|
|
134
|
+
touchAction: m ? "none" : "pan-y"
|
|
135
135
|
},
|
|
136
136
|
onTouchStart: ut,
|
|
137
137
|
onTouchEnd: dt,
|
|
@@ -144,7 +144,7 @@ function Yt({
|
|
|
144
144
|
{
|
|
145
145
|
ref: a,
|
|
146
146
|
className: o.track,
|
|
147
|
-
style: { width: `${
|
|
147
|
+
style: { width: `${v * 100}%`, transform: _t() },
|
|
148
148
|
children: H.map((t, e) => /* @__PURE__ */ r(
|
|
149
149
|
"div",
|
|
150
150
|
{
|
|
@@ -152,7 +152,7 @@ function Yt({
|
|
|
152
152
|
style: {
|
|
153
153
|
display: N > 1 ? "grid" : "flex",
|
|
154
154
|
gridTemplateColumns: `repeat(${Math.ceil(
|
|
155
|
-
|
|
155
|
+
f / N
|
|
156
156
|
)}, 1fr)`,
|
|
157
157
|
gridTemplateRows: `repeat(${N}, auto)`,
|
|
158
158
|
width: `${_}px`
|
|
@@ -162,8 +162,8 @@ function Yt({
|
|
|
162
162
|
{
|
|
163
163
|
onClickCapture: ct,
|
|
164
164
|
style: {
|
|
165
|
-
flexBasis:
|
|
166
|
-
width:
|
|
165
|
+
flexBasis: p ? "100%" : `${100 / f}%`,
|
|
166
|
+
width: p ? `${_ / f - 16}px` : "unset"
|
|
167
167
|
},
|
|
168
168
|
children: n
|
|
169
169
|
},
|
|
@@ -176,18 +176,18 @@ function Yt({
|
|
|
176
176
|
)
|
|
177
177
|
}
|
|
178
178
|
),
|
|
179
|
-
|
|
179
|
+
v > 1 && /* @__PURE__ */ W(
|
|
180
180
|
"div",
|
|
181
181
|
{
|
|
182
182
|
className: o.controls,
|
|
183
183
|
style: {
|
|
184
|
-
maxWidth:
|
|
184
|
+
maxWidth: L > 0 && l === 1 && !p ? `${L}px` : "unset"
|
|
185
185
|
},
|
|
186
186
|
children: [
|
|
187
|
-
/* @__PURE__ */ r("div", { className: o.indicators, children: Array.from({ length:
|
|
187
|
+
/* @__PURE__ */ r("div", { className: o.indicators, children: Array.from({ length: v }).map((t, e) => /* @__PURE__ */ r(
|
|
188
188
|
"button",
|
|
189
189
|
{
|
|
190
|
-
className: `${o.indicator} ${e ===
|
|
190
|
+
className: `${o.indicator} ${e === d ? o.active : ""}`,
|
|
191
191
|
onClick: () => vt(e),
|
|
192
192
|
"aria-label": `Go to group ${e + 1}`
|
|
193
193
|
},
|
|
@@ -198,9 +198,9 @@ function Yt({
|
|
|
198
198
|
"button",
|
|
199
199
|
{
|
|
200
200
|
"aria-label": "Previous slide",
|
|
201
|
-
className: `${o.prev} ${
|
|
201
|
+
className: `${o.prev} ${d === 0 ? o.disabled : ""}`,
|
|
202
202
|
onClick: A,
|
|
203
|
-
disabled:
|
|
203
|
+
disabled: d === 0,
|
|
204
204
|
children: /* @__PURE__ */ r(Mt, { size: 36 })
|
|
205
205
|
}
|
|
206
206
|
),
|
|
@@ -208,9 +208,9 @@ function Yt({
|
|
|
208
208
|
"button",
|
|
209
209
|
{
|
|
210
210
|
"aria-label": "Next slide",
|
|
211
|
-
className: `${o.next} ${
|
|
212
|
-
onClick:
|
|
213
|
-
disabled:
|
|
211
|
+
className: `${o.next} ${d >= v - 1 ? o.disabled : ""}`,
|
|
212
|
+
onClick: k,
|
|
213
|
+
disabled: d >= M.length - f,
|
|
214
214
|
children: /* @__PURE__ */ r(bt, { size: 36 })
|
|
215
215
|
}
|
|
216
216
|
)
|
package/dist/styles.css
CHANGED
|
@@ -18,7 +18,7 @@ h1,h2,h3,h4,h5,h6,._h1_lse9h_7,._h2_lse9h_8,._h3_lse9h_9,._h4_lse9h_10,._h5_lse9
|
|
|
18
18
|
._box_1mldh_1{box-sizing:border-box}._paddingNone_1mldh_6{padding:0}._paddingSm_1mldh_10{padding:.5rem}._paddingMd_1mldh_14{padding:1rem}._paddingLg_1mldh_18{padding:2rem}._marginNone_1mldh_23{margin:0}._marginSm_1mldh_27{margin:.5rem}._marginMd_1mldh_31{margin:1rem}._marginLg_1mldh_35{margin:2rem}._block_1mldh_40{display:block}._inline_1mldh_44{display:inline}._inlineBlock_1mldh_48{display:inline-block}._flex_1mldh_52{display:flex}._inlineFlex_1mldh_56{display:inline-flex}._grid_1mldh_60{display:grid}._bgTransparent_1mldh_65{background-color:transparent}._bgLight_1mldh_69{background-color:var(--color-primary-25)}._bgDark_1mldh_73{background-color:var(--color-secondary-100)}._bgAccent_1mldh_77{background-color:var(--color-primary-100)}._borderNone_1mldh_82{border:none}._borderThin_1mldh_86{border:1px solid var(--color-border)}._borderThick_1mldh_90{border:2px solid var(--color-border)}._radiusNone_1mldh_95{border-radius:0}._radiusSm_1mldh_99{border-radius:var(--radius-sm)}._radiusMd_1mldh_103{border-radius:var(--radius-md)}._radiusLg_1mldh_107{border-radius:var(--radius-lg)}._radiusFull_1mldh_111{border-radius:var(--radius-full)}
|
|
19
19
|
._divider_zjbsg_1{flex-shrink:0;background:none}._horizontal_zjbsg_6{width:100%;height:auto}._vertical_zjbsg_11{height:100%;width:auto}
|
|
20
20
|
ul._list_1fin2_1{list-style-type:none;padding:0;margin:0}ol._list_1fin2_1{list-style-type:decimal;padding:0;margin:0 0 0 var(--spacing-md)}._listItem_1fin2_13{padding:var(--spacing-sm) var(--spacing-md);margin-bottom:var(--spacing-sm);background-color:var(--color-secondary-100);border-radius:var(--radius-sm);cursor:pointer;transition:background-color .3s;color:var(--color-text-primary)}._listItem_1fin2_13:hover{background-color:var(--color-secondary-100)}._listItem_1fin2_13:active{background-color:var(--color-primary-100)}
|
|
21
|
-
.
|
|
21
|
+
._card_ti1qi_1{background-color:var(--color-background);border-radius:var(--radius-md);padding:var(--spacing-md);cursor:pointer;transition:box-shadow .3s,transform .3s;display:flex;flex-direction:column;justify-content:space-between;height:100%;box-sizing:border-box;min-height:225px;margin:0 auto;max-width:800px}._clickable_ti1qi_18{cursor:pointer}._clickable_ti1qi_18:hover{box-shadow:0 6px 12px #0003}._default_ti1qi_26{box-shadow:0 2px 4px #0000001a}._outlined_ti1qi_30{border:1px solid var(--color-border)}._shadow_ti1qi_34{box-shadow:0 2px 4px #00000026}._imageTop_ti1qi_38{padding:0;overflow:hidden;border-radius:var(--radius-md);display:flex;flex-direction:column;height:100%;border:1px solid var(--color-border)}._imageTop_ti1qi_38 ._imageContainer_ti1qi_48{width:100%;height:100%;max-height:150px;overflow:hidden;flex-shrink:0}._imageTop_ti1qi_38 ._image_ti1qi_38{width:100%;height:100%;object-fit:cover}._imageTop_ti1qi_38 ._content_ti1qi_63{padding:var(--spacing-md)}._imageBackground_ti1qi_67{position:relative;padding:0;overflow:hidden;border-radius:var(--radius-md);color:var(--color-foreground);display:flex;flex-direction:column;height:100%}._imageBackground_ti1qi_67 ._imageBackgroundContainer_ti1qi_78{position:relative;width:100%;height:100%;overflow:hidden;flex-grow:1}._imageBackground_ti1qi_67 ._backgroundImage_ti1qi_86{width:100%;height:100%;object-fit:cover;position:relative;top:0;left:0;z-index:1}._imageBackground_ti1qi_67 ._overlay_ti1qi_96{position:absolute;top:0;left:0;width:100%;height:100%;background:#0009;z-index:2;display:flex;flex-direction:column;justify-content:space-between;padding:var(--spacing-md)}._imageBackground_ti1qi_67 ._text_ti1qi_112,._imageBackground_ti1qi_67 h3{color:#fff}._content_ti1qi_63{display:flex;flex-direction:column;justify-content:space-between;flex-grow:1}._card_ti1qi_1:hover{transform:translateY(-2px)}._text_ti1qi_112{font-size:var(-font-size-md);color:var(--color-text-primary);margin-bottom:var(--spacing-md)}._footer_ti1qi_134{text-align:right;padding-top:var(--spacing-md);flex-shrink:0}
|
|
22
22
|
._avatar_1ihs2_1{position:relative;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;overflow:visible;border:2px solid;cursor:default;transition:transform .3s}._avatar_1ihs2_1:hover{transform:scale(1.05)}._sm_1ihs2_17{width:32px;height:32px;font-size:12px}._md_1ihs2_23{width:48px;height:48px;font-size:16px}._lg_1ihs2_29{width:64px;height:64px;font-size:20px}._xl_1ihs2_35{width:80px;height:80px;font-size:20px}._image_1ihs2_41{width:100%;height:100%;border-radius:50%;object-fit:cover}._initials_1ihs2_48{color:#fff;font-family:var(--font-weight-bold)}._status_1ihs2_53{position:absolute;bottom:-2px;right:-2px;width:12px;height:12px;border-radius:50%;border:2px solid #fff;background-color:var(--color-offline);z-index:1}._online_1ihs2_65{background-color:var(--color-online)}._offline_1ihs2_69{background-color:var(--color-offline)}._busy_1ihs2_73{background-color:var(--color-busy)}
|
|
23
23
|
:root{--badge-bg-default: var(--color-secondary, #94a3b8);--badge-bg-success: var(--color-success-bg, #28a745);--badge-bg-warning: var(--color-warning-bg, #f59e0b);--badge-bg-error: var(--color-error-bg, #bd1919);--badge-bg-info: var(--color-info-bg);--badge-text-default: var(--color-secondary-foreground, #fff);--badge-text-success: var(--color-success-text, #fff);--badge-text-warning: var(--color-warning-text, #333);--badge-text-error: var(--color-error-text, #fff);--badge-text-info: var(--color-info-text, #fff);--badge-padding: var(--spacing-sm) var(--spacing-md);--badge-font-size: var(--font-size-sm, .875rem);--badge-border-radius: var(--radius-sm, 8px)}._badge_18z15_19{display:inline-flex;align-items:center;padding:var(--badge-padding);font-size:var(--badge-font-size);border-radius:var(--badge-border-radius);font-weight:var(--font-weight-semibold);cursor:default;transition:background-color .3s,color .3s;-webkit-user-select:none;user-select:none}._clickable_18z15_31{cursor:pointer}._icon_18z15_35{margin-right:var(--spacing-sm);display:flex;align-items:center}._text_18z15_41{display:inline-block}._default_18z15_45{background-color:var(--badge-bg-default);color:var(--badge-text-default)}._success_18z15_50{background-color:var(--badge-bg-success);color:var(--badge-text-success)}._warning_18z15_55{background-color:var(--badge-bg-warning);color:var(--badge-text-warning)}._error_18z15_60{background-color:var(--badge-bg-error);color:var(--badge-text-error)}._info_18z15_65{background-color:var(--badge-bg-info);color:var(--badge-text-info)}
|
|
24
24
|
._overlay_140ia_1{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:#00000080;display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:1000;animation:_fadeIn_140ia_1 .3s ease}._modal_140ia_16{position:absolute;background-color:var(--color-background, #fff);border-radius:var(--radius-md, 4px);padding:var(--spacing-md, 1rem);width:min(90%,800px);max-width:100%;animation:_slideUp_140ia_1 .3s ease}._closeButton_140ia_26{color:var(--color-primary-100);position:absolute;top:var(--spacing-xs);right:var(--spacing-xs);background:none;border:none;cursor:pointer;padding:var(--spacing-sm)}._content_140ia_37{margin-top:var(--spacing-lg)}._content_140ia_37 video{width:100%;max-width:100%;height:auto;border-radius:var(--radius-md)}@keyframes _fadeIn_140ia_1{0%{opacity:0}to{opacity:1}}@keyframes _slideUp_140ia_1{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
|