From 525237d42db779b6406a38b93a3bcdd744255038 Mon Sep 17 00:00:00 2001 From: SeongHyun Kim Date: Wed, 25 Mar 2026 10:57:29 +0900 Subject: [PATCH] =?UTF-8?q?style(pop-work-detail):=20ISA-101=20=EB=94=94?= =?UTF-8?q?=EC=9E=90=EC=9D=B8=20=ED=86=A0=ED=81=B0=20=EB=8F=84=EC=9E=85=20?= =?UTF-8?q?=EB=B0=8F=20=ED=81=AC=EA=B8=B0=20=EC=88=98=EC=A0=95=20-=20DESIG?= =?UTF-8?q?N=20=EC=83=81=EC=88=98=20=EB=8F=84=EC=9E=85=20(button,=20input,?= =?UTF-8?q?=20stat,=20section,=20sidebar,=20nav,=20infoBar,=20defectRow)?= =?UTF-8?q?=20-=20COLORS=20=EC=83=81=EC=88=98=20=EB=8F=84=EC=9E=85=20(good?= =?UTF-8?q?,=20defect,=20complete,=20warning,=20info)=20-=20=EB=B2=84?= =?UTF-8?q?=ED=8A=BC=20=EB=86=92=EC=9D=B4:=2044px=20=E2=86=92=2056px=20(IS?= =?UTF-8?q?A-101=20=EC=9E=A5=EA=B0=91=20=ED=84=B0=EC=B9=98=20=EA=B8=B0?= =?UTF-8?q?=EC=A4=80)=20-=20=ED=95=B5=EC=8B=AC=20=EC=88=AB=EC=9E=90(?= =?UTF-8?q?=EC=88=98=EB=9F=89/=EC=8B=A4=EC=A0=81):=2018px=20=E2=86=92=2036?= =?UTF-8?q?px=20(2-3m=20=EA=B0=80=EB=8F=85=EC=84=B1)=20-=20=EC=84=B9?= =?UTF-8?q?=EC=85=98=20=EC=A0=9C=EB=AA=A9/=EB=9D=BC=EB=B2=A8:=2014px=20?= =?UTF-8?q?=E2=86=92=2016px=20(1m=20=EA=B0=80=EB=8F=85=EC=84=B1)=20-=20?= =?UTF-8?q?=EC=9E=85=EB=A0=A5=20=ED=95=84=EB=93=9C=20=EB=86=92=EC=9D=B4:?= =?UTF-8?q?=2044px=20=E2=86=92=2056px=20-=20=EB=B6=88=EB=9F=89=20=EC=9C=A0?= =?UTF-8?q?=ED=98=95=20=ED=96=89=20=EB=86=92=EC=9D=B4:=2040px=20=E2=86=92?= =?UTF-8?q?=2056px=20-=20=EC=82=AC=EC=9D=B4=EB=93=9C=EB=B0=94=20=EB=84=88?= =?UTF-8?q?=EB=B9=84:=20208px=20=E2=86=92=20220px,=20=ED=95=AD=EB=AA=A9=20?= =?UTF-8?q?=ED=8C=A8=EB=94=A9=20=ED=99=95=EB=8C=80=20-=20=EA=B8=B0?= =?UTF-8?q?=EB=8A=A5=20=EB=B3=80=EA=B2=BD=20=EC=97=86=EC=9D=8C=20(?= =?UTF-8?q?=EB=94=94=EC=9E=90=EC=9D=B8=EB=A7=8C=20=EC=88=98=EC=A0=95)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PopWorkDetailComponent.tsx | 222 +++++++++++------- 1 file changed, 133 insertions(+), 89 deletions(-) diff --git a/frontend/lib/registry/pop-components/pop-work-detail/PopWorkDetailComponent.tsx b/frontend/lib/registry/pop-components/pop-work-detail/PopWorkDetailComponent.tsx index 954aab61..dfc5151e 100644 --- a/frontend/lib/registry/pop-components/pop-work-detail/PopWorkDetailComponent.tsx +++ b/frontend/lib/registry/pop-components/pop-work-detail/PopWorkDetailComponent.tsx @@ -133,6 +133,29 @@ const DEFAULT_CFG: PopWorkDetailConfig = { ], }; +// ======================================== +// ISA-101 디자인 토큰 (산업 터치 기준) +// ======================================== + +const DESIGN = { + button: { height: 56, minWidth: 100 }, + input: { height: 56 }, + stat: { valueSize: 36, labelSize: 14, weight: 700 }, + section: { titleSize: 16, gap: 20 }, + sidebar: { width: 220, itemPadding: '16px 20px' }, + nav: { height: 56 }, + infoBar: { labelSize: 14, valueSize: 16 }, + defectRow: { height: 56 }, +} as const; + +const COLORS = { + good: 'text-green-600', + defect: 'text-red-600', + complete: 'text-blue-600', + warning: 'text-amber-600', + info: 'text-violet-600', +} as const; + // ======================================== // Props // ======================================== @@ -710,7 +733,7 @@ export function PopWorkDetailComponent({ {/* 본문: 좌측 사이드바 + 우측 콘텐츠 */}
{/* 좌측 사이드바 */} -
+
{(["PRE", "IN", "POST"] as WorkPhase[]).map((phase) => { const phaseGroups = groupsByPhase[phase]; if (!phaseGroups || phaseGroups.length === 0) return null; @@ -723,11 +746,12 @@ export function PopWorkDetailComponent({
@@ -1017,7 +1045,8 @@ export function PopWorkDetailComponent({
{defectEntries.length === 0 ? ( -

등록된 불량 유형이 없습니다.

+

등록된 불량 유형이 없습니다.

) : (
{defectEntries.map((entry, idx) => (
updateDefectEntry(idx, "qty", e.target.value)} placeholder="수량" /> -
))} @@ -1481,7 +1518,7 @@ function ResultPanel({ {/* 비고 */} {enabledSections.some((s) => s.type === "note") && (
- +