@ehfuse/taskbox 0.5.228 → 0.5.229
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/dist/index.esm.js +26 -26
- package/dist/index.esm.js.map +4 -4
- package/dist/index.js +26 -26
- package/dist/index.js.map +4 -4
- package/dist/internal/useTaskboxShortcuts.d.ts +8 -7
- package/package.json +2 -1
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 업무함 키보드 단축키 훅이다 — 목록 화면에서 손을 마우스로 옮기지 않고 자주 쓰는 동작을 부른다.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* 2) **수식키 조합은 건드리지 않는다** — Ctrl/Cmd/Alt 조합은 브라우저·OS 몫이다.
|
|
8
|
-
* 3) **두 벌 키(g 다음 키)** 는 1.2초 안에 이어 눌러야 한다 — 잘못 눌렀을 때 다음 타자가 오작동하지 않게.
|
|
4
|
+
* 키 등록·해제와 "입력 중에는 안 먹게" 같은 공통 처리는 @ehfuse/keyboard-state 가 맡는다
|
|
5
|
+
* (allowInEditable 기본 false — 제목·비고·에디터·검색칸에 글을 쓰는 중이면 단축키가 아예 안 걸린다.
|
|
6
|
+
* 업무함은 인라인 편집이 많아 이 가드가 없으면 "n" 조차 못 친다).
|
|
9
7
|
*
|
|
10
|
-
*
|
|
8
|
+
* 보기 전환은 Vim 스타일 두 벌 키(g 다음 키)를 쓴다 — keyboard-state 가 "g l" 처럼 공백으로 이은
|
|
9
|
+
* 시퀀스를 직접 지원한다. 숫자 키를 쓰면 목록에서 자주 치는 다른 조작과 부딪히기 쉽다.
|
|
10
|
+
*
|
|
11
|
+
* 소비처가 넘긴 핸들러만 등록된다(안 넘긴 키는 아무 일도 하지 않는다).
|
|
11
12
|
*/
|
|
12
|
-
/** 보기 전환
|
|
13
|
+
/** 보기 전환 대상이다. */
|
|
13
14
|
export type TaskboxShortcutView = "list" | "board" | "kanban" | "calendar" | "month" | "timeline";
|
|
14
15
|
/** 단축키 핸들러 묶음이다 — 넘긴 것만 동작한다. */
|
|
15
16
|
export interface TaskboxShortcutHandlers {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ehfuse/taskbox",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.229",
|
|
4
4
|
"description": "A React/MUI task inbox component with notices, per-user assignments, read tracking, and mobile card UI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
"@ehfuse/alerts": ">=1.1.4",
|
|
61
61
|
"@ehfuse/editor": ">=1.1.11",
|
|
62
62
|
"@ehfuse/forma": ">=3.4.0",
|
|
63
|
+
"@ehfuse/keyboard-state": ">=1.1.0",
|
|
63
64
|
"@ehfuse/mui-color-picker": ">=1.5.0",
|
|
64
65
|
"@ehfuse/mui-datetime-picker": ">=1.0.20",
|
|
65
66
|
"@ehfuse/mui-form-controls": ">=3.1.0",
|