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") && (
- +