@ihabdevteam/core 0.480.0 → 0.482.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 +14 -0
- package/dist/components.cjs.js +8 -8
- package/dist/hooks.cjs.js +1 -1
- package/dist/i18n.cjs.js +1 -1
- package/dist/ihabdevteam-core.cjs.js +11 -11
- package/dist/ihabdevteam-core.d.ts +20 -11
- package/dist/packages/core/src/components/Button.js +5 -1
- package/dist/packages/core/src/components/ChartSection.d.ts +3 -1
- package/dist/packages/core/src/components/ChartSection.js +1 -1
- package/dist/packages/core/src/components/PanelRow.d.ts +3 -4
- package/dist/packages/core/src/components/Popup/Popup.d.ts +4 -5
- package/dist/packages/core/src/components/Popup/Popup.js +1 -1
- package/dist/packages/core/src/components/SegmentedControl.d.ts +11 -0
- package/dist/packages/core/src/components/SegmentedControl.js +1 -1
- package/dist/packages/core/src/version.d.ts +1 -1
- package/dist/packages/core/src/version.js +1 -1
- package/dist/utils.cjs.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,20 @@ All notable changes to this project will be documented in this file.
|
|
|
7
7
|
> 적은 글이라, 지금 이름으로 고쳐 놓으면 그 시절에 그 이름으로 받은 사람이
|
|
8
8
|
> 제 이야기를 못 찾는다.
|
|
9
9
|
|
|
10
|
+
## 0.482.0 — 세그먼트를 감싸는 부품도 disabledReason 을 넘긴다 (말귀 청 477 후속)
|
|
11
|
+
|
|
12
|
+
- **고침** `Popup.headerSegment.options` 가 칸을 `{ key, label, disabled }` 셋만 골라 넘겨 `disabledReason` 이 떨어졌다(말귀 실측, 숙제 상세 창). 이제 `SegmentedOption[]` 을 그대로 받아 넘긴다 — `count` 도 함께 선다. `label` 타입이 `string` 에서 `ReactNode` 로 넓어졌다(깨지지 않음).
|
|
13
|
+
- **고침** `ChartSection.headSegment.options` 에 `disabledReason?` 를 열고 펼친 고르개로 넘긴다. 접힌 '⋯' 메뉴에는 아직 안 선다.
|
|
14
|
+
- `PanelRow variant="segmented"` 의 `options` 타입을 `SegmentedOption[]` 로 넓혔다(전부터 그대로 넘기고 있었고 타입만 좁았다).
|
|
15
|
+
- 시험 `test/segmentedReasonThroughWrappers1120.test.tsx`(6) — 세 부품의 동작과, 소스에서 칸을 골라 넘기는 자리가 `disabledReason` 을 빠뜨리는지 센다. 고치기 전 파일로 돌리면 4 가 실패한다.
|
|
16
|
+
|
|
17
|
+
## 0.481.0 — 꺼진 세그먼트 칸이 까닭을 말한다 (말귀 청 477)
|
|
18
|
+
|
|
19
|
+
- **새 칸** `SegmentedOption.disabledReason?: string` — `disabled` 인 칸에 올리면 풍선으로 뜨고, 낭독기는 칸의 설명(`aria-describedby`)으로 읽는다. 켜진 칸에서는 무시한다. 속에서는 꺼진 `Button` 의 `showTooltipInfo` 길을 그대로 쓴다.
|
|
20
|
+
- **고침** `Button`: 글자가 아닌 이름표(`label={<span>…</span>}`)에 툴팁 글을 주면 그 글이 단추의 이름(`aria-label`)을 차지했다. 이제 툴팁 글로 이름을 채우는 것은 보이는 글이 없는 단추(아이콘 단추)뿐이다.
|
|
21
|
+
- 꺼진 칸은 지금처럼 화살표가 건너뛴다(키보드 초점이 안 간다).
|
|
22
|
+
- 시험 `test/segmentedDisabledReason1120.test.tsx`(5). 고치기 전 파일로 돌리면 SegmentedControl 쪽 3 · Button 쪽 1 이 실패한다.
|
|
23
|
+
|
|
10
24
|
## 0.480.0 — **깨는 변경**: `EmptyState` 의 `message` 칸 걷음
|
|
11
25
|
|
|
12
26
|
- **`EmptyStateProps.message` 를 지웠다**(사장님 지시 2026-11-20 "massage prop 제거해"). 본문 줄이 제목을 되풀이해 겹쳐 보였다. 이제 빈 화면은 아이콘 · 제목 · 단추(선택)다.
|