@edu-tosel/design 1.0.162 → 1.0.163
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/card/template/InfoCard/Grade.js +1 -9
- package/package.json +1 -1
- package/version.txt +1 -1
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { Label } from "../../../widget";
|
|
3
2
|
import { cn } from "../../../util";
|
|
4
3
|
import { InfoCardDesign } from "../../design/InfoCard.design";
|
|
5
|
-
import { label } from "./static/label";
|
|
6
4
|
export default function Grade({ titles, image, data }) {
|
|
7
5
|
const container = {
|
|
8
6
|
positions: "relative",
|
|
@@ -19,11 +17,5 @@ export default function Grade({ titles, image, data }) {
|
|
|
19
17
|
titleBorder: "border-blue-navy",
|
|
20
18
|
width: "sm",
|
|
21
19
|
height: "xs",
|
|
22
|
-
}, children:
|
|
23
|
-
width: "sm",
|
|
24
|
-
height: "xs",
|
|
25
|
-
text: "text-white hover:text-blue-navy",
|
|
26
|
-
background: "bg-blue-navy hover:bg-gray-light",
|
|
27
|
-
className: cn(label),
|
|
28
|
-
} })] }) }));
|
|
20
|
+
}, children: _jsx(_Fragment, { children: _jsxs("div", { className: cn(container), children: [_jsxs("div", { className: "flex items-center gap-5", children: [_jsx("div", { className: cn(levelBox), children: data.levelString }), _jsxs("span", { className: "text-sm", children: [data.position, ", ", data.age, "\uC138"] })] }), _jsxs("div", { className: "absolute bottom-0 left-0 flex items-end gap-8 text-blue-navy", children: [_jsxs("div", { className: "w-20 h-12 flex justify-end items-end", children: [_jsx("div", { className: "leading-none text-4xl font-pretendard-bold", children: data.score }), _jsx("div", { children: "\uC810" })] }), _jsxs("div", { className: "w-14 h-12 flex justify-end items-end", children: [_jsx("div", { className: "leading-none text-4xl font-pretendard-bold", children: data.grade }), _jsx("div", { children: "\uB4F1\uAE09" })] })] })] }) }) }));
|
|
29
21
|
}
|
package/package.json
CHANGED
package/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.163
|