@dotss/tictoccroc 0.0.20 → 0.0.22

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.
@@ -2,11 +2,11 @@ import { jsxs as t, jsx as r } from "react/jsx-runtime";
2
2
  import { useRef as E, useEffect as F } from "react";
3
3
  import { Flexbox as n, Typography as e, Button as L } from "@dotss/ui";
4
4
  import $ from "@dotss/ui/core/useTheme";
5
- import { getClassInfo as q, getCtaButtonText as z } from "./BotMessage.utils.mjs";
6
- import G from "../../Image/Image.mjs";
7
- import J from "../../../hooks/useInView/useInView.mjs";
5
+ import q from "dayjs";
6
+ import { getClassInfo as z, getCtaButtonText as G } from "./BotMessage.utils.mjs";
7
+ import J from "../../Image/Image.mjs";
8
+ import K from "../../../hooks/useInView/useInView.mjs";
8
9
  import S from "../../../utils/getCareTypeLabel/getCareTypeLabel.mjs";
9
- import K from "dayjs";
10
10
  function O({
11
11
  id: N,
12
12
  botMessageType: y,
@@ -29,10 +29,10 @@ function O({
29
29
  const {
30
30
  palette: { brand: j, grey: m, background: D },
31
31
  spacing: d
32
- } = $(), f = E(null), { isInView: u } = J(f), x = z(s), i = R, k = [
32
+ } = $(), f = E(null), { isInView: u } = K(f), x = G(s), i = R, k = [
33
33
  S(i == null ? void 0 : i.firstCareType),
34
34
  S(i == null ? void 0 : i.secondCareType)
35
- ].filter(Boolean).filter((M) => M !== "-").join("+"), c = q(i), H = () => o == null ? void 0 : o({ botMessageType: y, ctaType: s, ctaTargetId: C, subCtaTargetTable: b, subCtaTargetId: v });
35
+ ].filter(Boolean).filter((M) => M !== "-").join("+"), c = z(i), H = () => o == null ? void 0 : o({ botMessageType: y, ctaType: s, ctaTargetId: C, subCtaTargetTable: b, subCtaTargetId: v });
36
36
  return F(() => {
37
37
  u && (l == null || l());
38
38
  }, [u, l]), /* @__PURE__ */ t(
@@ -83,7 +83,7 @@ function O({
83
83
  inlineCSS: {
84
84
  whiteSpace: "nowrap"
85
85
  },
86
- children: K(w).format("A h:mm")
86
+ children: q(w).format("A h:mm")
87
87
  }
88
88
  )
89
89
  ]
@@ -104,7 +104,7 @@ function O({
104
104
  },
105
105
  children: [
106
106
  g && /* @__PURE__ */ r(
107
- G,
107
+ J,
108
108
  {
109
109
  src: g,
110
110
  width: 32,
@@ -1,5 +1,5 @@
1
1
  import { BotMessageCtaType, BotMessageProps } from '.';
2
- export declare function getCtaButtonText(ctaType?: BotMessageCtaType | null): "" | "공고 확인하기" | "변경내용 확인하기" | "나의 지원 내역 보러가기" | "돌봄노트 확인하기" | "선생님 선택하러 가기";
2
+ export declare function getCtaButtonText(ctaType?: BotMessageCtaType | null): "" | "내 수업 확인하기" | "공고 확인하기" | "변경내용 확인하기" | "나의 지원 내역 보러가기" | "돌봄노트 확인하기" | "선생님 선택하러 가기";
3
3
  export declare function getClassInfo(offer: object): {
4
4
  dateRangeText: string;
5
5
  timeRangeText: string;
@@ -3,7 +3,7 @@ import c from "../../../utils/getCareTypeLabel/getCareTypeLabel.mjs";
3
3
  function u(r) {
4
4
  switch (r) {
5
5
  case "MY_CLASS_CHECK":
6
- return "공고 확인하기";
6
+ return " 수업 확인하기";
7
7
  case "OFFER_CHECK":
8
8
  return "공고 확인하기";
9
9
  case "CHANGE_INFO_CHECK":
@@ -1,6 +1,6 @@
1
1
  import { jsxs as t, jsx as r, Fragment as O } from "react/jsx-runtime";
2
2
  import { useRef as b, useImperativeHandle as q, useEffect as x } from "react";
3
- import { Flexbox as s, Typography as v, Button as J, Icon as I, Menu as K, MenuBlock as $, CircularProgressIndicator as Q } from "@dotss/ui";
3
+ import { Flexbox as s, Typography as v, Button as J, Icon as C, Menu as K, MenuBlock as $, CircularProgressIndicator as Q } from "@dotss/ui";
4
4
  import W from "@dotss/ui/core/useTheme";
5
5
  import { useCheckHoverPossible as X } from "@dotss/ui/hooks";
6
6
  import { MenuButton as Y } from "@dotss/ui/Menu";
@@ -8,7 +8,7 @@ import Z from "dayjs";
8
8
  import _ from "../../Image/Image.mjs";
9
9
  import V from "../../../hooks/useInView/useInView.mjs";
10
10
  function ar({
11
- id: C,
11
+ id: I,
12
12
  content: p = "",
13
13
  mine: e = !1,
14
14
  avatarUrl: h = "",
@@ -112,7 +112,7 @@ function ar({
112
112
  {
113
113
  variant: "text",
114
114
  size: "xSmall",
115
- endAdornment: /* @__PURE__ */ r(I, { name: "ChevronRightLine" }),
115
+ endAdornment: /* @__PURE__ */ r(C, { name: "ChevronRightLine" }),
116
116
  onClick: D,
117
117
  inlineCSS: {
118
118
  marginLeft: "auto"
@@ -130,7 +130,7 @@ function ar({
130
130
  {
131
131
  ref: E,
132
132
  isMenuOpen: !!g,
133
- menuId: `message-${C}-menu`,
133
+ menuId: `message-${I}-menu`,
134
134
  onClick: B,
135
135
  size: "xSmall",
136
136
  inlineCSS: {
@@ -150,7 +150,7 @@ function ar({
150
150
  },
151
151
  children: [
152
152
  /* @__PURE__ */ r(
153
- I,
153
+ C,
154
154
  {
155
155
  name: "ResetLine",
156
156
  size: "xSmall",
@@ -161,7 +161,7 @@ function ar({
161
161
  }
162
162
  ),
163
163
  /* @__PURE__ */ r(
164
- I,
164
+ C,
165
165
  {
166
166
  name: "CloseLine",
167
167
  size: "xSmall",
@@ -177,7 +177,7 @@ function ar({
177
177
  /* @__PURE__ */ t(
178
178
  K,
179
179
  {
180
- id: `message-${C}-menu`,
180
+ id: `message-${I}-menu`,
181
181
  anchorRef: E,
182
182
  open: g,
183
183
  onClose: i,
@@ -197,7 +197,6 @@ function ar({
197
197
  flexDirection: "column",
198
198
  alignItems: e ? "flex-end" : "flex-start",
199
199
  inlineCSS: {
200
- visibility: F ? "visible" : "hidden",
201
200
  whiteSpace: "nowrap"
202
201
  },
203
202
  children: [
@@ -224,7 +223,18 @@ function ar({
224
223
  }
225
224
  }
226
225
  ),
227
- /* @__PURE__ */ r(v, { tag: "span", variant: "c5R", color: "etc.dimmed01", children: Z(z).format("A h:mm") })
226
+ /* @__PURE__ */ r(
227
+ v,
228
+ {
229
+ tag: "span",
230
+ variant: "c5R",
231
+ color: "etc.dimmed01",
232
+ inlineCSS: {
233
+ visibility: F ? "visible" : "hidden"
234
+ },
235
+ children: Z(z).format("A h:mm")
236
+ }
237
+ )
228
238
  ]
229
239
  }
230
240
  )
@@ -7,7 +7,7 @@ export interface Carousel2AccountProps extends Omit<FlexboxProps, 'title'> {
7
7
  title: ReactNode;
8
8
  banners: Array<BannerProps & {
9
9
  image?: string;
10
- subtitle?: ReactNode;
10
+ subTitle?: ReactNode;
11
11
  }>;
12
12
  onClickBanner?: (url: string, e: SyntheticEvent) => void;
13
13
  bannerWidth?: number;
@@ -1,4 +1,4 @@
1
- import { jsxs as a, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as a, jsx as r } from "react/jsx-runtime";
2
2
  import b from "@dotss/ui/core/useTheme";
3
3
  import n from "@dotss/ui/Flexbox";
4
4
  import l from "@dotss/ui/Typography";
@@ -10,15 +10,15 @@ function R({
10
10
  id: p,
11
11
  title: d,
12
12
  banners: m,
13
- onClickBanner: r,
13
+ onClickBanner: t,
14
14
  imageProps: s,
15
15
  ...u
16
16
  }) {
17
17
  const { spacing: i } = b(), h = (o) => (e) => {
18
- r && typeof r == "function" && (e.stopPropagation(), e.preventDefault(), r(o, e));
18
+ t && typeof t == "function" && (e.stopPropagation(), e.preventDefault(), t(o, e));
19
19
  };
20
20
  return /* @__PURE__ */ a(n, { tag: "section", flexDirection: "column", inlineCSS: { width: "100%" }, ...u, children: [
21
- /* @__PURE__ */ t(
21
+ /* @__PURE__ */ r(
22
22
  l,
23
23
  {
24
24
  id: `banner-account-carousel2-${p}`,
@@ -33,7 +33,7 @@ function R({
33
33
  children: d
34
34
  }
35
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(
36
+ /* @__PURE__ */ r(C, { rowCount: 1, step: 1, spacing: 3, children: m.map(({ id: o, title: e, subTitle: g, url: c, image: f }) => /* @__PURE__ */ r(x, { children: /* @__PURE__ */ a(
37
37
  n,
38
38
  {
39
39
  tag: "a",
@@ -44,7 +44,7 @@ function R({
44
44
  onClick: h(c),
45
45
  inlineCSS: { width: 240 },
46
46
  children: [
47
- /* @__PURE__ */ t(
47
+ /* @__PURE__ */ r(
48
48
  S,
49
49
  {
50
50
  src: f || "",
@@ -61,8 +61,8 @@ function R({
61
61
  }
62
62
  ),
63
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
+ /* @__PURE__ */ r(l, { tag: "p", variant: "h4B", lineClamp: 1, children: e }),
65
+ /* @__PURE__ */ r(l, { tag: "p", variant: "b4R", lineClamp: 1, color: "grey.70", children: g })
66
66
  ] })
67
67
  ]
68
68
  }
@@ -29,13 +29,16 @@ function s() {
29
29
  /* @__PURE__ */ e(
30
30
  n,
31
31
  {
32
- p: 4,
32
+ pt: 3,
33
+ pl: 4,
34
+ pb: 3,
35
+ pr: 4,
33
36
  gap: 3,
34
37
  alignItems: "center",
35
38
  justifyContent: "space-between",
36
39
  inlineCSS: { width: "100%" },
37
40
  children: [
38
- /* @__PURE__ */ t(i, { width: 100, minWidth: 100, height: 78, borderRadius: 8 }),
41
+ /* @__PURE__ */ t(i, { width: 100, minWidth: 100, height: 70, borderRadius: 8 }),
39
42
  /* @__PURE__ */ t(i, { width: "100%", height: 48 }),
40
43
  /* @__PURE__ */ t(i, { width: 16, height: 16, minWidth: 16 })
41
44
  ]
@@ -1,47 +1,51 @@
1
- import { jsxs as h, jsx as e } from "react/jsx-runtime";
2
- import b from "@dotss/ui/core/useTheme";
3
- import i from "@dotss/ui/Flexbox";
1
+ import { jsxs as d, jsx as e } from "react/jsx-runtime";
2
+ import S from "@dotss/ui/core/useTheme";
3
+ import r from "@dotss/ui/Flexbox";
4
4
  import { useCheckHoverPossible as x } from "@dotss/ui/hooks";
5
5
  import w from "@dotss/ui/Icon";
6
- import d from "@dotss/ui/Typography";
6
+ import h from "@dotss/ui/Typography";
7
7
  import C from "../../../../shared/components/Image/Image.mjs";
8
8
  import "@dotss/ui";
9
9
  function P({
10
- id: l,
11
- title: m,
12
- banners: s,
13
- onClickBanner: n,
10
+ id: a,
11
+ title: s,
12
+ banners: m,
13
+ onClickBanner: i,
14
14
  imageProps: g,
15
15
  ...f
16
16
  }) {
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));
17
+ const { spacing: o, palette: c } = S(), { isHoverPossible: u } = x(), b = (l) => (t) => {
18
+ i && typeof i == "function" && (t.stopPropagation(), t.preventDefault(), i(l, t));
19
19
  };
20
- return /* @__PURE__ */ h(i, { tag: "section", flexDirection: "column", inlineCSS: { width: "100%" }, ...f, children: [
20
+ return /* @__PURE__ */ d(r, { tag: "section", flexDirection: "column", inlineCSS: { width: "100%" }, ...f, children: [
21
21
  /* @__PURE__ */ e(
22
- d,
22
+ h,
23
23
  {
24
- id: `banner-account-text-${l}`,
24
+ id: `banner-account-text-${a}`,
25
25
  variant: "h2B",
26
26
  inlineCSS: {
27
27
  whiteSpace: "pre-wrap",
28
28
  wordBreak: "keep-all",
29
- paddingLeft: r.content(4),
30
- paddingRight: r.content(4),
31
- marginBottom: r.content(2)
29
+ paddingLeft: o.content(4),
30
+ paddingRight: o.content(4),
31
+ marginBottom: o.content(2)
32
32
  },
33
- children: m
33
+ children: s
34
34
  }
35
35
  ),
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(
37
- i,
36
+ /* @__PURE__ */ e(r, { tag: "ul", flexDirection: "column", "aria-labelledby": `banner-account-text-${a}`, children: m.map(({ id: l, title: t, url: p, image: n }) => /* @__PURE__ */ e(r, { tag: "li", alignItems: "center", children: /* @__PURE__ */ d(
37
+ r,
38
38
  {
39
39
  tag: "a",
40
- href: a,
41
- p: 4,
40
+ href: p,
41
+ pt: n ? 3 : 4,
42
+ pl: 4,
43
+ pb: n ? 3 : 4,
44
+ pr: 4,
42
45
  gap: 3,
43
46
  alignItems: "center",
44
- onClick: S(a),
47
+ draggable: !1,
48
+ onClick: b(p),
45
49
  inlineCSS: {
46
50
  width: "100%",
47
51
  "&:focus-within": {
@@ -54,8 +58,8 @@ function P({
54
58
  } : {}
55
59
  },
56
60
  children: [
57
- p && /* @__PURE__ */ e(
58
- i,
61
+ n && /* @__PURE__ */ e(
62
+ r,
59
63
  {
60
64
  inlineCSS: {
61
65
  minWidth: 100,
@@ -66,9 +70,10 @@ function P({
66
70
  C,
67
71
  {
68
72
  width: 100,
69
- height: 78,
70
- src: p,
73
+ height: 70,
74
+ src: n,
71
75
  alt: `${t} 이미지`,
76
+ draggable: !1,
72
77
  enableFallback: !0,
73
78
  enableErrorFallback: !0,
74
79
  ...g
@@ -77,11 +82,11 @@ function P({
77
82
  }
78
83
  ),
79
84
  /* @__PURE__ */ e(
80
- d,
85
+ h,
81
86
  {
82
87
  tag: "p",
83
88
  variant: "b2R",
84
- lineClamp: a ? 2 : 1,
89
+ lineClamp: n ? 2 : 1,
85
90
  inlineCSS: {
86
91
  flexGrow: 1
87
92
  },
@@ -89,7 +94,7 @@ function P({
89
94
  }
90
95
  ),
91
96
  /* @__PURE__ */ e(
92
- i,
97
+ r,
93
98
  {
94
99
  inlineCSS: {
95
100
  whiteSpace: "nowrap"
@@ -99,7 +104,7 @@ function P({
99
104
  )
100
105
  ]
101
106
  }
102
- ) }, `tictoccroc-story-${o}`)) })
107
+ ) }, `tictoccroc-story-${l}`)) })
103
108
  ] });
104
109
  }
105
110
  export {
@@ -1,5 +1,7 @@
1
1
  export declare function getIconFileName(abilityName: string, completed: boolean): string;
2
2
  export declare function getAbilityCollection(data: Record<string, string>): {
3
+ label: string;
4
+ description: string;
3
5
  key: string;
4
6
  name: string;
5
7
  completed: boolean;
@@ -1,4 +1,4 @@
1
- function c(a, n) {
1
+ function t(a, n) {
2
2
  let e = "";
3
3
  switch (a) {
4
4
  case "창의악어":
@@ -25,19 +25,37 @@ function c(a, n) {
25
25
  }
26
26
  return e = n ? e : `incomplete-${e}`, e;
27
27
  }
28
- function i(a) {
29
- const n = {
30
- creativeFlag: "창의악어",
31
- englishFlag: "영어악어",
32
- infantsFlag: "영유아악어"
33
- };
34
- return Object.keys(n).map((e) => ({
35
- key: e,
36
- name: n[e],
37
- completed: a[e] === "Y"
28
+ const i = {
29
+ creativeFlag: "창의악어",
30
+ englishFlag: "영어악어",
31
+ infantsFlag: "영유아악어"
32
+ }, c = {
33
+ 창의악어: {
34
+ label: "창의악어 배지를 취득해야 창의미술 수업을 할 수 있어요",
35
+ description: `창의미술에 대한 이해도와 만들기 능력이 검증된
36
+ 미술 수업 특화 선생님이에요.`
37
+ },
38
+ 영어악어: {
39
+ label: "영어악어 배지를 취득해야 영어 수업을 할 수 있어요",
40
+ description: `아이들의 발달 상황에 맞도록 영어로 상호작용을
41
+ 자유롭게 할 수 있는 회화 실력이 검증된
42
+ 영어 수업 특화 선생님이에요.`
43
+ },
44
+ 영유아악어: {
45
+ label: "영유아 배지를 취득해야 12개월~24개월 아이 돌봄이 가능해요",
46
+ description: `영유아 발달에 대한 이해와 기저귀 갈이 등의
47
+ 기본 돌봄 역량이 검증된 선생님이에요.`
48
+ }
49
+ };
50
+ function o(a) {
51
+ return Object.keys(i).map((n) => ({
52
+ key: n,
53
+ name: i[n],
54
+ completed: a[n] === "Y",
55
+ ...c[i[n]]
38
56
  }));
39
57
  }
40
58
  export {
41
- i as getAbilityCollection,
42
- c as getIconFileName
59
+ o as getAbilityCollection,
60
+ t as getIconFileName
43
61
  };
@@ -1,23 +1,23 @@
1
- import { jsx as i, jsxs as e, Fragment as g } from "react/jsx-runtime";
2
- import { Flexbox as t, Label as I, Typography as d, Icon as h } from "@dotss/ui";
3
- import j from "@dotss/ui/core/useTheme";
4
- import { useCheckHoverPossible as E } from "@dotss/ui/hooks";
5
- import s from "dayjs";
6
- function T({
1
+ import { jsx as i, jsxs as e, Fragment as d } from "react/jsx-runtime";
2
+ import { Flexbox as a, Label as Y, Typography as s, Icon as f } from "@dotss/ui";
3
+ import D from "@dotss/ui/core/useTheme";
4
+ import { useCheckHoverPossible as j } from "@dotss/ui/hooks";
5
+ import t from "dayjs";
6
+ function L({
7
7
  title: v,
8
- status: f,
9
- startDate: y,
8
+ status: y,
9
+ startDate: b,
10
10
  endDate: o,
11
11
  primary: x = !1,
12
- id: b,
12
+ id: u,
13
13
  ...n
14
14
  }) {
15
- const { isHoverPossible: k } = E(), {
16
- palette: { grey: a },
17
- spacing: c
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;
15
+ const { isHoverPossible: k } = j(), {
16
+ palette: { grey: c },
17
+ spacing: m
18
+ } = D(), r = typeof n.onClick == "function", I = t(b), g = (o ? t(o) : t()).diff(I, "month"), h = Math.floor(g / 12), C = g % 12 < 1 ? 1 : g % 12;
19
19
  return /* @__PURE__ */ i("li", { children: /* @__PURE__ */ e(
20
- t,
20
+ a,
21
21
  {
22
22
  role: "button",
23
23
  tabIndex: r ? 0 : -1,
@@ -33,41 +33,41 @@ function T({
33
33
  var S;
34
34
  (l.key === "Enter" || l.key === " ") && (l.preventDefault(), l.currentTarget.click()), (S = n.onKeyDown) == null || S.call(n, l);
35
35
  },
36
- "aria-labelledby": `career-item-title-${b}`,
36
+ "aria-labelledby": `career-item-title-${u}`,
37
37
  ...n,
38
38
  inlineCSS: {
39
39
  cursor: r ? "pointer" : "default",
40
40
  ...r && {
41
41
  "&:active": {
42
- backgroundColor: a[10]
42
+ backgroundColor: c[10]
43
43
  }
44
44
  },
45
45
  ...r && k ? {
46
46
  "&:hover": {
47
- backgroundColor: a[10]
47
+ backgroundColor: c[10]
48
48
  }
49
49
  } : {},
50
50
  ...n == null ? void 0 : n.inlineCSS
51
51
  },
52
52
  children: [
53
- /* @__PURE__ */ e(t, { flexDirection: "column", gap: 1, flexGrow: 1, children: [
54
- /* @__PURE__ */ e(t, { alignItems: "center", gap: 1, children: [
53
+ /* @__PURE__ */ e(a, { flexDirection: "column", gap: 1, flexGrow: 1, children: [
54
+ /* @__PURE__ */ e(a, { alignItems: "center", gap: 1, children: [
55
55
  x && /* @__PURE__ */ i(
56
- I,
56
+ Y,
57
57
  {
58
58
  variant: "outlined",
59
59
  size: "small",
60
60
  color: "orange",
61
61
  inlineCSS: {
62
- marginRight: c.content(1)
62
+ marginRight: m.content(1)
63
63
  },
64
64
  children: "대표"
65
65
  }
66
66
  ),
67
- /* @__PURE__ */ e(d, { id: `career-item-title-${b}`, tag: "p", variant: "b2M", children: [
67
+ /* @__PURE__ */ e(s, { id: `career-item-title-${u}`, tag: "p", variant: "b2M", children: [
68
68
  v,
69
- f === "VERIFIED" && /* @__PURE__ */ i(
70
- h,
69
+ y === "VERIFIED" && /* @__PURE__ */ i(
70
+ f,
71
71
  {
72
72
  name: "CertifiedFill",
73
73
  size: "small",
@@ -76,12 +76,12 @@ function T({
76
76
  inlineCSS: {
77
77
  minWidth: 20,
78
78
  verticalAlign: "-5px",
79
- marginLeft: c.content(1)
79
+ marginLeft: m.content(1)
80
80
  }
81
81
  }
82
82
  ),
83
- f === "REJECTED" && /* @__PURE__ */ i(
84
- h,
83
+ y === "REJECTED" && /* @__PURE__ */ i(
84
+ f,
85
85
  {
86
86
  name: "AlertFill",
87
87
  size: "small",
@@ -90,46 +90,47 @@ function T({
90
90
  inlineCSS: {
91
91
  minWidth: 20,
92
92
  verticalAlign: "-5px",
93
- marginLeft: c.content(1)
93
+ marginLeft: m.content(1)
94
94
  }
95
95
  }
96
96
  )
97
97
  ] })
98
98
  ] }),
99
- /* @__PURE__ */ e(d, { tag: "p", variant: "b5R", color: "grey.50", children: [
100
- y,
101
- " ~ ",
102
- o ?? "현재"
99
+ /* @__PURE__ */ e(s, { tag: "p", variant: "b5R", color: "grey.50", children: [
100
+ t(b).format("YYYY년 M월"),
101
+ " ~",
102
+ " ",
103
+ o ? t(o).format("YYYY년 M월") : "현재"
103
104
  ] })
104
105
  ] }),
105
- /* @__PURE__ */ e(t, { alignItems: "center", gap: 2, children: [
106
+ /* @__PURE__ */ e(a, { alignItems: "center", gap: 2, children: [
106
107
  /* @__PURE__ */ e(
107
- d,
108
+ s,
108
109
  {
109
110
  tag: "p",
110
111
  variant: "h5R",
111
112
  color: "grey.70",
112
113
  noWrap: !0,
113
- inlineCSS: { "& strong": { color: a[100], fontWeight: 700 } },
114
+ inlineCSS: { "& strong": { color: c[100], fontWeight: 700 } },
114
115
  children: [
115
- m > 0 && /* @__PURE__ */ e(g, { children: [
116
- /* @__PURE__ */ i("strong", { children: m }),
116
+ h > 0 && /* @__PURE__ */ e(d, { children: [
117
+ /* @__PURE__ */ i("strong", { children: h }),
117
118
  "년"
118
119
  ] }),
119
- C > 0 && /* @__PURE__ */ e(g, { children: [
120
- m > 0 && /* @__PURE__ */ i(g, { children: " " }),
120
+ C > 0 && /* @__PURE__ */ e(d, { children: [
121
+ h > 0 && /* @__PURE__ */ i(d, { children: " " }),
121
122
  /* @__PURE__ */ i("strong", { children: C }),
122
123
  "개월"
123
124
  ] })
124
125
  ]
125
126
  }
126
127
  ),
127
- r && /* @__PURE__ */ i(h, { name: "ChevronRightLine", size: "xSmall", color: "grey.50" })
128
+ r && /* @__PURE__ */ i(f, { name: "ChevronRightLine", size: "xSmall", color: "grey.50" })
128
129
  ] })
129
130
  ]
130
131
  }
131
132
  ) });
132
133
  }
133
134
  export {
134
- T as default
135
+ L as default
135
136
  };
@@ -20,7 +20,7 @@ function Y({
20
20
  const {
21
21
  palette: { background: y, brand: E, etc: k },
22
22
  spacing: a
23
- } = G(), [m, D] = R(!1), [z, T] = R(!1), b = F(null), w = S >= 0 && p > 0, c = x ? K(x) : null, I = c ? W(c) : null, j = (o) => {
23
+ } = G(), [m, D] = R(!1), [z, T] = R(!1), b = F(null), w = S > 0 || p > 0, c = x ? K(x) : null, I = c ? W(c) : null, j = (o) => {
24
24
  var s, g;
25
25
  switch (o.key) {
26
26
  case "Enter":
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dotss/tictoccroc",
3
3
  "type": "module",
4
- "version": "0.0.20",
4
+ "version": "0.0.22",
5
5
  "description": "Tictoccroc shared components, hooks, utils, and APIs for Dotss",
6
6
  "main": "./dist/index.mjs",
7
7
  "module": "./dist/index.mjs",