@ehfuse/taskbox 0.5.226 → 0.5.228

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.
@@ -0,0 +1,20 @@
1
+ /**
2
+ * 인원별 부하(워크로드) 차트다 — 누가 얼마나 안고 있는지를 가로 막대로 보여준다(recharts).
3
+ *
4
+ * 세로 막대가 아니라 **가로 막대**를 쓴다: 축이 사람 이름이라 인원이 늘면 세로 축에서만 이름이 온전히 읽힌다.
5
+ * 막대는 급한 순서(지연 → 임박 → 여유)로 쌓아, 총량이 같아도 사정이 다른 사람을 구분해 보이게 한다.
6
+ * 팀 평균선을 함께 그어 "많다/적다"를 절대값이 아니라 팀 안에서의 위치로 읽게 한다.
7
+ */
8
+ import type { ReactNode } from "react";
9
+ import type { TaskBoxItem } from "../types";
10
+ /** 워크로드 차트 props 다. */
11
+ export interface WorkloadChartProps {
12
+ tasks: TaskBoxItem[];
13
+ todayStr: string;
14
+ soonDays?: number;
15
+ overloadThreshold?: number;
16
+ height?: number | string;
17
+ headerLeft?: ReactNode;
18
+ }
19
+ /** 인원별 부하 차트 컴포넌트다. */
20
+ export declare function WorkloadChart({ tasks, todayStr, soonDays, overloadThreshold, height, headerLeft, }: WorkloadChartProps): import("react").JSX.Element;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * 단축키 도움말 다이얼로그다 — `?` 로 열고 Esc 로 닫는다.
3
+ * 목록이 짧아 검색·분류 없이 한 화면에 다 보여준다(키 배지 + 설명 2열).
4
+ */
5
+ /** 단축키 도움말 다이얼로그 props 다. */
6
+ export interface ShortcutHelpDialogProps {
7
+ open: boolean;
8
+ onClose: () => void;
9
+ }
10
+ /** 단축키 도움말 다이얼로그 컴포넌트다. */
11
+ export declare function ShortcutHelpDialog({ open, onClose }: ShortcutHelpDialogProps): import("react").JSX.Element;
package/dist/index.d.ts CHANGED
@@ -95,4 +95,8 @@ export * from "./utils/taskFlowMetrics";
95
95
  export * from "./utils/taskShareText";
96
96
  export * from "./utils/attachmentLimit";
97
97
  export * from "./utils/drawerNarrow";
98
+ export * from "./charts/WorkloadChart";
99
+ export * from "./internal/useTaskboxShortcuts";
100
+ export * from "./dialogs/ShortcutHelpDialog";
101
+ export * from "./utils/taskWorkload";
98
102
  export * from "./print";