@dotss/tictoccroc 0.0.16 → 0.0.18
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/shared/components/ChatKit/BotMessage/BotMessage.d.ts +12 -3
- package/dist/shared/components/ChatKit/BotMessage/BotMessage.mjs +31 -29
- package/dist/shared/components/ChatKit/BotMessage/index.d.ts +2 -2
- package/dist/shared/components/ChatKit/SystemMessage/(Actions)/DirectTrageRiskInfoBottomSheet/DirectTrageRiskInfoBottomSheet.d.ts +2 -1
- package/dist/shared/components/ChatKit/SystemMessage/(Actions)/DirectTrageRiskInfoBottomSheet/DirectTrageRiskInfoBottomSheet.mjs +81 -47
- package/dist/shared/components/ChatKit/SystemMessage/SystemMessage.d.ts +10 -2
- package/dist/shared/components/ChatKit/SystemMessage/SystemMessage.mjs +25 -23
- package/dist/teacher/home/components/BannerAccount/BannerAccount.fallback.mjs +5 -5
- package/dist/teacher/home/components/Carousel1Account/Carousel1Account.d.ts +1 -1
- package/dist/teacher/home/components/Carousel1Account/Carousel1Account.fallback.mjs +4 -3
- package/dist/teacher/home/components/Carousel1Account/Carousel1Account.mjs +33 -31
- package/dist/teacher/home/components/Carousel2Account/Carousel2Account.d.ts +1 -1
- package/dist/teacher/home/components/Carousel2Account/Carousel2Account.fallback.mjs +10 -9
- package/dist/teacher/home/components/Carousel2Account/Carousel2Account.mjs +18 -16
- package/dist/teacher/home/components/TextAccount/TextAccount.d.ts +1 -1
- package/dist/teacher/home/components/TextAccount/TextAccount.fallback.mjs +95 -86
- package/dist/teacher/home/components/TextAccount/TextAccount.mjs +25 -23
- package/dist/teacher/profile/components/CareerSection/CareerItem/CareerItem.mjs +12 -12
- package/dist/teacher/profile/components/CareerSection/CareerSection.mjs +26 -33
- package/dist/teacher/profile/components/CertificateSection/CertificateItem/CertificateItem.mjs +2 -3
- package/dist/teacher/profile/components/CertificateSection/CertificateSection.mjs +30 -37
- package/dist/teacher/profile/components/EducationSection/EducationItem/EducationItem.mjs +15 -16
- package/dist/teacher/profile/components/EducationSection/EducationSection.mjs +36 -43
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode, SyntheticEvent } from 'react';
|
|
2
|
-
import { FlexboxProps } from 'node_modules/@dotss/ui/Flexbox/Flexbox';
|
|
3
2
|
import { ImageProps } from '../../../../shared/components/Image';
|
|
3
|
+
import { FlexboxProps } from 'node_modules/@dotss/ui/Flexbox/Flexbox';
|
|
4
4
|
import { BannerProps } from '..';
|
|
5
5
|
export interface Carousel2AccountProps extends Omit<FlexboxProps, 'title'> {
|
|
6
6
|
id: string;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { jsxs as t, Fragment as
|
|
1
|
+
import { jsxs as t, Fragment as o, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import d from "@dotss/ui/core/useTheme";
|
|
3
|
-
import
|
|
3
|
+
import r from "@dotss/ui/Flexbox";
|
|
4
4
|
import n from "@dotss/ui/Skeleton";
|
|
5
5
|
import h from "../../../../shared/components/LoadingAnnouncer/LoadingAnnouncer.mjs";
|
|
6
6
|
function u() {
|
|
7
7
|
const { spacing: e } = d();
|
|
8
|
-
return /* @__PURE__ */ t(
|
|
8
|
+
return /* @__PURE__ */ t(o, { children: [
|
|
9
9
|
/* @__PURE__ */ i(h, {}),
|
|
10
10
|
/* @__PURE__ */ t(
|
|
11
|
-
|
|
11
|
+
r,
|
|
12
12
|
{
|
|
13
13
|
tag: "section",
|
|
14
14
|
flexDirection: "column",
|
|
15
|
-
|
|
15
|
+
"aria-busy": !0,
|
|
16
|
+
inlineCSS: { width: "100%", overflow: "hidden", cursor: "wait" },
|
|
16
17
|
children: [
|
|
17
18
|
/* @__PURE__ */ i(
|
|
18
19
|
n,
|
|
@@ -25,8 +26,8 @@ function u() {
|
|
|
25
26
|
}
|
|
26
27
|
}
|
|
27
28
|
),
|
|
28
|
-
/* @__PURE__ */ t(
|
|
29
|
-
/* @__PURE__ */ t(
|
|
29
|
+
/* @__PURE__ */ t(r, { flexDirection: "row", gap: 3, ml: 4, children: [
|
|
30
|
+
/* @__PURE__ */ t(r, { flexDirection: "column", children: [
|
|
30
31
|
/* @__PURE__ */ i(n, { width: 240, height: 168, borderRadius: 12 }),
|
|
31
32
|
/* @__PURE__ */ i(
|
|
32
33
|
n,
|
|
@@ -45,7 +46,7 @@ function u() {
|
|
|
45
46
|
}
|
|
46
47
|
)
|
|
47
48
|
] }),
|
|
48
|
-
/* @__PURE__ */ t(
|
|
49
|
+
/* @__PURE__ */ t(r, { flexDirection: "column", children: [
|
|
49
50
|
/* @__PURE__ */ i(n, { width: 240, height: 168, borderRadius: 12 }),
|
|
50
51
|
/* @__PURE__ */ i(
|
|
51
52
|
n,
|
|
@@ -64,7 +65,7 @@ function u() {
|
|
|
64
65
|
}
|
|
65
66
|
)
|
|
66
67
|
] }),
|
|
67
|
-
/* @__PURE__ */ t(
|
|
68
|
+
/* @__PURE__ */ t(r, { flexDirection: "column", children: [
|
|
68
69
|
/* @__PURE__ */ i(n, { width: 240, height: 168, borderRadius: 12 }),
|
|
69
70
|
/* @__PURE__ */ i(
|
|
70
71
|
n,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as a, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import b from "@dotss/ui/core/useTheme";
|
|
3
|
-
import
|
|
3
|
+
import n from "@dotss/ui/Flexbox";
|
|
4
4
|
import l from "@dotss/ui/Typography";
|
|
5
5
|
import C from "../../../../shared/components/Carousel/Carousel.mjs";
|
|
6
6
|
import x from "../../../../shared/components/Carousel/CarouselSlide/CarouselSlide.mjs";
|
|
7
7
|
import S from "../../../../shared/components/Image/Image.mjs";
|
|
8
8
|
import "@dotss/ui";
|
|
9
|
-
function
|
|
9
|
+
function R({
|
|
10
10
|
id: p,
|
|
11
11
|
title: d,
|
|
12
12
|
banners: m,
|
|
@@ -14,16 +14,18 @@ function k({
|
|
|
14
14
|
imageProps: s,
|
|
15
15
|
...u
|
|
16
16
|
}) {
|
|
17
|
-
const { spacing: i } = b(),
|
|
18
|
-
r && typeof r == "function" && (
|
|
17
|
+
const { spacing: i } = b(), h = (o) => (e) => {
|
|
18
|
+
r && typeof r == "function" && (e.stopPropagation(), e.preventDefault(), r(o, e));
|
|
19
19
|
};
|
|
20
|
-
return /* @__PURE__ */ n
|
|
21
|
-
/* @__PURE__ */
|
|
20
|
+
return /* @__PURE__ */ a(n, { tag: "section", flexDirection: "column", inlineCSS: { width: "100%" }, ...u, children: [
|
|
21
|
+
/* @__PURE__ */ t(
|
|
22
22
|
l,
|
|
23
23
|
{
|
|
24
24
|
id: `banner-account-carousel2-${p}`,
|
|
25
25
|
variant: "h2B",
|
|
26
26
|
inlineCSS: {
|
|
27
|
+
whiteSpace: "pre-wrap",
|
|
28
|
+
wordBreak: "keep-all",
|
|
27
29
|
paddingLeft: i.content(4),
|
|
28
30
|
paddingRight: i.content(4),
|
|
29
31
|
marginBottom: i.content(4)
|
|
@@ -31,24 +33,24 @@ function k({
|
|
|
31
33
|
children: d
|
|
32
34
|
}
|
|
33
35
|
),
|
|
34
|
-
/* @__PURE__ */
|
|
35
|
-
|
|
36
|
+
/* @__PURE__ */ t(C, { rowCount: 1, step: 1, spacing: 3, children: m.map(({ id: o, title: e, subtitle: g, url: c, image: f }) => /* @__PURE__ */ t(x, { children: /* @__PURE__ */ a(
|
|
37
|
+
n,
|
|
36
38
|
{
|
|
37
39
|
tag: "a",
|
|
38
40
|
href: c,
|
|
39
41
|
flexDirection: "column",
|
|
40
42
|
gap: 3,
|
|
41
43
|
draggable: !1,
|
|
42
|
-
onClick:
|
|
44
|
+
onClick: h(c),
|
|
43
45
|
inlineCSS: { width: 240 },
|
|
44
46
|
children: [
|
|
45
|
-
/* @__PURE__ */
|
|
47
|
+
/* @__PURE__ */ t(
|
|
46
48
|
S,
|
|
47
49
|
{
|
|
48
50
|
src: f || "",
|
|
49
51
|
width: 240,
|
|
50
52
|
height: 168,
|
|
51
|
-
alt: `${
|
|
53
|
+
alt: `${e} 이미지`,
|
|
52
54
|
"aria-hidden": !0,
|
|
53
55
|
draggable: !1,
|
|
54
56
|
borderRadius: 12,
|
|
@@ -58,9 +60,9 @@ function k({
|
|
|
58
60
|
...s
|
|
59
61
|
}
|
|
60
62
|
),
|
|
61
|
-
/* @__PURE__ */ n
|
|
62
|
-
/* @__PURE__ */
|
|
63
|
-
/* @__PURE__ */
|
|
63
|
+
/* @__PURE__ */ a(n, { flexDirection: "column", gap: 1, children: [
|
|
64
|
+
/* @__PURE__ */ t(l, { tag: "p", variant: "h4B", lineClamp: 1, children: e }),
|
|
65
|
+
/* @__PURE__ */ t(l, { tag: "p", variant: "b4R", lineClamp: 1, color: "grey.70", children: g })
|
|
64
66
|
] })
|
|
65
67
|
]
|
|
66
68
|
}
|
|
@@ -68,5 +70,5 @@ function k({
|
|
|
68
70
|
] });
|
|
69
71
|
}
|
|
70
72
|
export {
|
|
71
|
-
|
|
73
|
+
R as default
|
|
72
74
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode, SyntheticEvent } from 'react';
|
|
2
|
-
import { FlexboxProps } from 'node_modules/@dotss/ui/Flexbox/Flexbox';
|
|
3
2
|
import { ImageProps } from '../../../../shared/components/Image';
|
|
3
|
+
import { FlexboxProps } from 'node_modules/@dotss/ui/Flexbox/Flexbox';
|
|
4
4
|
import { BannerProps } from '..';
|
|
5
5
|
export interface TextAccountProps extends Omit<FlexboxProps, 'title'> {
|
|
6
6
|
id: string;
|
|
@@ -2,95 +2,104 @@ import { jsxs as e, Fragment as d, jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import r from "@dotss/ui/core/useTheme";
|
|
3
3
|
import n from "@dotss/ui/Flexbox";
|
|
4
4
|
import i from "@dotss/ui/Skeleton";
|
|
5
|
-
import
|
|
5
|
+
import a from "../../../../shared/components/LoadingAnnouncer/LoadingAnnouncer.mjs";
|
|
6
6
|
function s() {
|
|
7
7
|
const { spacing: h } = r();
|
|
8
8
|
return /* @__PURE__ */ e(d, { children: [
|
|
9
|
-
/* @__PURE__ */ t(
|
|
10
|
-
/* @__PURE__ */ e(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
9
|
+
/* @__PURE__ */ t(a, {}),
|
|
10
|
+
/* @__PURE__ */ e(
|
|
11
|
+
n,
|
|
12
|
+
{
|
|
13
|
+
tag: "section",
|
|
14
|
+
flexDirection: "column",
|
|
15
|
+
"aria-busy": !0,
|
|
16
|
+
inlineCSS: { width: "100%", cursor: "wait" },
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ t(
|
|
19
|
+
i,
|
|
20
|
+
{
|
|
21
|
+
height: 30,
|
|
22
|
+
inlineCSS: {
|
|
23
|
+
width: "50%",
|
|
24
|
+
marginBottom: h.content(2),
|
|
25
|
+
marginLeft: h.content(4)
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
),
|
|
29
|
+
/* @__PURE__ */ e(
|
|
30
|
+
n,
|
|
31
|
+
{
|
|
32
|
+
p: 4,
|
|
33
|
+
gap: 3,
|
|
34
|
+
alignItems: "center",
|
|
35
|
+
justifyContent: "space-between",
|
|
36
|
+
inlineCSS: { width: "100%" },
|
|
37
|
+
children: [
|
|
38
|
+
/* @__PURE__ */ t(i, { width: 100, minWidth: 100, height: 78, borderRadius: 8 }),
|
|
39
|
+
/* @__PURE__ */ t(i, { width: "100%", height: 48 }),
|
|
40
|
+
/* @__PURE__ */ t(i, { width: 16, height: 16, minWidth: 16 })
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
),
|
|
44
|
+
/* @__PURE__ */ e(
|
|
45
|
+
n,
|
|
46
|
+
{
|
|
47
|
+
p: 4,
|
|
48
|
+
gap: 3,
|
|
49
|
+
alignItems: "center",
|
|
50
|
+
justifyContent: "space-between",
|
|
51
|
+
inlineCSS: { width: "100%" },
|
|
52
|
+
children: [
|
|
53
|
+
/* @__PURE__ */ t(i, { width: "100%", maxWidth: 300, textHeight: "b2R" }),
|
|
54
|
+
/* @__PURE__ */ t(i, { width: 16, height: 16, minWidth: 16 })
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
),
|
|
58
|
+
/* @__PURE__ */ e(
|
|
59
|
+
n,
|
|
60
|
+
{
|
|
61
|
+
p: 4,
|
|
62
|
+
gap: 3,
|
|
63
|
+
alignItems: "center",
|
|
64
|
+
justifyContent: "space-between",
|
|
65
|
+
inlineCSS: { width: "100%" },
|
|
66
|
+
children: [
|
|
67
|
+
/* @__PURE__ */ t(i, { width: "100%", maxWidth: 200, textHeight: "b2R" }),
|
|
68
|
+
/* @__PURE__ */ t(i, { width: 16, height: 16, minWidth: 16 })
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
),
|
|
72
|
+
/* @__PURE__ */ e(
|
|
73
|
+
n,
|
|
74
|
+
{
|
|
75
|
+
p: 4,
|
|
76
|
+
gap: 3,
|
|
77
|
+
alignItems: "center",
|
|
78
|
+
justifyContent: "space-between",
|
|
79
|
+
inlineCSS: { width: "100%" },
|
|
80
|
+
children: [
|
|
81
|
+
/* @__PURE__ */ t(i, { width: "100%", maxWidth: 300, textHeight: "b2R" }),
|
|
82
|
+
/* @__PURE__ */ t(i, { width: 16, height: 16, minWidth: 16 })
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
),
|
|
86
|
+
/* @__PURE__ */ e(
|
|
87
|
+
n,
|
|
88
|
+
{
|
|
89
|
+
p: 4,
|
|
90
|
+
gap: 3,
|
|
91
|
+
alignItems: "center",
|
|
92
|
+
justifyContent: "space-between",
|
|
93
|
+
inlineCSS: { width: "100%" },
|
|
94
|
+
children: [
|
|
95
|
+
/* @__PURE__ */ t(i, { width: "100%", maxWidth: 200, textHeight: "b2R" }),
|
|
96
|
+
/* @__PURE__ */ t(i, { width: 16, height: 16, minWidth: 16 })
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
)
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
)
|
|
94
103
|
] });
|
|
95
104
|
}
|
|
96
105
|
export {
|
|
@@ -1,45 +1,47 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as h, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import b from "@dotss/ui/core/useTheme";
|
|
3
3
|
import i from "@dotss/ui/Flexbox";
|
|
4
4
|
import { useCheckHoverPossible as x } from "@dotss/ui/hooks";
|
|
5
|
-
import
|
|
5
|
+
import w from "@dotss/ui/Icon";
|
|
6
6
|
import d from "@dotss/ui/Typography";
|
|
7
|
-
import
|
|
7
|
+
import C from "../../../../shared/components/Image/Image.mjs";
|
|
8
8
|
import "@dotss/ui";
|
|
9
9
|
function P({
|
|
10
|
-
id:
|
|
11
|
-
title:
|
|
10
|
+
id: l,
|
|
11
|
+
title: m,
|
|
12
12
|
banners: s,
|
|
13
13
|
onClickBanner: n,
|
|
14
14
|
imageProps: g,
|
|
15
15
|
...f
|
|
16
16
|
}) {
|
|
17
|
-
const { spacing:
|
|
18
|
-
n && typeof n == "function" && (t.stopPropagation(), t.preventDefault(), n(
|
|
17
|
+
const { spacing: r, palette: c } = b(), { isHoverPossible: u } = x(), S = (o) => (t) => {
|
|
18
|
+
n && typeof n == "function" && (t.stopPropagation(), t.preventDefault(), n(o, t));
|
|
19
19
|
};
|
|
20
|
-
return /* @__PURE__ */
|
|
20
|
+
return /* @__PURE__ */ h(i, { tag: "section", flexDirection: "column", inlineCSS: { width: "100%" }, ...f, children: [
|
|
21
21
|
/* @__PURE__ */ e(
|
|
22
22
|
d,
|
|
23
23
|
{
|
|
24
|
-
id: `banner-account-text-${
|
|
24
|
+
id: `banner-account-text-${l}`,
|
|
25
25
|
variant: "h2B",
|
|
26
26
|
inlineCSS: {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
whiteSpace: "pre-wrap",
|
|
28
|
+
wordBreak: "keep-all",
|
|
29
|
+
paddingLeft: r.content(4),
|
|
30
|
+
paddingRight: r.content(4),
|
|
31
|
+
marginBottom: r.content(2)
|
|
30
32
|
},
|
|
31
|
-
children:
|
|
33
|
+
children: m
|
|
32
34
|
}
|
|
33
35
|
),
|
|
34
|
-
/* @__PURE__ */ e(i, { tag: "ul", flexDirection: "column", "aria-labelledby": `banner-account-text-${
|
|
36
|
+
/* @__PURE__ */ e(i, { tag: "ul", flexDirection: "column", "aria-labelledby": `banner-account-text-${l}`, children: s.map(({ id: o, title: t, url: a, image: p }) => /* @__PURE__ */ e(i, { tag: "li", alignItems: "center", children: /* @__PURE__ */ h(
|
|
35
37
|
i,
|
|
36
38
|
{
|
|
37
39
|
tag: "a",
|
|
38
|
-
href:
|
|
40
|
+
href: a,
|
|
39
41
|
p: 4,
|
|
40
42
|
gap: 3,
|
|
41
43
|
alignItems: "center",
|
|
42
|
-
onClick:
|
|
44
|
+
onClick: S(a),
|
|
43
45
|
inlineCSS: {
|
|
44
46
|
width: "100%",
|
|
45
47
|
"&:focus-within": {
|
|
@@ -52,7 +54,7 @@ function P({
|
|
|
52
54
|
} : {}
|
|
53
55
|
},
|
|
54
56
|
children: [
|
|
55
|
-
|
|
57
|
+
p && /* @__PURE__ */ e(
|
|
56
58
|
i,
|
|
57
59
|
{
|
|
58
60
|
inlineCSS: {
|
|
@@ -61,11 +63,11 @@ function P({
|
|
|
61
63
|
overflow: "hidden"
|
|
62
64
|
},
|
|
63
65
|
children: /* @__PURE__ */ e(
|
|
64
|
-
|
|
66
|
+
C,
|
|
65
67
|
{
|
|
66
68
|
width: 100,
|
|
67
69
|
height: 78,
|
|
68
|
-
src:
|
|
70
|
+
src: p,
|
|
69
71
|
alt: `${t} 이미지`,
|
|
70
72
|
enableFallback: !0,
|
|
71
73
|
enableErrorFallback: !0,
|
|
@@ -79,7 +81,7 @@ function P({
|
|
|
79
81
|
{
|
|
80
82
|
tag: "p",
|
|
81
83
|
variant: "b2R",
|
|
82
|
-
lineClamp:
|
|
84
|
+
lineClamp: a ? 2 : 1,
|
|
83
85
|
inlineCSS: {
|
|
84
86
|
flexGrow: 1
|
|
85
87
|
},
|
|
@@ -92,12 +94,12 @@ function P({
|
|
|
92
94
|
inlineCSS: {
|
|
93
95
|
whiteSpace: "nowrap"
|
|
94
96
|
},
|
|
95
|
-
children: /* @__PURE__ */ e(
|
|
97
|
+
children: /* @__PURE__ */ e(w, { name: "ChevronRightLine", size: "xSmall", color: "grey.50" })
|
|
96
98
|
}
|
|
97
99
|
)
|
|
98
100
|
]
|
|
99
101
|
}
|
|
100
|
-
) }, `tictoccroc-story-${
|
|
102
|
+
) }, `tictoccroc-story-${o}`)) })
|
|
101
103
|
] });
|
|
102
104
|
}
|
|
103
105
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as i, jsxs as e, Fragment as g } from "react/jsx-runtime";
|
|
2
|
-
import { Flexbox as t, Label as
|
|
2
|
+
import { Flexbox as t, Label as I, Typography as d, Icon as h } from "@dotss/ui";
|
|
3
3
|
import j from "@dotss/ui/core/useTheme";
|
|
4
4
|
import { useCheckHoverPossible as E } from "@dotss/ui/hooks";
|
|
5
5
|
import s from "dayjs";
|
|
@@ -12,10 +12,10 @@ function T({
|
|
|
12
12
|
id: b,
|
|
13
13
|
...n
|
|
14
14
|
}) {
|
|
15
|
-
const { isHoverPossible:
|
|
15
|
+
const { isHoverPossible: k } = E(), {
|
|
16
16
|
palette: { grey: a },
|
|
17
17
|
spacing: c
|
|
18
|
-
} = j(), r = typeof n.onClick == "function",
|
|
18
|
+
} = j(), r = typeof n.onClick == "function", D = s(y), u = (o ? s(o) : s()).diff(D, "month"), m = Math.floor(u / 12), C = u % 12;
|
|
19
19
|
return /* @__PURE__ */ i("li", { children: /* @__PURE__ */ e(
|
|
20
20
|
t,
|
|
21
21
|
{
|
|
@@ -42,7 +42,7 @@ function T({
|
|
|
42
42
|
backgroundColor: a[10]
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
|
-
...r &&
|
|
45
|
+
...r && k ? {
|
|
46
46
|
"&:hover": {
|
|
47
47
|
backgroundColor: a[10]
|
|
48
48
|
}
|
|
@@ -53,7 +53,7 @@ function T({
|
|
|
53
53
|
/* @__PURE__ */ e(t, { flexDirection: "column", gap: 1, flexGrow: 1, children: [
|
|
54
54
|
/* @__PURE__ */ e(t, { alignItems: "center", gap: 1, children: [
|
|
55
55
|
x && /* @__PURE__ */ i(
|
|
56
|
-
|
|
56
|
+
I,
|
|
57
57
|
{
|
|
58
58
|
variant: "outlined",
|
|
59
59
|
size: "small",
|
|
@@ -64,12 +64,12 @@ function T({
|
|
|
64
64
|
children: "대표"
|
|
65
65
|
}
|
|
66
66
|
),
|
|
67
|
-
/* @__PURE__ */ e(
|
|
67
|
+
/* @__PURE__ */ e(d, { id: `career-item-title-${b}`, tag: "p", variant: "b2M", children: [
|
|
68
68
|
v,
|
|
69
69
|
f === "VERIFIED" && /* @__PURE__ */ i(
|
|
70
|
-
|
|
70
|
+
h,
|
|
71
71
|
{
|
|
72
|
-
name: "
|
|
72
|
+
name: "CertifiedFill",
|
|
73
73
|
size: "small",
|
|
74
74
|
color: "tictoccroc-teacher.brand.green",
|
|
75
75
|
"aria-label": "인증됨",
|
|
@@ -81,7 +81,7 @@ function T({
|
|
|
81
81
|
}
|
|
82
82
|
),
|
|
83
83
|
f === "REJECTED" && /* @__PURE__ */ i(
|
|
84
|
-
|
|
84
|
+
h,
|
|
85
85
|
{
|
|
86
86
|
name: "AlertFill",
|
|
87
87
|
size: "small",
|
|
@@ -96,7 +96,7 @@ function T({
|
|
|
96
96
|
)
|
|
97
97
|
] })
|
|
98
98
|
] }),
|
|
99
|
-
/* @__PURE__ */ e(
|
|
99
|
+
/* @__PURE__ */ e(d, { tag: "p", variant: "b5R", color: "grey.50", children: [
|
|
100
100
|
y,
|
|
101
101
|
" ~ ",
|
|
102
102
|
o ?? "현재"
|
|
@@ -104,7 +104,7 @@ function T({
|
|
|
104
104
|
] }),
|
|
105
105
|
/* @__PURE__ */ e(t, { alignItems: "center", gap: 2, children: [
|
|
106
106
|
/* @__PURE__ */ e(
|
|
107
|
-
|
|
107
|
+
d,
|
|
108
108
|
{
|
|
109
109
|
tag: "p",
|
|
110
110
|
variant: "h5R",
|
|
@@ -124,7 +124,7 @@ function T({
|
|
|
124
124
|
]
|
|
125
125
|
}
|
|
126
126
|
),
|
|
127
|
-
r && /* @__PURE__ */ i(
|
|
127
|
+
r && /* @__PURE__ */ i(h, { name: "ChevronRightLine", size: "xSmall", color: "grey.50" })
|
|
128
128
|
] })
|
|
129
129
|
]
|
|
130
130
|
}
|