@edu-tosel/design 1.0.223 → 1.0.224

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.
@@ -11,6 +11,7 @@ import { MIChart } from "./molecule/MIChart";
11
11
  import { IntelligenceCard } from "./organism/IntelligenceCard";
12
12
  import { SectionRadarCard } from "./organism/SectionRadarCard";
13
13
  import { NationalPositionCard } from "./organism/NationalPositionCard";
14
+ import IdCard from "./organism/IdCard.organism";
14
15
  export const EXAM_TYPE = {
15
16
  REG: "REG",
16
17
  CMP: "CMP",
@@ -41,7 +42,7 @@ function TranscriptDesign({ props }, ref) {
41
42
  spacings: "px-5 py-2",
42
43
  backgrounds: "bg-gradient-to-r from-crimson-burgundy to-green-dark",
43
44
  };
44
- return (_jsxs("div", { ref: ref, className: cn(container), children: [_jsxs("div", { className: cn(headerBox), children: [_jsx("img", { src: "images/logos/logo-tosel-white.svg", alt: "", className: "h-10" }), _jsxs("div", { className: "text-white font-bold text-base", children: [getStringfromType(info.examType), " \uC131\uC801\uD45C"] })] }), _jsx(NationalPositionCard, { result: result }), _jsxs("div", { className: "flex flex-col gap-5 xs:flex-row mt-5 items-stretch", children: [_jsx(ResultGaugeCard, { result: result, theme: "green" }), _jsx(HonorCard, { result: result })] }), _jsx(PerformanceCard, { data: data, info: info }), _jsx(ScoreCard, { data: data }), _jsx(BarCardRow, { section1: section1Data, section2: section2Data, theme: "green" }), _jsx(SectionRadarCard, { data: data, section: "section1", info: info, theme: "red" }), _jsx(SectionRadarCard, { data: data, section: "section2", info: info, theme: "red" }), _jsx(IntelligenceCard, { data: data.multipleIntelligence, theme: "green" }), _jsx(MIChart, {})] }));
45
+ return (_jsxs("div", { ref: ref, className: cn(container), children: [_jsxs("div", { className: cn(headerBox), children: [_jsx("img", { src: "images/logos/logo-tosel-white.svg", alt: "", className: "h-10" }), _jsxs("div", { className: "text-white font-bold text-base", children: [getStringfromType(info.examType), " \uC131\uC801\uD45C"] })] }), _jsx(IdCard, { info: info }), _jsx(NationalPositionCard, { result: result }), _jsxs("div", { className: "flex flex-col gap-5 xs:flex-row mt-5 items-stretch", children: [_jsx(ResultGaugeCard, { result: result, theme: "green" }), _jsx(HonorCard, { result: result })] }), _jsx(PerformanceCard, { data: data, info: info }), _jsx(ScoreCard, { data: data }), _jsx(BarCardRow, { section1: section1Data, section2: section2Data, theme: "green" }), _jsx(SectionRadarCard, { data: data, section: "section1", info: info, theme: "red" }), _jsx(SectionRadarCard, { data: data, section: "section2", info: info, theme: "red" }), _jsx(IntelligenceCard, { data: data.multipleIntelligence, theme: "green" }), _jsx(MIChart, {})] }));
45
46
  }
46
47
  export default forwardRef(TranscriptDesign);
47
48
  function SectionBarGraphProps(title, score, total, script, subScripts, scale, subScore) {
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
2
2
  import { forwardRef } from "react";
3
3
  import { paperSize } from "../../../../style/size";
4
4
  import { cn } from "../../../../util";
5
- import { IdCard } from "./organism/IdCard.organism";
5
+ import IdCard from "./organism/IdCard.organism";
6
6
  import { BarCardCol } from "./organism/BarCardCol";
7
7
  import { RadarCard } from "./organism/RadarCard";
8
8
  import { OCICard } from "./organism/OCICard";
@@ -1,4 +1,4 @@
1
1
  import { Information } from "../Transcript";
2
- export declare function IdCard({ info }: {
2
+ export default function IdCard({ info }: {
3
3
  info: Information;
4
4
  }): import("react/jsx-runtime").JSX.Element;
@@ -4,7 +4,7 @@ import { useResponsive } from "../../../../../hook";
4
4
  import { cn, copyToClipboard } from "../../../../../util";
5
5
  import QRCode from "react-qr-code";
6
6
  import { GetStyleFromLevel } from "../atom/GetStyleFromLevel";
7
- export function IdCard({ info }) {
7
+ export default function IdCard({ info }) {
8
8
  const [isExpanded, setIsExpanded] = useState(false);
9
9
  const togglecard = () => setIsExpanded(!isExpanded);
10
10
  //반응형 info 카드 height 문제로 눌러서 자세히 보기 차후 구현 예정
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edu-tosel/design",
3
- "version": "1.0.223",
3
+ "version": "1.0.224",
4
4
  "description": "UI components for International TOSEL Committee",
5
5
  "keywords": [
6
6
  "jsx",
package/version.txt CHANGED
@@ -1 +1 @@
1
- 1.0.223
1
+ 1.0.224