@ihabdevteam/core 0.143.0 → 0.145.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 +60 -0
- package/dist/components.cjs.js +185 -180
- package/dist/components.esm.css +2 -2
- package/dist/hooks.cjs.js +1 -1
- package/dist/i18n.cjs.js +1 -1
- package/dist/ihabdevteam-core.cjs.js +191 -186
- package/dist/ihabdevteam-core.d.ts +6 -2
- package/dist/packages/core/src/components/Badge.js +3 -1
- package/dist/packages/core/src/components/BulkBar.js +1 -1
- package/dist/packages/core/src/components/Button.js +2 -1
- package/dist/packages/core/src/components/Calendar.js +9 -6
- package/dist/packages/core/src/components/DatePicker.js +4 -3
- package/dist/packages/core/src/components/Dropdown.d.ts +3 -1
- package/dist/packages/core/src/components/Dropdown.js +26 -6
- package/dist/packages/core/src/components/Loader.js +6 -1
- package/dist/packages/core/src/components/Pagination.js +1 -1
- package/dist/packages/core/src/components/PanelRow.js +9 -5
- package/dist/packages/core/src/components/Popup/Popup.js +21 -4
- package/dist/packages/core/src/components/ProgressBar.js +1 -1
- package/dist/packages/core/src/components/Report/ReportDocument.css +11 -0
- package/dist/packages/core/src/components/Report/ReportDocument.js +11 -5
- package/dist/packages/core/src/components/SideNav.js +1 -1
- package/dist/packages/core/src/components/Slider.js +10 -1
- package/dist/packages/core/src/components/Table.js +2 -0
- package/dist/packages/core/src/components/Toast.css +5 -0
- package/dist/packages/core/src/components/Toolbar.js +3 -1
- package/dist/packages/core/src/components/Tooltip/Tooltip.js +6 -1
- package/dist/packages/core/src/components/Training/TrainingStepAudioPlayer.js +1 -1
- package/dist/packages/core/src/components/Word/wordTablePrint.js +27 -8
- package/dist/packages/core/src/components/useCalendarMonth.js +3 -2
- package/dist/packages/core/src/components/useToastLifecycle.d.ts +1 -0
- package/dist/packages/core/src/components/useToastLifecycle.js +8 -1
- package/dist/packages/core/src/hooks/useVisitHistory.d.ts +2 -0
- package/dist/packages/core/src/hooks/useVisitHistory.js +5 -6
- package/dist/packages/core/src/hooks/useWordTrainingFilter.js +7 -4
- 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,66 @@ All notable changes to this project will be documented in this file.
|
|
|
7
7
|
> 적은 글이라, 지금 이름으로 고쳐 놓으면 그 시절에 그 이름으로 받은 사람이
|
|
8
8
|
> 제 이야기를 못 찾는다.
|
|
9
9
|
|
|
10
|
+
## 0.145.0
|
|
11
|
+
|
|
12
|
+
14차 검수 판이다 — 움직임·오래된 값·SSR·소리방향성이 기대는 컴포넌트 검수에서 **재현된** 결함을 고쳤다.
|
|
13
|
+
걷거나 더한 공개 API 는 없다.
|
|
14
|
+
|
|
15
|
+
### 소비자에게 먼저
|
|
16
|
+
|
|
17
|
+
- **Toast**: 사라지는 대기를 CSS 전환(260ms)과 같게 줄였다(전에는 500ms) — onClose 가 240ms 일찍 불린다. 보이지 않는 동안에는 누름이
|
|
18
|
+
통과한다. 전에는 투명해진 알림이 화면 맨 위 띠의 클릭을 삼켰다(Chromium 실측, 모바일 헤더 단추 윗부분).
|
|
19
|
+
- **Dropdown**: 열린 목록에서 **Space 도 가리킨 항목을 고른다**(Enter 와 같게, 네이티브 select 처럼). 전에는 고르지 않고 닫혔다.
|
|
20
|
+
- **ReportDocument**: 블록 높이를 소수로 잰다 — 경계에 걸린 결과지는 장 나눔이 한 블록 달라질 수 있다(전에는 종이보다 몇 px 넘쳤다).
|
|
21
|
+
|
|
22
|
+
### 바뀜
|
|
23
|
+
|
|
24
|
+
- **Dropdown**: 열린 동안 목록 길이가 바뀌면(불러오는 중 `[]` 로 열었다 도착·목록이 줄어듦) Enter 가 TypeError 로 던지거나 첫 항목을 골랐다.
|
|
25
|
+
- **ReportDocument**: 인쇄하면 끝에 빈 쪽 · 장 규격(pageWidth·pageHeight·margin)이 바뀌어도 다시 안 잼 · section 이 바뀌어도 같은
|
|
26
|
+
group 이면 새 장이 안 됨. Chromium PDF 로 확인했다.
|
|
27
|
+
|
|
28
|
+
### 고치지 않은 것 — 결정·확인이 필요하다
|
|
29
|
+
|
|
30
|
+
- 움직임 줄이기에서 JS 닫기 대기(Popup·Tooltip·TrainingPagePopup) · TopBanner 자동 롤링 · 전역 reduce 규칙이 무한 진행 표시를 멈춤.
|
|
31
|
+
- ReportDocument 내용 높이만 바뀔 때 다시 재기 · 한 장보다 큰 group 을 앞 장에서 이어 채울지 · ProgressIndicator dot 폭 상한.
|
|
32
|
+
- Table 저장 폭·i18n 저장 언어의 SSR 하이드레이트(지금 SSR 소비자 경로 없음).
|
|
33
|
+
- 앞 판에 적은 결정은 그대로.
|
|
34
|
+
|
|
35
|
+
## 0.144.0
|
|
36
|
+
|
|
37
|
+
13차 검수 판이다 — 해외 기기 KST(달력·날짜 고르개·방문 폼), 낭독기, 떠난 뒤 불리던 콜백, 단어표 인쇄를 고쳤다.
|
|
38
|
+
더한 공개 API: Dropdown `ariaDescribedBy`.
|
|
39
|
+
|
|
40
|
+
### 소비자에게 먼저
|
|
41
|
+
|
|
42
|
+
- **KST 오늘**: Calendar(여는 달·오늘 칸)·DatePicker(오늘 표시·열 때 포커스)·useCalendarMonth(값 없을 때 여는 달)·useVisitHistory `today()`
|
|
43
|
+
와 방문 폼·useVisitSchedule 일정 폼 기본 날짜가 KST 의 날이다. 한국 기기에서는 같다. `today()` 는 뜻이 '기기 오늘' → 'KST 오늘'.
|
|
44
|
+
- **낭독기 속성이 더해졌다 — 역할로 찾는 시험을 확인할 것**:
|
|
45
|
+
- `role="status"`: Toolbar 결과 수(`.toolbar__count`)·BulkBar 선택 개수. 이것이 든 화면에서 `getByRole('status')` 가 여럿을 만날 수 있다.
|
|
46
|
+
- `aria-live`: Pagination "2 / 5"·Calendar 달 제목. `aria-current`: SideNav 지금 메뉴("page")·Calendar 오늘("date").
|
|
47
|
+
- Loader 스피너의 status 안에 이름과 같은 숨은 글자.
|
|
48
|
+
- Dropdown 에 `ariaLabel` 을 주면 이름은 그대로, 고른 값은 설명(aria-describedby). PanelRow 드롭다운 행 오류도 설명으로.
|
|
49
|
+
- PanelRowDevice 착용 해제 단추 이름이 "좌 착용 해제"·"우 착용 해제"(이름으로 찾으면 `/착용 해제$/`).
|
|
50
|
+
- Button: toggleable·selected 가 아니면 넘긴 `aria-pressed` 를 그대로 둔다(전에는 덮었다). 듣기 플레이어 재생/멈춤이 이것을 쓴다.
|
|
51
|
+
- 누를 수 없는 Badge 점은 `role="img"`. 듣기 플레이어의 재생 전 조작 줄은 `inert`. Slider·ProgressBar 에 `aria-valuetext`.
|
|
52
|
+
- **단어표 인쇄 문서는 늘 light 테마**(종이가 흰색이라). 인쇄가 진행 중이면(10초 한도) 다시 눌러도 받지 않는다.
|
|
53
|
+
- useWordTrainingFilter 품사·어종 사전 열쇠를 글자 그대로 적었다(`wordSearch.filter.pos.*`·`type.*`) — 열쇠 소유 가드용.
|
|
54
|
+
|
|
55
|
+
### 바뀜
|
|
56
|
+
|
|
57
|
+
- **떠난 뒤 onClose**: 닫는 애니메이션 도중 부모가 치운 Popup(X·ESC·바탕)·Tooltip(ESC)·Toast(문구가 바뀐 뒤 사라지는 중)의 onClose 가 떠난
|
|
58
|
+
뒤에 불렸다. Table 은 열 폭을 끄는 중 치우면 window `pointercancel` 리스너가 남아 옛 폭을 저장했다.
|
|
59
|
+
- **단어표 인쇄**: 불러오는 중이던 그림이 빈칸으로 인쇄 · 종이가 내용만큼 커지거나 끝에 빈 쪽(Chromium PDF 로 확인) · 어두운 테마에서
|
|
60
|
+
흰 종이에 흰 글자 · 연달아 누르면 인쇄 대화상자 두 번.
|
|
61
|
+
|
|
62
|
+
### 고치지 않은 것 — 결정·확인이 필요하다
|
|
63
|
+
|
|
64
|
+
- 시간대 없는 시각 글자('2026-09-30T20:00:00')를 날짜 함수들이 기기 지역시각으로 읽음 · Calendar·DatePicker 오늘을 prop 으로 받을지.
|
|
65
|
+
- Alert 가 톤과 무관하게 role="alert" · Table 정렬 aria-sort · Toast 첫 문구 알림 · Button 툴팁 문구 설명 · SegmentedControl count 이름.
|
|
66
|
+
- Popup 이 주는 `animateThen(cb)` 는 치워도 cb 를 부른다(삭제·저장 확정일 수 있어 그대로).
|
|
67
|
+
- printWordTable()(전역 인쇄)의 여러 쪽 표 · 글자 크기를 종이에 옮길지 · CSV 선행 0·BOM 중복.
|
|
68
|
+
- 앞 판에 적은 결정은 그대로.
|
|
69
|
+
|
|
10
70
|
## 0.143.0
|
|
11
71
|
|
|
12
72
|
12차 검수 판이다 — 환경 실패·경계값·여러 벌·언어 전환·prop 계약·큰 자료 성능 검수에서 **재현된** 결함을 고쳤고, **해외 기기의 날짜를
|