@ihabdevteam/core 0.449.0 → 0.450.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 +16 -0
- package/dist/components.cjs.js +183 -183
- package/dist/components.esm.css +2 -2
- package/dist/hooks.cjs.js +2 -2
- package/dist/i18n.cjs.js +3 -3
- package/dist/ihabdevteam-core.cjs.js +188 -188
- package/dist/ihabdevteam-core.d.ts +26 -6
- package/dist/packages/core/src/components/CardSection.css +4 -1
- package/dist/packages/core/src/components/FolderGrid.d.ts +20 -2
- package/dist/packages/core/src/components/FolderGrid.js +18 -5
- package/dist/packages/core/src/components/FolderHead.js +9 -2
- package/dist/packages/core/src/components/FolderList.css +5 -2
- package/dist/packages/core/src/components/Training/TrainingCard.css +7 -5
- package/dist/packages/core/src/components/Training/TrainingCard.d.ts +4 -3
- package/dist/packages/core/src/components.d.ts +1 -1
- package/dist/packages/core/src/i18n/locales/en.json +2 -0
- package/dist/packages/core/src/i18n/locales/ko.json +2 -0
- package/dist/packages/core/src/version.d.ts +1 -1
- package/dist/packages/core/src/version.js +1 -1
- package/dist/utils.cjs.js +17 -17
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,22 @@ All notable changes to this project will be documented in this file.
|
|
|
7
7
|
> 적은 글이라, 지금 이름으로 고쳐 놓으면 그 시절에 그 이름으로 받은 사람이
|
|
8
8
|
> 제 이야기를 못 찾는다.
|
|
9
9
|
|
|
10
|
+
## 0.450.0 — **깨지는 변경: `TrainingCard` 의 `category` 가 필수** · 카드 줄 가운데 · 갈래 · 제목 사이 2px · 폴더 안 「위로」 칸(말귀 청 (443) ㉤ ~ ㉨)
|
|
11
|
+
|
|
12
|
+
사장님 지시(2026-11-16).
|
|
13
|
+
|
|
14
|
+
- ㉤ **`TrainingCard` 의 `category` 가 필수 prop** — *"필수로 요청하도록"*. 선택이던 때 빠뜨린 자리('숙제 보내기' 창)가 빈 줄로 조용히 섰다.
|
|
15
|
+
- **고쳐야 하는 것: `<TrainingCard` 마다 `category` 를 준다.** 갈래가 정말 없는 카드는 `category={null}` 로 적는다(빈 한 줄 자리는 전처럼 선다).
|
|
16
|
+
판을 올리면 빠뜨린 자리가 tsc 에서 `TS2741 Property 'category' is missing` 으로 걸린다. 그리는 모양은 그대로다.
|
|
17
|
+
- ㉥ **카드 줄이 가운데** — `.folder-list` · `.card-section__list` 에 `justify-content: center`. 카드 폭이 344 로 못 박혀 남는 폭이 오른쪽에 몰렸다
|
|
18
|
+
(*"가운데 정렬 되도록, 다른 트레이닝카드 쓰는 곳 확인"*). 마지막 줄의 덜 찬 카드도 가운데에 선다. `CardSection spread` 는 그대로 양 끝 맞춤.
|
|
19
|
+
- ㉦ **갈래 이름 · 제목 사이 6 → 2px**(*"간격이 약간 넓은 것 같아 조정"*). 제목 · 설명 사이 6 은 그대로. 머리 격자 `row-gap` 을 0 으로 두고 줄마다 준다.
|
|
20
|
+
- ㉨ **`FolderHead` — 폴더 안에서는 맨 앞에 「위로」 칸**(폴더 칸과 같은 200 × 48, 아이콘 `arrow-up`). 하위 폴더가 있든 없든 늘 서서(맨 위에서는 안 섬)
|
|
21
|
+
㉧(빈 폴더에 들어가면 칸 줄이 사라져 아래가 올라붙던 것)도 풀린다. 누르면 `onOpen(folderParent(opened))`. 카드를 놓으면 위 폴더의 열쇠
|
|
22
|
+
(맨 위면 `rootDropKey`)로 `dropProps` 가, 폴더 칸을 놓으면 `onMoveFolder(path, 위)` 가 불린다. `FolderGrid` 의 새 prop `up`(타입 `FolderUpEntry`).
|
|
23
|
+
사전 `folder.up` · `folder.upTo`.
|
|
24
|
+
- ㉢(`spread` 격자)는 말귀가 거뒀다 — 기본이 아니라 prop 은 남긴다.
|
|
25
|
+
|
|
10
26
|
## 0.449.0 — 넓게 쓰는 고르는 창: `Popup size="fullwidth"` · 훈련 카드 폭 344 고정 · `CardSection spread` · 타일 세로 가운데(말귀 청 (443))
|
|
11
27
|
|
|
12
28
|
사장님 지시(2026-11-16, 말귀 '숙제 보내기' 창을 보며).
|