@ihabdevteam/core 0.479.0 → 0.481.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 +15 -0
- package/dist/components.cjs.js +8 -8
- package/dist/components.esm.css +1 -1
- 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 +16 -5
- package/dist/packages/core/src/components/Button.js +5 -1
- package/dist/packages/core/src/components/EmptyState.css +1 -3
- package/dist/packages/core/src/components/EmptyState.d.ts +4 -4
- package/dist/packages/core/src/components/EmptyState.js +2 -2
- 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,21 @@ All notable changes to this project will be documented in this file.
|
|
|
7
7
|
> 적은 글이라, 지금 이름으로 고쳐 놓으면 그 시절에 그 이름으로 받은 사람이
|
|
8
8
|
> 제 이야기를 못 찾는다.
|
|
9
9
|
|
|
10
|
+
## 0.481.0 — 꺼진 세그먼트 칸이 까닭을 말한다 (말귀 청 477)
|
|
11
|
+
|
|
12
|
+
- **새 칸** `SegmentedOption.disabledReason?: string` — `disabled` 인 칸에 올리면 풍선으로 뜨고, 낭독기는 칸의 설명(`aria-describedby`)으로 읽는다. 켜진 칸에서는 무시한다. 속에서는 꺼진 `Button` 의 `showTooltipInfo` 길을 그대로 쓴다.
|
|
13
|
+
- **고침** `Button`: 글자가 아닌 이름표(`label={<span>…</span>}`)에 툴팁 글을 주면 그 글이 단추의 이름(`aria-label`)을 차지했다. 이제 툴팁 글로 이름을 채우는 것은 보이는 글이 없는 단추(아이콘 단추)뿐이다.
|
|
14
|
+
- 꺼진 칸은 지금처럼 화살표가 건너뛴다(키보드 초점이 안 간다).
|
|
15
|
+
- 시험 `test/segmentedDisabledReason1120.test.tsx`(5). 고치기 전 파일로 돌리면 SegmentedControl 쪽 3 · Button 쪽 1 이 실패한다.
|
|
16
|
+
|
|
17
|
+
## 0.480.0 — **깨는 변경**: `EmptyState` 의 `message` 칸 걷음
|
|
18
|
+
|
|
19
|
+
- **`EmptyStateProps.message` 를 지웠다**(사장님 지시 2026-11-20 "massage prop 제거해"). 본문 줄이 제목을 되풀이해 겹쳐 보였다. 이제 빈 화면은 아이콘 · 제목 · 단추(선택)다.
|
|
20
|
+
- **소비자 빌드가 깨진다** — `message=` 를 넘기는 자리는 타입 오류가 난다. 말귀 앱은 `EmptyState` 36곳 가운데 34곳이 넘기고 있다. 넘기던 줄을 지우거나, 꼭 필요한 말이면 `title` 로 옮긴다. (조용히 무시하는 길 대신 지우는 길을 사장님이 고르셨다.)
|
|
21
|
+
- 타입을 피해 넘겨도(옛 JS) 화면에는 안 그린다.
|
|
22
|
+
- `ErrorState` 는 그대로다 — 오류 문장(`message`)은 남고 `.empty-state__message` 클래스도 그것이 쓴다. 제목과 본문 사이를 좁히던 `.empty-state__title + .empty-state__message` 는 이제 맞는 자리가 없어 걷었다.
|
|
23
|
+
- 시험 `emptyStateNoMessage1120` — 타입에 `message` 가 없고 본문 줄을 안 그리는지 센다. 옛 파일에서 2개가 운다.
|
|
24
|
+
|
|
10
25
|
## 0.479.0 — 빈 화면 아이콘 48 → 40 · 제목 lightGray
|
|
11
26
|
|
|
12
27
|
- **보이는 기본값이 바뀐다.** `EmptyState` 와 `ErrorState` 의 아이콘이 48px 에서 **40px** 로 줄었다(사장님 지시 2026-11-20 "아이콘이 좀 크다" → "40을"). 두 화면은 같은 자리에 서는 그림이라 함께 바꿨다. 색은 그대로(`--color-lightGray`, 오류는 `--color-error-ink`).
|