@edu-tosel/design 1.0.177 → 1.0.178
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.
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { InfoCardProps } from "../../../interface";
|
|
1
|
+
import { Button as _Button, InfoCardProps } from "../../../interface";
|
|
2
2
|
interface Data {
|
|
3
|
-
button:
|
|
4
|
-
title: string;
|
|
5
|
-
hoverTitle?: string;
|
|
6
|
-
};
|
|
3
|
+
button: _Button;
|
|
7
4
|
examDate: string;
|
|
8
5
|
endDate: string;
|
|
9
6
|
manager: string;
|
|
@@ -5,7 +5,7 @@ import { InfoCardDesign } from "../../design/InfoCard.design";
|
|
|
5
5
|
import { label } from "./static/label";
|
|
6
6
|
export default function Exam({ titles, data, option }) {
|
|
7
7
|
const { button, isPublic, manager, examDate, endDate } = data;
|
|
8
|
-
const {
|
|
8
|
+
const { titleBorder } = option ?? {};
|
|
9
9
|
const container = {
|
|
10
10
|
positions: "relative",
|
|
11
11
|
displays: "flex flex-col justify-between mt-2.5",
|
|
@@ -15,7 +15,7 @@ export default function Exam({ titles, data, option }) {
|
|
|
15
15
|
titleBorder: titleBorder ?? "border-red-crimson",
|
|
16
16
|
width: "sm",
|
|
17
17
|
height: "xs",
|
|
18
|
-
}, children: _jsxs(_Fragment, { children: [_jsxs("div", { className: cn(container), children: [_jsxs("div", { className: "flex gap-4 font-pretendard-bold ", children: [manager, " / ", isPublic ? "공개시험" : "비공개시험"] }), _jsxs("div", { children: [_jsxs("div", { className: "text-xs", children: ["\uC811\uC218\uB9C8\uAC10: ", endDate] }), _jsxs("div", { className: "text-xs", children: ["\uC2DC\uD5D8\uC77C: ", examDate] })] })] }), _jsx(Label.Button, { title: button.title, hoverTitle: button.hoverTitle, onClick: onClick, option: {
|
|
18
|
+
}, children: _jsxs(_Fragment, { children: [_jsxs("div", { className: cn(container), children: [_jsxs("div", { className: "flex gap-4 font-pretendard-bold ", children: [manager, " / ", isPublic ? "공개시험" : "비공개시험"] }), _jsxs("div", { children: [_jsxs("div", { className: "text-xs", children: ["\uC811\uC218\uB9C8\uAC10: ", endDate] }), _jsxs("div", { className: "text-xs", children: ["\uC2DC\uD5D8\uC77C: ", examDate] })] })] }), _jsx(Label.Button, { title: button.title, hoverTitle: button.hoverTitle, onClick: button.onClick, option: {
|
|
19
19
|
width: "sm",
|
|
20
20
|
height: "xs",
|
|
21
21
|
className: cn(label),
|
package/package.json
CHANGED
package/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.178
|