feat: add responsive tests for Option Settings and Split Panel

- Implemented responsive testing scripts for Option Settings and ResponsiveSplitPanel components.
- Added tests to verify layout behavior across various screen sizes (desktop, tablet, mobile).
- Generated screenshots and reports for visual validation of responsive designs.

Made-with: Cursor
This commit is contained in:
DDD1542
2026-03-12 10:04:26 +09:00
parent 00e15dd9f2
commit 45740c1457
18 changed files with 198 additions and 181 deletions

View File

@@ -1,5 +1,8 @@
import React from "react";
import DOMPurify from "isomorphic-dompurify";
let DOMPurify: any = null;
if (typeof window !== "undefined") {
DOMPurify = require("isomorphic-dompurify");
}
import {
Check, Save, CheckCircle, CircleCheck, FileCheck, ShieldCheck,
Trash2, Trash, XCircle, X, Eraser, CircleX,
@@ -119,6 +122,7 @@ export function addToIconMap(name: string, component: LucideIcon): void {
// SVG 정화
// ---------------------------------------------------------------------------
export function sanitizeSvg(svgString: string): string {
if (!DOMPurify) return svgString;
return DOMPurify.sanitize(svgString, { USE_PROFILES: { svg: true } });
}