@ihabdevteam/core 0.482.0 → 0.483.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,14 @@ All notable changes to this project will be documented in this file.
7
7
  > 적은 글이라, 지금 이름으로 고쳐 놓으면 그 시절에 그 이름으로 받은 사람이
8
8
  > 제 이야기를 못 찾는다.
9
9
 
10
+ ## 0.483.0 — TrainingBlock 이 자료를 기다리는 동안 키를 잡는다 (말귀 청 478)
11
+
12
+ - **새 칸** `TrainingBlock` 의 `loading?: boolean` · `placeholderCount?: number`(기본 4, 20 까지). `loading` 이고 항목이 없는 동안 카드 크기의 빈 칸을 세운다 — 자료가 와도 묶음 키가 안 바뀌어 아래 묶음이 밀리지 않는다(말귀 실측: 폰 390 에서 87px → 380px 남짓, layout-shift 0.21).
13
+ - 빈 칸은 카드와 같은 클래스(`training-block-button` · `--small` · `--list`)를 달아 크기를 `TrainingBlockButton.css` 한 곳에서 받는다. 누를 수 없고 낭독기에서 숨으며, 목록에 `aria-busy` 가 선다.
14
+ - 항목이 하나라도 오면 `loading` 이 남아 있어도 항목을 그린다. 안 주면 지금 그대로다.
15
+ - 실측(놀이터, 빈 칸 4 → 항목 4): 폰 390 에서 묶음 417 → 417px, 1280 에서 272 → 272px.
16
+ - 시험 `test/trainingBlockLoading1120.test.tsx`(6). 고치기 전 파일로 돌리면 3 이 실패한다.
17
+
10
18
  ## 0.482.0 — 세그먼트를 감싸는 부품도 disabledReason 을 넘긴다 (말귀 청 477 후속)
11
19
 
12
20
  - **고침** `Popup.headerSegment.options` 가 칸을 `{ key, label, disabled }` 셋만 골라 넘겨 `disabledReason` 이 떨어졌다(말귀 실측, 숙제 상세 창). 이제 `SegmentedOption[]` 을 그대로 받아 넘긴다 — `count` 도 함께 선다. `label` 타입이 `string` 에서 `ReactNode` 로 넓어졌다(깨지지 않음).