@ihabdevteam/core 0.137.0 → 0.138.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 +45 -0
- package/dist/components.cjs.js +175 -175
- package/dist/hooks.cjs.js +1 -1
- package/dist/i18n.cjs.js +1 -1
- package/dist/ihabdevteam-core.cjs.js +182 -182
- package/dist/ihabdevteam-core.d.ts +1 -1
- package/dist/packages/core/src/components/Button.js +10 -1
- package/dist/packages/core/src/components/PassCard/PassCard.js +1 -1
- package/dist/packages/core/src/components/Popup/LoadTablePopup.js +3 -1
- package/dist/packages/core/src/components/Table.js +4 -1
- package/dist/packages/core/src/components/Tooltip/MenuTooltip.js +23 -26
- package/dist/packages/core/src/components/Training/TrainingBlock.js +20 -3
- package/dist/packages/core/src/components/Training/TrainingCardGroup.js +1 -1
- package/dist/packages/core/src/components/Training/TrainingPagePopup.js +20 -5
- package/dist/packages/core/src/components/Training/TrainingStepAudioPlayer.js +33 -3
- package/dist/packages/core/src/components/Training/TrainingStepCard.js +9 -0
- package/dist/packages/core/src/components/Training/TrainingStepConfirm.js +2 -1
- package/dist/packages/core/src/components/Training/TrainingStepConfirmWithText.js +26 -6
- package/dist/packages/core/src/components/Training/TrainingStepTextBox.js +18 -3
- package/dist/packages/core/src/components/Training/TrainingWordCard.js +9 -3
- package/dist/packages/core/src/components/Training/useNoiseFade.js +3 -1
- package/dist/packages/core/src/components/Word/PhonemeSelectBlock.js +3 -1
- package/dist/packages/core/src/components/WordTable.js +6 -2
- package/dist/packages/core/src/hooks/useEditableList.js +13 -5
- package/dist/packages/core/src/hooks/usePasswordChange.js +7 -0
- package/dist/packages/core/src/utils/wordPairIndex.js +11 -3
- package/dist/packages/core/src/version.d.ts +1 -1
- package/dist/packages/core/src/version.js +1 -1
- package/dist/utils.cjs.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,51 @@ All notable changes to this project will be documented in this file.
|
|
|
7
7
|
> 적은 글이라, 지금 이름으로 고쳐 놓으면 그 시절에 그 이름으로 받은 사람이
|
|
8
8
|
> 제 이야기를 못 찾는다.
|
|
9
9
|
|
|
10
|
+
## 0.138.0
|
|
11
|
+
|
|
12
|
+
7차 검수 판이다 — 가로지르는 검수 셋(마운트 뒤 props 변경·비동기 경합·키보드와 낭독기)에서 **재현된** 결함을 고쳤다. 항목마다
|
|
13
|
+
시험을 붙이고 고친 줄을 되돌리면 붉어지는 것을 확인했다. 걷은 prop·타입·열쇠는 없다. 더한 공개 API 도 없다.
|
|
14
|
+
|
|
15
|
+
### 소비자에게 먼저
|
|
16
|
+
|
|
17
|
+
- **useEditableList**(useVisitHistory·useVisitSchedule): 편집 중 들어온 목록을 **편집을 취소하면** 받는다(전에는 끝내 안 받음).
|
|
18
|
+
커밋(`commitEdit`)으로 끝나면 방금 편집을 옛 목록으로 덮지 않는다.
|
|
19
|
+
- **TrainingStepAudioPlayer**: 대기 중이던 재생을 멈춤·정지로 끊으면 다시 시도하지 않는다. 큰 '듣기' 를 초점으로 누르면 초점이
|
|
20
|
+
'재생 / 멈춤' 으로 간다.
|
|
21
|
+
- **Button**: 막혔다 풀릴 때 키보드로 잡은 초점은 놓지 않는다(마우스로 잡힌 초점만 푼다).
|
|
22
|
+
- **MenuTooltip**: 하위 메뉴의 목록을 매 렌더 지금의 `columns` 에서 꺼낸다 — 부모가 바꾼 선택 표시가 하위 메뉴에도 보인다.
|
|
23
|
+
|
|
24
|
+
### 바뀜 — 훈련
|
|
25
|
+
|
|
26
|
+
- **TrainingStepAudioPlayer**: 버퍼링 중 멈춤·정지하면 AbortError 재시도로 **정지했는데 소리가 다시 났다**. 트랙 이동이 파형을
|
|
27
|
+
기다리는 중 정지·✓ 를 눌러도 기다림 뒤 재생했다. 늦게 resume 되면 떠난 플레이어의 미터를 다시 등록했다(useNoiseFade 도).
|
|
28
|
+
- **TrainingWordCard**: 합성 폴백 주소를 기다리는 사이 다른 카드를 누르면 늦게 온 주소로 두 소리가 겹쳤고, 같은 카드를 두 번
|
|
29
|
+
누르면 두 번 울렸다. 같은 낱말에 발음이 새로 오거나 동음이의어 번호가 바뀌어도 앞면이 앞 값이었다.
|
|
30
|
+
- **TrainingPagePopup**: 결과 계산이 비동기일 때 다시하기 뒤 늦게 온 결과가 새 판에 결과 창을 띄우거나 2회차 결과를 덮었다.
|
|
31
|
+
- **TrainingStepConfirmWithText·TrainingStepConfirm·TrainingStepCard**: 보기만 바뀐 문항·같은 문장의 다음 쪽·같은 카드 묶음의 다음 쪽
|
|
32
|
+
에서 앞 선택이 남았다. `demoSelected` 변경을 안 따랐다.
|
|
33
|
+
- **TrainingStepTextBox·TrainingBlock**: '문장 미리보기'·마지막 '더보기' 를 누르면 초점이 body 로 떨어졌다.
|
|
34
|
+
- **TrainingCardGroup**: 접기 단추에 `aria-expanded`.
|
|
35
|
+
|
|
36
|
+
### 바뀜 — 그 밖
|
|
37
|
+
|
|
38
|
+
- **WordTable 칸**: 같은 칸의 낱말이 바뀐 뒤 새 소리 주소를 받는 동안 누르면 앞 낱말 소리가 났다.
|
|
39
|
+
- **usePasswordChange**: 처리 중 다시 누르면 변경이 두 번 나가 성공 뒤 늦은 오류 문구가 남았다.
|
|
40
|
+
- **buildPairIndex**: 빌드 중 `clearPairIndexCache()` 뒤 늦게 끝난 옛 빌드가 캐시를 되살리거나 새 인덱스를 덮었다.
|
|
41
|
+
- **LoadTablePopup**: 고른 표가 목록에서 빠져도 '불러오기' 가 켜진 채였다.
|
|
42
|
+
- **Table 접기 머리**: `headerActions` 안 단추에서 Enter/Space 를 누르면 표가 접혔다.
|
|
43
|
+
- **PassCard**: 메뉴를 여는 카드에 `aria-haspopup`·`aria-expanded`. **PhonemeSelectBlock**: 좁은 화면 '유의사항' 단추에 이름.
|
|
44
|
+
|
|
45
|
+
### 고치지 않은 것 — 결정·확인이 필요하다
|
|
46
|
+
|
|
47
|
+
- 훈련 창 안 '훈련 설정'·'문장 미리보기' 떠 있는 창이 판 밖이라 키보드·낭독기로 닿지 못한다 — 판 안에 그릴지, 초점을 넣고 가둠
|
|
48
|
+
예외를 둘지.
|
|
49
|
+
- 초점 중인 단추가 막히는 자리(Pagination 끝 쪽·순서 목록 위로·BarChart 넘김·선택 초기화·글자 크기 끝값), BulkBar 가 비며 inert,
|
|
50
|
+
Alert·NoticeBox·UpdateAlert 닫기 뒤 초점 자리, 여닫이 단추의 `aria-pressed` → `aria-expanded`.
|
|
51
|
+
- 결과 계산 중 완료를 누르면 total null 완료 기록 / 소음 설정 저장 순서 / '모두 듣기' 중 사용자가 카드를 누를 때.
|
|
52
|
+
- ReportDocument 는 블록 구성이 같으면 content 가 바뀌어도 쪽을 다시 안 잰다(문서화된 동작).
|
|
53
|
+
- 앞 판에 적은 결정은 그대로.
|
|
54
|
+
|
|
10
55
|
## 0.137.0
|
|
11
56
|
|
|
12
57
|
6차 검수 판이다 — 이번에는 가로지르는 검수 넷(서버 렌더 안전·StrictMode 부작용·언마운트 뒤 남는 것·영어 화면의 한국어)과
|