@logora/debate 0.4.107 → 0.4.108
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/components/skeleton/page_skeleton/PageSkeleton.module-DryubeJg.css +1 -0
- package/dist/components/skeleton/page_skeleton/PageSkeleton.js +66 -58
- package/dist/components/skeleton/page_skeleton/PageSkeleton.module.scss.js +28 -26
- package/package.json +1 -1
- package/dist/assets/components/skeleton/page_skeleton/PageSkeleton.module-BqtcAizZ.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._pageBox_15s2t_3{background-color:var(--background-color-primary, white);box-shadow:var(--box-shadow-main-container, var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1)));border:var(--box-border-main-container, var(--box-border, 1px solid rgba(7, 42, 68, .1)));border-radius:var(--box-border-radius, 6px)}@container (min-width: 576px){._pageBox_15s2t_3{padding:var(--spacer-lg, calc(var(--space-unit, 1em) * 1.5))!important}}._pageBox_15s2t_3{padding:var(--space-unit, 1em)!important}._pageSkeleton_15s2t_18{display:flex;flex-direction:column;gap:var(--space-unit, 1em);width:100%}._header_15s2t_25{display:flex;flex-direction:row;gap:var(--space-unit, 1em);align-items:center}@media(max-width:640px){._header_15s2t_25{flex-direction:column;align-items:flex-start}}._headerLines_15s2t_38{display:flex;flex-direction:column;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5));flex:1;min-width:120px}._lineMain_15s2t_46{width:70%;height:var(--font-size-extra-large, 22px)}._lineSecondary_15s2t_51{width:45%;height:var(--font-size-normal, 16px)}._photoCircle_15s2t_56{width:80px;height:80px;flex-shrink:0}._photoBox_15s2t_62{width:210px;height:140px;flex-shrink:0;border-radius:var(--box-border-radius, 6px)}@media(max-width:640px){._photoBox_15s2t_62{width:100%}}._tabsRow_15s2t_74{display:flex;flex-direction:row;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}._tab_15s2t_74{width:110px;height:32px;border-radius:var(--box-border-radius, 6px)}@media(max-width:640px){._tab_15s2t_74{width:90px}}._contentList_15s2t_91{display:flex;flex-direction:column;gap:var(--space-unit, 1em)}._contentItem_15s2t_97{display:flex;flex-direction:column;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5));border-radius:var(--box-border-radius, 6px);box-shadow:var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1));border:var(--box-border, 1px solid rgba(7, 42, 68, .1));padding:var(--space-unit, 1em)}._contentLine_15s2t_107{width:100%;height:var(--font-size-normal, 16px)}._contentLineShort_15s2t_112{width:55%;height:var(--font-size-normal, 16px)}
|
|
@@ -1,79 +1,87 @@
|
|
|
1
1
|
import { jsx as s, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import h from "classnames";
|
|
2
3
|
import "react";
|
|
3
|
-
import
|
|
4
|
+
import a from "react-loading-skeleton";
|
|
4
5
|
import "react-loading-skeleton/dist/skeleton.css";
|
|
5
6
|
import e from "./PageSkeleton.module.scss.js";
|
|
6
|
-
const
|
|
7
|
-
photo:
|
|
8
|
-
items:
|
|
9
|
-
tabs:
|
|
7
|
+
const L = ({
|
|
8
|
+
photo: t = "right",
|
|
9
|
+
items: o = 3,
|
|
10
|
+
tabs: m = !1,
|
|
10
11
|
enableAnimation: c = !0,
|
|
11
|
-
className:
|
|
12
|
+
className: d
|
|
12
13
|
}) => {
|
|
13
14
|
const i = /* @__PURE__ */ r("div", { className: e.headerLines, children: [
|
|
14
|
-
/* @__PURE__ */ s(
|
|
15
|
+
/* @__PURE__ */ s(a, { enableAnimation: c, className: e.lineMain }),
|
|
15
16
|
/* @__PURE__ */ s(
|
|
16
|
-
|
|
17
|
+
a,
|
|
17
18
|
{
|
|
18
19
|
enableAnimation: c,
|
|
19
20
|
className: e.lineSecondary
|
|
20
21
|
}
|
|
21
22
|
)
|
|
22
|
-
] }), l =
|
|
23
|
-
|
|
23
|
+
] }), l = t === "left" ? /* @__PURE__ */ s(
|
|
24
|
+
a,
|
|
24
25
|
{
|
|
25
26
|
enableAnimation: c,
|
|
26
27
|
circle: !0,
|
|
27
28
|
className: e.photoCircle
|
|
28
29
|
}
|
|
29
|
-
) : /* @__PURE__ */ s(
|
|
30
|
-
return /* @__PURE__ */ s(
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
30
|
+
) : /* @__PURE__ */ s(a, { enableAnimation: c, className: e.photoBox });
|
|
31
|
+
return /* @__PURE__ */ s(
|
|
32
|
+
"div",
|
|
33
|
+
{
|
|
34
|
+
"data-testid": "page-skeleton",
|
|
35
|
+
className: h(e.pageBox, d),
|
|
36
|
+
children: /* @__PURE__ */ r("div", { className: e.pageSkeleton, children: [
|
|
37
|
+
/* @__PURE__ */ r("div", { className: e.header, children: [
|
|
38
|
+
t === "left" && l,
|
|
39
|
+
i,
|
|
40
|
+
t === "right" && l
|
|
41
|
+
] }),
|
|
42
|
+
m && /* @__PURE__ */ r("div", { className: e.tabsRow, children: [
|
|
43
|
+
/* @__PURE__ */ s(
|
|
44
|
+
a,
|
|
45
|
+
{
|
|
46
|
+
enableAnimation: c,
|
|
47
|
+
className: e.tab
|
|
48
|
+
}
|
|
49
|
+
),
|
|
50
|
+
/* @__PURE__ */ s(
|
|
51
|
+
a,
|
|
52
|
+
{
|
|
53
|
+
enableAnimation: c,
|
|
54
|
+
className: e.tab
|
|
55
|
+
}
|
|
56
|
+
),
|
|
57
|
+
/* @__PURE__ */ s(
|
|
58
|
+
a,
|
|
59
|
+
{
|
|
60
|
+
enableAnimation: c,
|
|
61
|
+
className: e.tab
|
|
62
|
+
}
|
|
63
|
+
)
|
|
64
|
+
] }),
|
|
65
|
+
/* @__PURE__ */ s("div", { className: e.contentList, children: Array.from({ length: o }).map((p, N) => /* @__PURE__ */ r("div", { className: e.contentItem, children: [
|
|
66
|
+
/* @__PURE__ */ s(
|
|
67
|
+
a,
|
|
68
|
+
{
|
|
69
|
+
enableAnimation: c,
|
|
70
|
+
className: e.contentLine
|
|
71
|
+
}
|
|
72
|
+
),
|
|
73
|
+
/* @__PURE__ */ s(
|
|
74
|
+
a,
|
|
75
|
+
{
|
|
76
|
+
enableAnimation: c,
|
|
77
|
+
className: e.contentLineShort
|
|
78
|
+
}
|
|
79
|
+
)
|
|
80
|
+
] }, N)) })
|
|
81
|
+
] })
|
|
82
|
+
}
|
|
83
|
+
);
|
|
76
84
|
};
|
|
77
85
|
export {
|
|
78
|
-
|
|
86
|
+
L as PageSkeleton
|
|
79
87
|
};
|
|
@@ -1,31 +1,33 @@
|
|
|
1
|
-
import '../../../assets/components/skeleton/page_skeleton/PageSkeleton.module-
|
|
2
|
-
|
|
1
|
+
import '../../../assets/components/skeleton/page_skeleton/PageSkeleton.module-DryubeJg.css';const t = "_pageBox_15s2t_3", e = "_pageSkeleton_15s2t_18", n = "_header_15s2t_25", o = "_headerLines_15s2t_38", _ = "_lineMain_15s2t_46", s = "_lineSecondary_15s2t_51", c = "_photoCircle_15s2t_56", a = "_photoBox_15s2t_62", i = "_tabsRow_15s2t_74", r = "_tab_15s2t_74", h = "_contentList_15s2t_91", l = "_contentItem_15s2t_97", p = "_contentLine_15s2t_107", L = "_contentLineShort_15s2t_112", d = {
|
|
2
|
+
pageBox: t,
|
|
3
|
+
pageSkeleton: e,
|
|
3
4
|
header: n,
|
|
4
|
-
headerLines:
|
|
5
|
-
lineMain:
|
|
6
|
-
lineSecondary:
|
|
7
|
-
photoCircle:
|
|
8
|
-
photoBox:
|
|
9
|
-
tabsRow:
|
|
10
|
-
tab:
|
|
11
|
-
contentList:
|
|
12
|
-
contentItem:
|
|
13
|
-
contentLine:
|
|
14
|
-
contentLineShort:
|
|
5
|
+
headerLines: o,
|
|
6
|
+
lineMain: _,
|
|
7
|
+
lineSecondary: s,
|
|
8
|
+
photoCircle: c,
|
|
9
|
+
photoBox: a,
|
|
10
|
+
tabsRow: i,
|
|
11
|
+
tab: r,
|
|
12
|
+
contentList: h,
|
|
13
|
+
contentItem: l,
|
|
14
|
+
contentLine: p,
|
|
15
|
+
contentLineShort: L
|
|
15
16
|
};
|
|
16
17
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
l as contentItem,
|
|
19
|
+
p as contentLine,
|
|
20
|
+
L as contentLineShort,
|
|
21
|
+
h as contentList,
|
|
22
|
+
d as default,
|
|
22
23
|
n as header,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
t as
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
o as headerLines,
|
|
25
|
+
_ as lineMain,
|
|
26
|
+
s as lineSecondary,
|
|
27
|
+
t as pageBox,
|
|
28
|
+
e as pageSkeleton,
|
|
29
|
+
a as photoBox,
|
|
30
|
+
c as photoCircle,
|
|
31
|
+
r as tab,
|
|
32
|
+
i as tabsRow
|
|
31
33
|
};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._pageSkeleton_vzch9_3{display:flex;flex-direction:column;gap:var(--space-unit, 1em);width:100%}._header_vzch9_10{display:flex;flex-direction:row;gap:var(--space-unit, 1em);align-items:center}@media(max-width:640px){._header_vzch9_10{flex-direction:column;align-items:flex-start}}._headerLines_vzch9_23{display:flex;flex-direction:column;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5));flex:1;min-width:120px}._lineMain_vzch9_31{width:70%;height:var(--font-size-extra-large, 22px)}._lineSecondary_vzch9_36{width:45%;height:var(--font-size-normal, 16px)}._photoCircle_vzch9_41{width:80px;height:80px;flex-shrink:0}._photoBox_vzch9_47{width:210px;height:140px;flex-shrink:0;border-radius:var(--box-border-radius, 6px)}@media(max-width:640px){._photoBox_vzch9_47{width:100%}}._tabsRow_vzch9_59{display:flex;flex-direction:row;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5))}._tab_vzch9_59{width:110px;height:32px;border-radius:var(--box-border-radius, 6px)}@media(max-width:640px){._tab_vzch9_59{width:90px}}._contentList_vzch9_76{display:flex;flex-direction:column;gap:var(--space-unit, 1em)}._contentItem_vzch9_82{display:flex;flex-direction:column;gap:var(--spacer-sm, calc(var(--space-unit, 1em) * .5));border-radius:var(--box-border-radius, 6px);box-shadow:var(--box-shadow, 0px 2px 5px rgba(7, 42, 68, .1));border:var(--box-border, 1px solid rgba(7, 42, 68, .1));padding:var(--space-unit, 1em)}._contentLine_vzch9_92{width:100%;height:var(--font-size-normal, 16px)}._contentLineShort_vzch9_97{width:55%;height:var(--font-size-normal, 16px)}
|