유닛테스트 수정
CI / test (push) Successful in 4m35s
CI / pr_and_merge (push) Successful in 1m44s

This commit is contained in:
2025-12-02 11:27:08 +09:00
parent 3e223a45d4
commit c331d5e14a
16 changed files with 76 additions and 22 deletions
+6 -2
View File
@@ -925,11 +925,15 @@ export const computeFormControllerPublicTokens = (
);
const mappedSubmitLabel = (mappedSubmitButton?.props as ButtonBlockProps | undefined)?.label ?? null;
// FormBlock 은 레이아웃/스타일을 가지지 않는 순수 컨트롤러이므로
// formClassName 은 고정 기본값만 사용하고, formStyle 은 항상 빈 객체로 유지한다.
// FormBlock 은 레이아웃/스타일을 가지지 않는 순수 컨트롤러이지만,
// 배경색 커스텀 값을 허용해 form 요소 배경만 제어할 수 있도록 한다.
const formClassNames = ["space-y-3"];
const formStyle: CSSProperties = {};
if (props.backgroundColorCustom && props.backgroundColorCustom.trim() !== "") {
formStyle.backgroundColor = props.backgroundColorCustom.trim();
}
return {
fields,
formClassName: formClassNames.join(" "),