Files
HMDesign/docs/sw/sw-viewer-button-height-2026-10-21.md
T
shkim4 d71db6c5b0
Deploy Storybook / deploy (push) Successful in 1m2s
test(sw): approve the 955581c SW viewer button-height merge baseline
Test-only approval commit after the 955581c main merge (sw-test-regression-
baseline section 9); no protected path changes, no Story change.
- approvedMainCommit f340a26 -> 955581c.
- public-api.approved.json kept: the public .d.ts files are byte-identical.
- docs/sw/sw-viewer-button-height-2026-10-21.md: change and verification.
2026-10-21 19:27:26 +09:00

25 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# SW Viewer — 버튼 높이 토큰 34px 복구 (2026-10-21)
`--hm-sw-viewer-button-height`를 16px에서 34px로 되돌린 후속 변경입니다(16px는 `f340a26`에서 함께 반영되어 Viewer Header의 다른 버튼까지 16px 높이로 줄였습니다). 과거 보고서(`sw-viewer-open-icon-2026-10-21.md`)는 수정하지 않고 이 기록으로 대체합니다. CSS와 문서만 바꿨고 Props·Export·공개 `.d.ts`는 그대로입니다.
## 1. 변경
| 항목 | 값 |
|---|---|
| 작업 Commit | `51d0369` (브랜치 `fix/sw-viewer-button-height-34`) |
| main 병합 | `c7f29b0` → `955581c` (no-ff) |
| 승인 기준 Commit | 이 보고서와 같은 테스트 전용 Commit (`approvedMainCommit` `f340a26` → `955581c`) |
- `packages/sw/src/theme/sw-viewer.css`: `--hm-sw-viewer-button-height: 34px`.
- `packages/sw/ai/DESIGN_RULES.md`: 토큰 표 34px.
- 유지: 파일 열기 아이콘 영역 16 × 16(`--hm-sw-viewer-icon-size`, 여백 0), 파일 열기 padding `0 12px 0 24px`. `.hm-sw-header__document-name` 안의 아이콘은 SW Story 40개 중 Viewer 파일 열기 아이콘뿐이며 모두 16 × 16입니다(일반 SW Header 파일명에는 아이콘 없음).
## 2. 검증 (Node 22.23.2, `npm run build-storybook` 후, 증거는 저장소 밖 임시 폴더)
| 검사 | 결과 |
|---|---|
| 실측(1440 / 950 / 760) | 전체 보기 34px, 레이어·설정·속성 40px, 정보·라이선스 48px, 파일 열기 119.9 / 53 / 53 × 50, 아이콘 16 × 16(왼쪽 24px) |
| Typecheck(sw) · Public API Guard | 오류 0 · 7/7 PASS |
| `check:ai-docs` · `ai-docs.check.mjs` | PASS · 46/46 |
| home-menu-integration · overview / overlays · Source Guard | 23/23 · 53/53, 20/20 · 94/94 PASS |