Merge remote-tracking branch 'origin/sub_laptop_6' into sub_laptop_1

This commit is contained in:
2026-10-26 23:08:31 +09:00
21 changed files with 107 additions and 182 deletions
+2 -1
View File
@@ -115,7 +115,8 @@ def test_조정창은_제목과_단추만(out) -> None:
"""머리줄 = 제목 · 닫기(집수정 ↺ 없음) · BOX 오버레이 읽기 줄 = 끄는 중 미리 보기 하나."""
assert out["wall"]["diag1"]["overlayHead"] == [
"b06-structure-panel__title",
"b06-structure-panel__btn b06-structure-panel__close",
# 553-2 — 닫기 = 부품 아이콘 단추(선) 22 + 고스트 덮음
"ui-icon-btn ui-icon-btn--outline b06-structure-panel__btn b06-structure-panel__close",
]
assert out["box"]["left"]["value"] == ["b06-structure-panel__drag"]
assert out["ford"]["diag"]["value"] == ["b06-structure-panel__drag"]
@@ -17,11 +17,10 @@ def _src(rel: str) -> str:
def test_좁은_카드_내림_규칙_없음():
css = _src("B06_Section/B06_Section_UI_Style_Cross_Controls.css")
assert "@container" not in css
# 치수 칸 규칙은 기본 꼴 · 숨김(+ 옆 단추) 뿐 — 절대 자리 · 왼선 지움 규칙 없음
# 치수 칸 규칙은 기본 꼴 · 숨김 뿐 — 절대 자리 · 왼선 지움 규칙 없음(553-2 줌 단추 = 부품 · 사이 금 없음)
assert re.findall(r"\.b06-cross-card__line-dims[^{,;]*\{", css) == [
".b06-cross-card__line-dims {",
".b06-cross-card__line-dims[hidden] {",
".b06-cross-card__line-dims[hidden] + .b06-cross-card__zoom-btn {",
]
@@ -90,8 +90,17 @@ out.tags = chipsRow.children.map((c) => [c.tag, c.type]);
"""
)
assert got["v"]["chips"] == [
["성토 5m↑ 3", "false", "b06-section__notice-chip b06-section__notice-chip--warn"],
["소단 검토 5", "false", "b06-section__notice-chip b06-section__notice-chip--info"],
# 553-2 — 칩 = 부품 단추(고스트) 20
[
"성토 5m↑ 3",
"false",
"ui-btn ui-btn--ghost b06-section__notice-chip b06-section__notice-chip--warn",
],
[
"소단 검토 5",
"false",
"ui-btn ui-btn--ghost b06-section__notice-chip b06-section__notice-chip--info",
],
]
assert got["tags"] == [["button", "button"], ["button", "button"]]
assert got["v"]["panelHidden"] is True and got["v"]["rows"] == []
@@ -39,9 +39,11 @@ const marks = () => panel2.children.map((b) => [b.dataset.stationId, b.classList
def test_칩은_둥근_사각_공용_단추_반경_알약_아님():
# 553-2 — 칩 = 부품 단추(고스트 · 둥근 사각) · 페이지는 색만
chip = _rule(".b06-section__notice-chip")
assert "border-radius: var(--radius-buttons)" in chip
assert "radius-pills" not in chip and "radius-sm" not in chip
assert "border-radius" not in chip and "radius-pills" not in chip
chips = (B06 / "B06_Section_UI_Cross_Notice_Chips.ts").read_text(encoding="utf-8")
assert "`ui-btn ui-btn--ghost b06-section__notice-chip" in chips
def test_내용_칸은_흐름_밖_카드_위에_겹침():