@ehfuse/taskbox 0.5.333 → 0.5.335
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/board/TaskCardContent.d.ts +8 -1
- package/dist/index.esm.js +29 -29
- package/dist/index.esm.js.map +3 -3
- package/dist/index.js +29 -29
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
|
@@ -1202,6 +1202,13 @@ export interface TaskCardContentProps {
|
|
|
1202
1202
|
onRequestReply?: (task: TaskBoxItem) => void;
|
|
1203
1203
|
onDueDateClick?: (task: TaskBoxItem, anchorEl: HTMLElement) => void;
|
|
1204
1204
|
titleFontSize?: number;
|
|
1205
|
+
/**
|
|
1206
|
+
* 드래그 핸들에 붙일 dnd-kit attributes/listeners. 주면 제목 앞에 ⋮⋮ 핸들을 그리고 그 핸들로만 끈다
|
|
1207
|
+
* (카드 전체 드래그는 OverlayScrollbar 드래그 스크롤과 충돌한다). 핸들은 `TASK_CARD_DRAG_HANDLE_CLASS` 를 단다.
|
|
1208
|
+
*/
|
|
1209
|
+
dragHandleProps?: Record<string, unknown>;
|
|
1205
1210
|
}
|
|
1211
|
+
/** 카드 드래그 핸들 마커 클래스 — 스크롤러의 `dragScroll.excludeClasses` 에 넣어 드래그 스크롤에서 뺀다. */
|
|
1212
|
+
export declare const TASK_CARD_DRAG_HANDLE_CLASS = "taskbox-card-drag-handle";
|
|
1206
1213
|
/** 할일 카드 본문 컴포넌트다. */
|
|
1207
|
-
export declare function TaskCardContent({ task, statusOptions, showDueDate, onRequestArchiveToggle, onRequestReply, onDueDateClick, titleFontSize, }: TaskCardContentProps): import("react").JSX.Element;
|
|
1214
|
+
export declare function TaskCardContent({ task, statusOptions, showDueDate, onRequestArchiveToggle, onRequestReply, onDueDateClick, titleFontSize, dragHandleProps, }: TaskCardContentProps): import("react").JSX.Element;
|