@dotss/tictoccroc 0.9.0 → 0.10.0
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/ImageMessage/ImageMessage.mjs +7 -6
- package/dist/shared/components/ChatKit/Message/Message.utils.mjs +15 -3
- package/dist/shared/components/ChatKit/Message/Message.utils.test.d.ts +1 -0
- package/dist/shared/components/Image/Image.mjs +113 -111
- package/dist/shared/components/Image/Image.utils.d.ts +7 -0
- package/dist/shared/components/Image/Image.utils.mjs +21 -0
- package/dist/shared/components/Image/Image.utils.test.d.ts +1 -0
- package/dist/teacher/profile/components/AbilityCollection/AbilityCollection.d.ts +3 -1
- package/dist/teacher/profile/components/AbilityCollection/AbilityCollection.mjs +25 -24
- package/dist/teacher/profile/components/ActivityGallery/ActivityGallery.d.ts +2 -1
- package/dist/teacher/profile/components/ActivityGallery/ActivityGallery.mjs +19 -18
- package/dist/teacher/profile/components/AvailableScheduleSection/AvailableScheduleSection.d.ts +1 -0
- package/dist/teacher/profile/components/AvailableScheduleSection/AvailableScheduleSection.mjs +29 -28
- package/dist/teacher/profile/components/CareNoteSection/CareNoteSection.d.ts +2 -0
- package/dist/teacher/profile/components/CareNoteSection/CareNoteSection.mjs +53 -49
- package/dist/teacher/profile/components/CareerSection/CareerSection.d.ts +2 -1
- package/dist/teacher/profile/components/CareerSection/CareerSection.mjs +25 -24
- package/dist/teacher/profile/components/CertificateSection/CertificateSection.d.ts +2 -1
- package/dist/teacher/profile/components/CertificateSection/CertificateSection.mjs +21 -20
- package/dist/teacher/profile/components/EducationSection/EducationSection.d.ts +2 -1
- package/dist/teacher/profile/components/EducationSection/EducationSection.mjs +21 -20
- package/dist/teacher/profile/components/ParentReviewSection/ParentReviewSection.d.ts +2 -0
- package/dist/teacher/profile/components/ParentReviewSection/ParentReviewSection.mjs +12 -11
- package/dist/teacher/profile/components/PreferredActivityKeywordGroup/PreferredActivityKeywordGroup.d.ts +2 -1
- package/dist/teacher/profile/components/PreferredActivityKeywordGroup/PreferredActivityKeywordGroup.mjs +4 -3
- package/dist/teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.d.ts +2 -1
- package/dist/teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.mjs +4 -3
- package/package.json +2 -2
|
@@ -3,18 +3,18 @@ import { Button as t, Flexbox as n, Icon as r, Typography as i } from "@dotss/ui
|
|
|
3
3
|
import a from "@dotss/ui/core/useTheme";
|
|
4
4
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
5
5
|
//#region teacher/profile/components/ParentReviewSection/ParentReviewSection.tsx
|
|
6
|
-
var c = e(({ children: e, totalCount: c,
|
|
7
|
-
let { palette: { grey:
|
|
6
|
+
var c = e(({ children: e, totalCount: c, description: l, onClickViewAll: u, ...d }, f) => {
|
|
7
|
+
let { palette: { grey: p }, spacing: m } = a();
|
|
8
8
|
return /* @__PURE__ */ s(n, {
|
|
9
|
-
ref:
|
|
9
|
+
ref: f,
|
|
10
10
|
tag: "section",
|
|
11
11
|
gap: 4,
|
|
12
12
|
flexDirection: "column",
|
|
13
13
|
"aria-labelledby": "parent-review-section-title",
|
|
14
|
-
...
|
|
14
|
+
...d,
|
|
15
15
|
inlineCSS: {
|
|
16
16
|
width: "100%",
|
|
17
|
-
...
|
|
17
|
+
...d?.inlineCSS
|
|
18
18
|
},
|
|
19
19
|
children: [
|
|
20
20
|
/* @__PURE__ */ s(n, {
|
|
@@ -33,7 +33,7 @@ var c = e(({ children: e, totalCount: c, onClickViewAll: l, ...u }, d) => {
|
|
|
33
33
|
variant: "h4R",
|
|
34
34
|
color: "grey.70",
|
|
35
35
|
inlineCSS: {
|
|
36
|
-
marginLeft:
|
|
36
|
+
marginLeft: m.content(2),
|
|
37
37
|
verticalAlign: 2
|
|
38
38
|
},
|
|
39
39
|
children: [
|
|
@@ -43,22 +43,23 @@ var c = e(({ children: e, totalCount: c, onClickViewAll: l, ...u }, d) => {
|
|
|
43
43
|
]
|
|
44
44
|
})]
|
|
45
45
|
})
|
|
46
|
-
}), typeof
|
|
46
|
+
}), typeof u == "function" && /* @__PURE__ */ o(t, {
|
|
47
47
|
variant: "text",
|
|
48
48
|
size: "small",
|
|
49
49
|
color: "secondary",
|
|
50
50
|
endAdornment: /* @__PURE__ */ o(r, { name: "ChevronRightLine" }),
|
|
51
|
-
onClick:
|
|
51
|
+
onClick: u,
|
|
52
52
|
children: "전체보기"
|
|
53
53
|
})]
|
|
54
54
|
}),
|
|
55
|
+
l,
|
|
55
56
|
c > 0 && /* @__PURE__ */ o(n, {
|
|
56
57
|
tag: "ul",
|
|
57
58
|
flexDirection: "column",
|
|
58
59
|
inlineCSS: { "& > li + li": {
|
|
59
|
-
borderTop: `1px solid ${
|
|
60
|
-
marginTop:
|
|
61
|
-
paddingTop:
|
|
60
|
+
borderTop: `1px solid ${p[10]}`,
|
|
61
|
+
marginTop: m.content(5),
|
|
62
|
+
paddingTop: m.content(5)
|
|
62
63
|
} },
|
|
63
64
|
children: e
|
|
64
65
|
}),
|
|
@@ -4,6 +4,7 @@ export interface PreferredActivityKeywordGroupProps extends FlexboxProps {
|
|
|
4
4
|
keywords: string[];
|
|
5
5
|
title?: string;
|
|
6
6
|
action?: ReactNode;
|
|
7
|
+
description?: ReactNode;
|
|
7
8
|
}
|
|
8
|
-
declare function PreferredActivityKeywordGroup({ keywords, title, action, ...props }: PreferredActivityKeywordGroupProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function PreferredActivityKeywordGroup({ keywords, title, action, description, ...props }: PreferredActivityKeywordGroupProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
10
|
export default PreferredActivityKeywordGroup;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Flexbox as e, Label as t, Typography as n } from "@dotss/ui";
|
|
2
2
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
3
3
|
//#region teacher/profile/components/PreferredActivityKeywordGroup/PreferredActivityKeywordGroup.tsx
|
|
4
|
-
function a({ keywords: a, title: o = "자신 있는 활동 키워드", action: s,
|
|
4
|
+
function a({ keywords: a, title: o = "자신 있는 활동 키워드", action: s, description: c, ...l }) {
|
|
5
5
|
return /* @__PURE__ */ i(e, {
|
|
6
6
|
tag: "section",
|
|
7
7
|
flexDirection: "column",
|
|
8
8
|
gap: 4,
|
|
9
9
|
"aria-labelledby": "preferred-activity-keyword-group-title",
|
|
10
|
-
...
|
|
10
|
+
...l,
|
|
11
11
|
inlineCSS: {
|
|
12
12
|
width: "100%",
|
|
13
|
-
...
|
|
13
|
+
...l?.inlineCSS
|
|
14
14
|
},
|
|
15
15
|
children: [
|
|
16
16
|
/* @__PURE__ */ r(n, {
|
|
@@ -19,6 +19,7 @@ function a({ keywords: a, title: o = "자신 있는 활동 키워드", action: s
|
|
|
19
19
|
variant: "h2B",
|
|
20
20
|
children: o
|
|
21
21
|
}),
|
|
22
|
+
c,
|
|
22
23
|
a.length > 0 && /* @__PURE__ */ r(e, {
|
|
23
24
|
tag: "ul",
|
|
24
25
|
flexWrap: "wrap",
|
|
@@ -3,6 +3,7 @@ import { FlexboxProps } from 'node_modules/@dotss/ui/Flexbox/Flexbox';
|
|
|
3
3
|
export interface PreferredAgeGroupProps extends FlexboxProps {
|
|
4
4
|
keywords: string[];
|
|
5
5
|
action?: ReactNode;
|
|
6
|
+
description?: ReactNode;
|
|
6
7
|
}
|
|
7
|
-
declare function PreferredAgeGroup({ keywords, action, ...props }: PreferredAgeGroupProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function PreferredAgeGroup({ keywords, action, description, ...props }: PreferredAgeGroupProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
9
|
export default PreferredAgeGroup;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Flexbox as e, Label as t, Typography as n } from "@dotss/ui";
|
|
2
2
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
3
3
|
//#region teacher/profile/components/PreferredAgeGroup/PreferredAgeGroup.tsx
|
|
4
|
-
function a({ keywords: a, action: o,
|
|
4
|
+
function a({ keywords: a, action: o, description: s, ...c }) {
|
|
5
5
|
return /* @__PURE__ */ i(e, {
|
|
6
6
|
tag: "section",
|
|
7
7
|
flexDirection: "column",
|
|
8
8
|
gap: 4,
|
|
9
9
|
"aria-labelledby": "preferred-age-group-title",
|
|
10
|
-
...
|
|
10
|
+
...c,
|
|
11
11
|
inlineCSS: {
|
|
12
12
|
width: "100%",
|
|
13
|
-
...
|
|
13
|
+
...c?.inlineCSS
|
|
14
14
|
},
|
|
15
15
|
children: [
|
|
16
16
|
/* @__PURE__ */ r(n, {
|
|
@@ -19,6 +19,7 @@ function a({ keywords: a, action: o, ...s }) {
|
|
|
19
19
|
variant: "h2B",
|
|
20
20
|
children: "자신 있는 아이 연령"
|
|
21
21
|
}),
|
|
22
|
+
s,
|
|
22
23
|
a.length > 0 && /* @__PURE__ */ r(e, {
|
|
23
24
|
tag: "ul",
|
|
24
25
|
flexWrap: "wrap",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotss/tictoccroc",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.10.0",
|
|
5
5
|
"description": "Tictoccroc shared components, hooks, utils, and APIs for Dotss",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
7
7
|
"module": "./dist/index.mjs",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"@emotion/react": "^11.14.0",
|
|
140
140
|
"@emotion/styled": "^11.14.0",
|
|
141
141
|
"dayjs": "^1.11.13",
|
|
142
|
-
"
|
|
142
|
+
"heic-to": "1.5.2",
|
|
143
143
|
"dompurify": "^3.3.1",
|
|
144
144
|
"marked": "^17.0.3",
|
|
145
145
|
"react": "^18.0.0 || ^19.0.0",
|