@edu-tosel/design 1.0.209 → 1.0.210
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,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { createRecord } from "@edu-tosel/utils";
|
|
3
2
|
const partDescription = [
|
|
4
3
|
{
|
|
5
4
|
number: 1,
|
|
@@ -34,11 +33,11 @@ const partDescription = [
|
|
|
34
33
|
description: "Evaluates the ability to recognize topics and implications in various reading materials and select the best answers to questions about them.",
|
|
35
34
|
},
|
|
36
35
|
];
|
|
37
|
-
const partDescriptionRecord = createRecord(partDescription, "number");
|
|
36
|
+
// const partDescriptionRecord = createRecord(partDescription, "number");
|
|
38
37
|
export function LSWRChart({ data }) {
|
|
39
38
|
return (_jsx("div", { className: "w-full h-full flex flex-col", children: data.map(({ partIndicies, subject, A, B }) => {
|
|
40
|
-
return (_jsxs("div", { className: "flex w-full h-full even:bg-white odd:bg-gray-light", children: [_jsx("div", { className: "p-2 font-bold bg-crimson-burgundy text-white w-10 shrink-0 text-center", children: subject }), _jsxs("div", { className: "w-16 shrink-0 flex flex-col justify-center items-center p-2 text-center leading-tight", children: [_jsxs("div", { className: "text-green-dark font-bold text-base", children: [A, "%"] }), _jsxs("div", { className: "text-crimson-burgundy font-medium text-xs leading-none", children: [B, "%"] })] }), _jsx("div", { className: "flex flex-col justify-center", children: partIndicies.map((
|
|
41
|
-
return (
|
|
39
|
+
return (_jsxs("div", { className: "flex w-full h-full even:bg-white odd:bg-gray-light", children: [_jsx("div", { className: "p-2 font-bold bg-crimson-burgundy text-white w-10 shrink-0 text-center", children: subject }), _jsxs("div", { className: "w-16 shrink-0 flex flex-col justify-center items-center p-2 text-center leading-tight", children: [_jsxs("div", { className: "text-green-dark font-bold text-base", children: [A, "%"] }), _jsxs("div", { className: "text-crimson-burgundy font-medium text-xs leading-none", children: [B, "%"] })] }), _jsx("div", { className: "flex flex-col justify-center", children: partIndicies.map(() => {
|
|
40
|
+
return (_jsx("div", { className: "text-[10px] leading-tight p-1 ", children: _jsx("span", { className: "font-bold" }) }));
|
|
42
41
|
}) })] }));
|
|
43
42
|
}) }));
|
|
44
43
|
}
|
package/package.json
CHANGED
package/tailwind.config.ts
CHANGED
|
@@ -677,11 +677,11 @@ export default {
|
|
|
677
677
|
"-ms-overflow-style": "none", // For Internet Explorer and Edge
|
|
678
678
|
"scrollbar-width": "none", // For Firefox
|
|
679
679
|
},
|
|
680
|
-
".page-break": {
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
},
|
|
680
|
+
// ".page-break": {
|
|
681
|
+
// "@media print": {
|
|
682
|
+
// "page-break-before": "always",
|
|
683
|
+
// },
|
|
684
|
+
// },
|
|
685
685
|
},
|
|
686
686
|
{
|
|
687
687
|
respectPrefix: false,
|
package/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.210
|