@ehfuse/taskbox 0.5.115 → 0.5.117
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/drawers/TaskDetailBody.d.ts +2 -1
- package/dist/index.esm.js +7 -7
- package/dist/index.esm.js.map +4 -4
- package/dist/index.js +7 -7
- package/dist/index.js.map +4 -4
- package/dist/internal/editorHeightStore.d.ts +2 -0
- package/dist/sections/TaskContentEditor.d.ts +3 -2
- package/dist/types/item.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
* 내용 에디터 높이 기억 저장소다(기기 로컬).
|
|
3
3
|
* 리사이즈 핸들로 늘린 높이는 업무 데이터가 아니라 보는 사람의 화면 취향이라
|
|
4
4
|
* 서버에 저장(=수정 알림 발생)하지 않고 이 기기에만 남긴다.
|
|
5
|
+
* 높이는 업무 단위로 기억하므로(업무마다 내용 분량이 다르다) 키가 계속 늘어난다 —
|
|
6
|
+
* 오래 안 쓴 항목을 스스로 정리해 localStorage 가 무한정 커지지 않게 한다.
|
|
5
7
|
*/
|
|
6
8
|
/** 저장된 에디터 높이를 읽는다(없거나 범위를 벗어나면 null). */
|
|
7
9
|
export declare function loadEditorHeight(scope: string): number | null;
|
|
@@ -12,7 +12,8 @@ export interface TaskContentEditorProps {
|
|
|
12
12
|
onChange: (html: string) => void;
|
|
13
13
|
readOnly?: boolean;
|
|
14
14
|
minHeight?: number;
|
|
15
|
-
|
|
15
|
+
height?: number;
|
|
16
|
+
onChangeHeight?: (height: number) => void;
|
|
16
17
|
}
|
|
17
18
|
/** 내용 편집 에디터 컴포넌트다. */
|
|
18
|
-
export declare function TaskContentEditor({ syncKey, value, onChange, readOnly, minHeight,
|
|
19
|
+
export declare function TaskContentEditor({ syncKey, value, onChange, readOnly, minHeight, height, onChangeHeight, }: TaskContentEditorProps): import("react").JSX.Element;
|
package/dist/types/item.d.ts
CHANGED
package/package.json
CHANGED