test(sw): approve the 955581c SW viewer button-height merge baseline
Deploy Storybook / deploy (push) Successful in 1m2s
Deploy Storybook / deploy (push) Successful in 1m2s
Test-only approval commit after the955581cmain merge (sw-test-regression- baseline section 9); no protected path changes, no Story change. - approvedMainCommitf340a26->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.
This commit is contained in:
1 parent
955581c6c4
commit
d71db6c5b0
2 files changed
+27
-1
No files matched your search
@@ -0,0 +1,24 @@
|
||||
# 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 |
|
||||
@@ -71,7 +71,9 @@ export const integratedChangedFiles = [
|
||||
// viewer background, 3671657; CSS and docs only, no Story change, public-api.approved.json kept).
|
||||
// -> f340a26 (2026-10-21, Merge fix/sw-viewer-open-icon-16: user-approved viewer open icon 16px area, open padding
|
||||
// and button-height token, 0840d76; CSS and docs only, no Story change, public-api.approved.json kept).
|
||||
export const approvedMainCommit = 'f340a264b88e8d7091dddea0bca961d45564c2d9'
|
||||
// -> 955581c (2026-10-21, Merge fix/sw-viewer-button-height-34: user-approved restore of the viewer button-height
|
||||
// token to 34px, 51d0369; CSS and docs only, no Story change, public-api.approved.json kept).
|
||||
export const approvedMainCommit = '955581c6c48a947a49896a0cdd824b4106c61b97'
|
||||
// 170a5c2: the SW/Header sidebar page of the home menu (the moved verification Stories are movedHomeMenuIds).
|
||||
export const homeMenuSidebarIds = ['sw-header--home-menu']
|
||||
// 6cf8854 SW Footer (current IDs after retiredFooterIds), 7f42923 viewer mode, 41e963a theme inheritance.
|
||||
|
||||
Reference in new issue
Block a user