@devalok/shilp-sutra-karm 0.18.1 → 0.20.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/dist/_chunks/render-adjustment-type.js +50 -48
- package/dist/_chunks/sidebar-scratchpad.js +714 -326
- package/dist/_chunks/task-detail-panel.js +1638 -1175
- package/dist/_chunks/vendor.js +1154 -1123
- package/dist/dashboard/index.d.ts +20 -0
- package/dist/dashboard/index.d.ts.map +1 -1
- package/dist/dashboard/index.js +451 -5
- package/dist/dashboard/project-health-card.d.ts +22 -0
- package/dist/dashboard/project-health-card.d.ts.map +1 -0
- package/dist/dashboard/scratchpad/index.d.ts +13 -0
- package/dist/dashboard/scratchpad/index.d.ts.map +1 -0
- package/dist/dashboard/scratchpad/scratchpad-add-input.d.ts +11 -0
- package/dist/dashboard/scratchpad/scratchpad-add-input.d.ts.map +1 -0
- package/dist/dashboard/scratchpad/scratchpad-collapse.d.ts +15 -0
- package/dist/dashboard/scratchpad/scratchpad-collapse.d.ts.map +1 -0
- package/dist/dashboard/scratchpad/scratchpad-context.d.ts +44 -0
- package/dist/dashboard/scratchpad/scratchpad-context.d.ts.map +1 -0
- package/dist/dashboard/scratchpad/scratchpad-empty-state.d.ts +13 -0
- package/dist/dashboard/scratchpad/scratchpad-empty-state.d.ts.map +1 -0
- package/dist/dashboard/scratchpad/scratchpad-filter-toggle.d.ts +7 -0
- package/dist/dashboard/scratchpad/scratchpad-filter-toggle.d.ts.map +1 -0
- package/dist/dashboard/scratchpad/scratchpad-header.d.ts +9 -0
- package/dist/dashboard/scratchpad/scratchpad-header.d.ts.map +1 -0
- package/dist/dashboard/scratchpad/scratchpad-item.d.ts +13 -0
- package/dist/dashboard/scratchpad/scratchpad-item.d.ts.map +1 -0
- package/dist/dashboard/scratchpad/scratchpad-list.d.ts +9 -0
- package/dist/dashboard/scratchpad/scratchpad-list.d.ts.map +1 -0
- package/dist/dashboard/scratchpad/scratchpad-progress-ring.d.ts +11 -0
- package/dist/dashboard/scratchpad/scratchpad-progress-ring.d.ts.map +1 -0
- package/dist/dashboard/scratchpad/scratchpad-root.d.ts +8 -0
- package/dist/dashboard/scratchpad/scratchpad-root.d.ts.map +1 -0
- package/dist/dashboard/scratchpad/scratchpad.d.ts +29 -0
- package/dist/dashboard/scratchpad/scratchpad.d.ts.map +1 -0
- package/dist/dashboard/scratchpad-widget.d.ts +5 -5
- package/dist/dashboard/scratchpad-widget.d.ts.map +1 -1
- package/dist/dashboard/sidebar-scratchpad.d.ts +8 -1
- package/dist/dashboard/sidebar-scratchpad.d.ts.map +1 -1
- package/dist/dashboard/week-heatmap/index.d.ts +10 -0
- package/dist/dashboard/week-heatmap/index.d.ts.map +1 -0
- package/dist/dashboard/week-heatmap/week-heatmap-context.d.ts +31 -0
- package/dist/dashboard/week-heatmap/week-heatmap-context.d.ts.map +1 -0
- package/dist/dashboard/week-heatmap/week-heatmap-day-strip.d.ts +7 -0
- package/dist/dashboard/week-heatmap/week-heatmap-day-strip.d.ts.map +1 -0
- package/dist/dashboard/week-heatmap/week-heatmap-day.d.ts +15 -0
- package/dist/dashboard/week-heatmap/week-heatmap-day.d.ts.map +1 -0
- package/dist/dashboard/week-heatmap/week-heatmap-progress-bar.d.ts +7 -0
- package/dist/dashboard/week-heatmap/week-heatmap-progress-bar.d.ts.map +1 -0
- package/dist/dashboard/week-heatmap/week-heatmap-root.d.ts +8 -0
- package/dist/dashboard/week-heatmap/week-heatmap-root.d.ts.map +1 -0
- package/dist/dashboard/week-heatmap/week-heatmap-streak.d.ts +7 -0
- package/dist/dashboard/week-heatmap/week-heatmap-streak.d.ts.map +1 -0
- package/dist/dashboard/week-heatmap/week-heatmap-summary.d.ts +7 -0
- package/dist/dashboard/week-heatmap/week-heatmap-summary.d.ts.map +1 -0
- package/dist/dashboard/week-heatmap/week-heatmap.d.ts +33 -0
- package/dist/dashboard/week-heatmap/week-heatmap.d.ts.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +57 -56
- package/dist/tasks/activity-tab.d.ts +2 -11
- package/dist/tasks/activity-tab.d.ts.map +1 -1
- package/dist/tasks/conversation-tab.d.ts +2 -21
- package/dist/tasks/conversation-tab.d.ts.map +1 -1
- package/dist/tasks/files-tab.d.ts +2 -18
- package/dist/tasks/files-tab.d.ts.map +1 -1
- package/dist/tasks/index.d.ts +13 -6
- package/dist/tasks/index.d.ts.map +1 -1
- package/dist/tasks/index.js +766 -8
- package/dist/tasks/pickers/index.d.ts +16 -0
- package/dist/tasks/pickers/index.d.ts.map +1 -0
- package/dist/tasks/pickers/task-assignee-picker.d.ts +14 -0
- package/dist/tasks/pickers/task-assignee-picker.d.ts.map +1 -0
- package/dist/tasks/pickers/task-column-picker.d.ts +13 -0
- package/dist/tasks/pickers/task-column-picker.d.ts.map +1 -0
- package/dist/tasks/pickers/task-date-picker.d.ts +12 -0
- package/dist/tasks/pickers/task-date-picker.d.ts.map +1 -0
- package/dist/tasks/pickers/task-label-editor.d.ts +13 -0
- package/dist/tasks/pickers/task-label-editor.d.ts.map +1 -0
- package/dist/tasks/pickers/task-member-picker.d.ts +14 -0
- package/dist/tasks/pickers/task-member-picker.d.ts.map +1 -0
- package/dist/tasks/pickers/task-priority-picker.d.ts +12 -0
- package/dist/tasks/pickers/task-priority-picker.d.ts.map +1 -0
- package/dist/tasks/pickers/task-visibility-picker.d.ts +13 -0
- package/dist/tasks/pickers/task-visibility-picker.d.ts.map +1 -0
- package/dist/tasks/review-tab.d.ts +4 -20
- package/dist/tasks/review-tab.d.ts.map +1 -1
- package/dist/tasks/subtasks-tab.d.ts +2 -18
- package/dist/tasks/subtasks-tab.d.ts.map +1 -1
- package/dist/tasks/tabs/activity-entry.d.ts +9 -0
- package/dist/tasks/tabs/activity-entry.d.ts.map +1 -0
- package/dist/tasks/tabs/activity-timeline.d.ts +8 -0
- package/dist/tasks/tabs/activity-timeline.d.ts.map +1 -0
- package/dist/tasks/tabs/file-drop-zone.d.ts +10 -0
- package/dist/tasks/tabs/file-drop-zone.d.ts.map +1 -0
- package/dist/tasks/tabs/file-item.d.ts +11 -0
- package/dist/tasks/tabs/file-item.d.ts.map +1 -0
- package/dist/tasks/tabs/file-list.d.ts +8 -0
- package/dist/tasks/tabs/file-list.d.ts.map +1 -0
- package/dist/tasks/tabs/index.d.ts +34 -0
- package/dist/tasks/tabs/index.d.ts.map +1 -0
- package/dist/tasks/tabs/message-bubble.d.ts +14 -0
- package/dist/tasks/tabs/message-bubble.d.ts.map +1 -0
- package/dist/tasks/tabs/message-input.d.ts +16 -0
- package/dist/tasks/tabs/message-input.d.ts.map +1 -0
- package/dist/tasks/tabs/message-list.d.ts +9 -0
- package/dist/tasks/tabs/message-list.d.ts.map +1 -0
- package/dist/tasks/tabs/review-card.d.ts +10 -0
- package/dist/tasks/tabs/review-card.d.ts.map +1 -0
- package/dist/tasks/tabs/review-request-button.d.ts +10 -0
- package/dist/tasks/tabs/review-request-button.d.ts.map +1 -0
- package/dist/tasks/tabs/review-response-form.d.ts +11 -0
- package/dist/tasks/tabs/review-response-form.d.ts.map +1 -0
- package/dist/tasks/tabs/subtask-add-form.d.ts +9 -0
- package/dist/tasks/tabs/subtask-add-form.d.ts.map +1 -0
- package/dist/tasks/tabs/subtask-item.d.ts +12 -0
- package/dist/tasks/tabs/subtask-item.d.ts.map +1 -0
- package/dist/tasks/tabs/subtask-list.d.ts +8 -0
- package/dist/tasks/tabs/subtask-list.d.ts.map +1 -0
- package/dist/tasks/tabs/subtask-progress.d.ts +9 -0
- package/dist/tasks/tabs/subtask-progress.d.ts.map +1 -0
- package/dist/tasks/tabs/visibility-warning.d.ts +7 -0
- package/dist/tasks/tabs/visibility-warning.d.ts.map +1 -0
- package/dist/tasks/task-action-row/index.d.ts +3 -0
- package/dist/tasks/task-action-row/index.d.ts.map +1 -0
- package/dist/tasks/task-action-row/task-action-row-checkbox.d.ts +8 -0
- package/dist/tasks/task-action-row/task-action-row-checkbox.d.ts.map +1 -0
- package/dist/tasks/task-action-row/task-action-row-context.d.ts +21 -0
- package/dist/tasks/task-action-row/task-action-row-context.d.ts.map +1 -0
- package/dist/tasks/task-action-row/task-action-row-due-date.d.ts +5 -0
- package/dist/tasks/task-action-row/task-action-row-due-date.d.ts.map +1 -0
- package/dist/tasks/task-action-row/task-action-row-labels.d.ts +8 -0
- package/dist/tasks/task-action-row/task-action-row-labels.d.ts.map +1 -0
- package/dist/tasks/task-action-row/task-action-row-navigate.d.ts +9 -0
- package/dist/tasks/task-action-row/task-action-row-navigate.d.ts.map +1 -0
- package/dist/tasks/task-action-row/task-action-row-priority.d.ts +5 -0
- package/dist/tasks/task-action-row/task-action-row-priority.d.ts.map +1 -0
- package/dist/tasks/task-action-row/task-action-row-project-badge.d.ts +8 -0
- package/dist/tasks/task-action-row/task-action-row-project-badge.d.ts.map +1 -0
- package/dist/tasks/task-action-row/task-action-row-root.d.ts +14 -0
- package/dist/tasks/task-action-row/task-action-row-root.d.ts.map +1 -0
- package/dist/tasks/task-action-row/task-action-row-status-badge.d.ts +5 -0
- package/dist/tasks/task-action-row/task-action-row-status-badge.d.ts.map +1 -0
- package/dist/tasks/task-action-row/task-action-row-title.d.ts +9 -0
- package/dist/tasks/task-action-row/task-action-row-title.d.ts.map +1 -0
- package/dist/tasks/task-action-row/task-action-row.d.ts +48 -0
- package/dist/tasks/task-action-row/task-action-row.d.ts.map +1 -0
- package/dist/tasks/task-detail-panel.d.ts.map +1 -1
- package/dist/tasks/task-panel.d.ts +104 -0
- package/dist/tasks/task-panel.d.ts.map +1 -0
- package/dist/tasks/task-properties.d.ts +2 -12
- package/dist/tasks/task-properties.d.ts.map +1 -1
- package/dist/tasks/task-types.d.ts +104 -0
- package/dist/tasks/task-types.d.ts.map +1 -0
- package/docs/components/admin/admin-dashboard.md +6 -6
- package/docs/components/admin/admin-utils.md +2 -2
- package/docs/components/admin/break-admin.md +14 -14
- package/docs/components/board/board-provider.md +16 -0
- package/docs/components/board/column-empty.md +1 -1
- package/docs/components/board/task-card.md +4 -0
- package/docs/components/chat/streaming-text.md +1 -1
- package/docs/components/client/client-portal-header.md +2 -2
- package/docs/components/dashboard/attendance-cta.md +3 -3
- package/docs/components/dashboard/daily-brief.md +1 -1
- package/docs/components/dashboard/project-health-card.md +90 -0
- package/docs/components/dashboard/scratchpad-widget.md +17 -0
- package/docs/components/dashboard/scratchpad.md +151 -0
- package/docs/components/dashboard/sidebar-scratchpad.md +29 -5
- package/docs/components/dashboard/week-heatmap.md +95 -0
- package/docs/components/tasks/activity-tab.md +4 -0
- package/docs/components/tasks/conversation-tab.md +4 -0
- package/docs/components/tasks/files-tab.md +4 -0
- package/docs/components/tasks/review-tab.md +5 -1
- package/docs/components/tasks/subtasks-tab.md +5 -0
- package/docs/components/tasks/task-action-row.md +159 -0
- package/docs/components/tasks/task-assignee-picker.md +36 -0
- package/docs/components/tasks/task-column-picker.md +37 -0
- package/docs/components/tasks/task-date-picker.md +49 -0
- package/docs/components/tasks/task-detail-panel.md +256 -84
- package/docs/components/tasks/task-label-editor.md +42 -0
- package/docs/components/tasks/task-member-picker.md +35 -0
- package/docs/components/tasks/task-panel.md +89 -0
- package/docs/components/tasks/task-priority-picker.md +37 -0
- package/docs/components/tasks/task-properties.md +5 -0
- package/docs/components/tasks/task-visibility-picker.md +38 -0
- package/llms.txt +40 -13
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface ScratchpadHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/** Title text displayed in the header */
|
|
5
|
+
title?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const ScratchpadHeader: React.ForwardRefExoticComponent<ScratchpadHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export { ScratchpadHeader };
|
|
9
|
+
//# sourceMappingURL=scratchpad-header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scratchpad-header.d.ts","sourceRoot":"","sources":["../../../src/dashboard/scratchpad/scratchpad-header.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,MAAM,WAAW,qBAAsB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACjF,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAMD,QAAA,MAAM,gBAAgB,8FAarB,CAAA;AAID,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { ScratchpadItem as ScratchpadItemType } from './scratchpad-context';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface ScratchpadItemProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'id'> {
|
|
5
|
+
item: ScratchpadItemType;
|
|
6
|
+
/** Compact layout for sidebar use */
|
|
7
|
+
compact?: boolean;
|
|
8
|
+
/** Whether drag-and-drop is active for this item */
|
|
9
|
+
sortable?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const ScratchpadItem: React.ForwardRefExoticComponent<ScratchpadItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export { ScratchpadItem };
|
|
13
|
+
//# sourceMappingURL=scratchpad-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scratchpad-item.d.ts","sourceRoot":"","sources":["../../../src/dashboard/scratchpad/scratchpad-item.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAW9B,OAAO,KAAK,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAMhF,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,IAAI,CAAC;IAC3F,IAAI,EAAE,kBAAkB,CAAA;IACxB,qCAAqC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,oDAAoD;IACpD,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAMD,QAAA,MAAM,cAAc,4FAkKnB,CAAA;AAID,OAAO,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface ScratchpadListProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/** Compact layout passed to each item */
|
|
5
|
+
compact?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const ScratchpadList: React.ForwardRefExoticComponent<ScratchpadListProps & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export { ScratchpadList };
|
|
9
|
+
//# sourceMappingURL=scratchpad-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scratchpad-list.d.ts","sourceRoot":"","sources":["../../../src/dashboard/scratchpad/scratchpad-list.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAc9B,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC/E,yCAAyC;IACzC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAMD,QAAA,MAAM,cAAc,4FAiEnB,CAAA;AAID,OAAO,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface ScratchpadProgressRingProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/** Ring diameter — sm: 16px, md: 20px */
|
|
5
|
+
size?: 'sm' | 'md';
|
|
6
|
+
/** Whether to show the count label (e.g., "3/5") inside the ring. Default: true */
|
|
7
|
+
showCount?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const ScratchpadProgressRing: React.ForwardRefExoticComponent<ScratchpadProgressRingProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export { ScratchpadProgressRing };
|
|
11
|
+
//# sourceMappingURL=scratchpad-progress-ring.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scratchpad-progress-ring.d.ts","sourceRoot":"","sources":["../../../src/dashboard/scratchpad/scratchpad-progress-ring.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAU9B,MAAM,WAAW,2BAA4B,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACvF,yCAAyC;IACzC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAClB,mFAAmF;IACnF,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAeD,QAAA,MAAM,sBAAsB,oGA8D3B,CAAA;AAID,OAAO,EAAE,sBAAsB,EAAE,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { ScratchpadProviderProps } from './scratchpad-context';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface ScratchpadRootProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onToggle'>, Omit<ScratchpadProviderProps, 'children'> {
|
|
5
|
+
}
|
|
6
|
+
declare const ScratchpadRoot: React.ForwardRefExoticComponent<ScratchpadRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export { ScratchpadRoot };
|
|
8
|
+
//# sourceMappingURL=scratchpad-root.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scratchpad-root.d.ts","sourceRoot":"","sources":["../../../src/dashboard/scratchpad/scratchpad-root.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAMnE,MAAM,WAAW,mBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,EAC5D,IAAI,CAAC,uBAAuB,EAAE,UAAU,CAAC;CAAG;AAMhD,QAAA,MAAM,cAAc,4FAoCnB,CAAA;AAID,OAAO,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
/**
|
|
3
|
+
* Compound component for building scratchpad UIs.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```tsx
|
|
7
|
+
* <Scratchpad.Root items={items} onToggle={toggle} onAdd={add} onDelete={del}>
|
|
8
|
+
* <Scratchpad.Header title="My Scratchpad">
|
|
9
|
+
* <Scratchpad.ProgressRing />
|
|
10
|
+
* </Scratchpad.Header>
|
|
11
|
+
* <Scratchpad.EmptyState />
|
|
12
|
+
* <Scratchpad.List />
|
|
13
|
+
* <Scratchpad.AddInput />
|
|
14
|
+
* </Scratchpad.Root>
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
declare const Scratchpad: {
|
|
18
|
+
Root: import('react').ForwardRefExoticComponent<import('./scratchpad-root').ScratchpadRootProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
19
|
+
Header: import('react').ForwardRefExoticComponent<import('./scratchpad-header').ScratchpadHeaderProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
20
|
+
List: import('react').ForwardRefExoticComponent<import('./scratchpad-list').ScratchpadListProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
21
|
+
Item: import('react').ForwardRefExoticComponent<import('./scratchpad-item').ScratchpadItemProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
22
|
+
AddInput: import('react').ForwardRefExoticComponent<import('./scratchpad-add-input').ScratchpadAddInputProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
23
|
+
EmptyState: import('react').ForwardRefExoticComponent<import('./scratchpad-empty-state').ScratchpadEmptyStateProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
24
|
+
ProgressRing: import('react').ForwardRefExoticComponent<import('./scratchpad-progress-ring').ScratchpadProgressRingProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
25
|
+
FilterToggle: import('react').ForwardRefExoticComponent<import('./scratchpad-filter-toggle').ScratchpadFilterToggleProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
26
|
+
Collapse: import('react').ForwardRefExoticComponent<import('./scratchpad-collapse').ScratchpadCollapseProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
27
|
+
};
|
|
28
|
+
export { Scratchpad };
|
|
29
|
+
//# sourceMappingURL=scratchpad.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scratchpad.d.ts","sourceRoot":"","sources":["../../../src/dashboard/scratchpad/scratchpad.tsx"],"names":[],"mappings":"AAYA;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,UAAU;;;;;;;;;;CAUf,CAAA;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { ScratchpadItem } from './scratchpad/scratchpad-context';
|
|
2
3
|
import * as React from 'react';
|
|
3
|
-
export
|
|
4
|
-
id: string;
|
|
5
|
-
text: string;
|
|
6
|
-
done: boolean;
|
|
7
|
-
}
|
|
4
|
+
export type { ScratchpadItem };
|
|
8
5
|
export interface ScratchpadWidgetProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
9
6
|
items: ScratchpadItem[];
|
|
10
7
|
maxItems?: number;
|
|
11
8
|
onToggle: (id: string, done: boolean) => void;
|
|
12
9
|
onAdd: (text: string) => void;
|
|
13
10
|
onDelete: (id: string) => void;
|
|
11
|
+
onEdit?: (id: string, text: string) => void;
|
|
12
|
+
onReorder?: (items: ScratchpadItem[]) => void;
|
|
13
|
+
onPromote?: (id: string) => void;
|
|
14
14
|
title?: string;
|
|
15
15
|
resetLabel?: string;
|
|
16
16
|
emptyText?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scratchpad-widget.d.ts","sourceRoot":"","sources":["../../src/dashboard/scratchpad-widget.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"scratchpad-widget.d.ts","sourceRoot":"","sources":["../../src/dashboard/scratchpad-widget.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAMrE,YAAY,EAAE,cAAc,EAAE,CAAA;AAE9B,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAChG,KAAK,EAAE,cAAc,EAAE,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IAC7C,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7B,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAC9B,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAC3C,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,KAAK,IAAI,CAAA;IAC7C,SAAS,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IACvD,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAMD,QAAA,MAAM,gBAAgB,8FAqFrB,CAAA;AAID,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { ScratchpadItem } from './scratchpad-
|
|
2
|
+
import { ScratchpadItem } from './scratchpad/scratchpad-context';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
export interface SidebarScratchpadProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
5
|
items: ScratchpadItem[];
|
|
6
6
|
onToggle: (id: string, done: boolean) => void;
|
|
7
|
+
onAdd?: (text: string) => void;
|
|
8
|
+
onDelete?: (id: string) => void;
|
|
9
|
+
onEdit?: (id: string, text: string) => void;
|
|
10
|
+
onReorder?: (items: ScratchpadItem[]) => void;
|
|
11
|
+
onPromote?: (id: string) => void;
|
|
12
|
+
maxItems?: number;
|
|
7
13
|
defaultOpen?: boolean;
|
|
14
|
+
/** @deprecated Use ProgressRing instead — badge is no longer rendered */
|
|
8
15
|
badgeCount?: number;
|
|
9
16
|
}
|
|
10
17
|
declare const SidebarScratchpad: React.ForwardRefExoticComponent<SidebarScratchpadProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar-scratchpad.d.ts","sourceRoot":"","sources":["../../src/dashboard/sidebar-scratchpad.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"sidebar-scratchpad.d.ts","sourceRoot":"","sources":["../../src/dashboard/sidebar-scratchpad.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAMrE,MAAM,WAAW,sBAAuB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAClF,KAAK,EAAE,cAAc,EAAE,CAAA;IACvB,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IAC7C,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAC9B,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/B,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAC3C,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,KAAK,IAAI,CAAA;IAC7C,SAAS,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,yEAAyE;IACzE,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAMD,QAAA,MAAM,iBAAiB,+FAgFtB,CAAA;AAID,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
export { WeekHeatmap, type WeekHeatmapProps } from './week-heatmap';
|
|
3
|
+
export { WeekHeatmapProvider, useWeekHeatmap, type WeekHeatmapContextValue, type WeekHeatmapProviderProps, type WeekDay, } from './week-heatmap-context';
|
|
4
|
+
export { type WeekHeatmapRootProps } from './week-heatmap-root';
|
|
5
|
+
export { type WeekHeatmapDayStripProps } from './week-heatmap-day-strip';
|
|
6
|
+
export { type WeekHeatmapDayProps } from './week-heatmap-day';
|
|
7
|
+
export { type WeekHeatmapSummaryProps } from './week-heatmap-summary';
|
|
8
|
+
export { type WeekHeatmapProgressBarProps } from './week-heatmap-progress-bar';
|
|
9
|
+
export { type WeekHeatmapStreakProps } from './week-heatmap-streak';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dashboard/week-heatmap/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACnE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,OAAO,GACb,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAC/D,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,0BAA0B,CAAA;AACxE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,wBAAwB,CAAA;AACrE,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,6BAA6B,CAAA;AAC9E,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,uBAAuB,CAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface WeekDay {
|
|
4
|
+
date: string;
|
|
5
|
+
completed: number;
|
|
6
|
+
total: number;
|
|
7
|
+
}
|
|
8
|
+
export interface WeekHeatmapContextValue {
|
|
9
|
+
days: WeekDay[];
|
|
10
|
+
onDayClick?: (date: string) => void;
|
|
11
|
+
overdue?: number;
|
|
12
|
+
totalCompleted: number;
|
|
13
|
+
totalTasks: number;
|
|
14
|
+
streak: number;
|
|
15
|
+
today: string;
|
|
16
|
+
}
|
|
17
|
+
export interface WeekHeatmapProviderProps {
|
|
18
|
+
children: React.ReactNode;
|
|
19
|
+
days: WeekDay[];
|
|
20
|
+
onDayClick?: (date: string) => void;
|
|
21
|
+
overdue?: number;
|
|
22
|
+
/** ISO date string for "today", defaults to actual today */
|
|
23
|
+
today?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function useWeekHeatmap(): WeekHeatmapContextValue;
|
|
26
|
+
declare function WeekHeatmapProvider({ children, days, onDayClick, overdue, today: todayProp, }: WeekHeatmapProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
declare namespace WeekHeatmapProvider {
|
|
28
|
+
var displayName: string;
|
|
29
|
+
}
|
|
30
|
+
export { WeekHeatmapProvider };
|
|
31
|
+
//# sourceMappingURL=week-heatmap-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"week-heatmap-context.d.ts","sourceRoot":"","sources":["../../../src/dashboard/week-heatmap/week-heatmap-context.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,OAAO,EAAE,CAAA;IACf,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,IAAI,EAAE,OAAO,EAAE,CAAA;IACf,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,4DAA4D;IAC5D,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAQD,wBAAgB,cAAc,IAAI,uBAAuB,CAMxD;AA2BD,iBAAS,mBAAmB,CAAC,EAC3B,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,OAAO,EACP,KAAK,EAAE,SAAS,GACjB,EAAE,wBAAwB,2CAsB1B;kBA5BQ,mBAAmB;;;AAgC5B,OAAO,EAAE,mBAAmB,EAAE,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface WeekHeatmapDayStripProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
}
|
|
5
|
+
declare const WeekHeatmapDayStrip: React.ForwardRefExoticComponent<WeekHeatmapDayStripProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export { WeekHeatmapDayStrip };
|
|
7
|
+
//# sourceMappingURL=week-heatmap-day-strip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"week-heatmap-day-strip.d.ts","sourceRoot":"","sources":["../../../src/dashboard/week-heatmap/week-heatmap-day-strip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAc9B,MAAM,WAAW,wBAAyB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAMzF,QAAA,MAAM,mBAAmB,iGAkFxB,CAAA;AAID,OAAO,EAAE,mBAAmB,EAAE,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { WeekDay } from './week-heatmap-context';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
declare function getDayLabel(dateStr: string): string;
|
|
5
|
+
type DayStatus = 'complete' | 'partial' | 'none' | 'today' | 'future' | 'empty';
|
|
6
|
+
declare function getDayStatus(day: WeekDay, today: string): DayStatus;
|
|
7
|
+
export interface WeekHeatmapDayProps {
|
|
8
|
+
day: WeekDay;
|
|
9
|
+
index: number;
|
|
10
|
+
focusedIndex: number;
|
|
11
|
+
onFocusChange: (index: number) => void;
|
|
12
|
+
}
|
|
13
|
+
declare const WeekHeatmapDay: React.ForwardRefExoticComponent<WeekHeatmapDayProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
export { WeekHeatmapDay, getDayLabel, getDayStatus, type DayStatus };
|
|
15
|
+
//# sourceMappingURL=week-heatmap-day.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"week-heatmap-day.d.ts","sourceRoot":"","sources":["../../../src/dashboard/week-heatmap/week-heatmap-day.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAQrD,iBAAS,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAM5C;AAWD,KAAK,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE/E,iBAAS,YAAY,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,CAQ5D;AAeD,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,OAAO,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACvC;AAMD,QAAA,MAAM,cAAc,4FA6DnB,CAAA;AAID,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,YAAY,EAAE,KAAK,SAAS,EAAE,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface WeekHeatmapProgressBarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
}
|
|
5
|
+
declare const WeekHeatmapProgressBar: React.ForwardRefExoticComponent<WeekHeatmapProgressBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export { WeekHeatmapProgressBar };
|
|
7
|
+
//# sourceMappingURL=week-heatmap-progress-bar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"week-heatmap-progress-bar.d.ts","sourceRoot":"","sources":["../../../src/dashboard/week-heatmap/week-heatmap-progress-bar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAS9B,MAAM,WAAW,2BAA4B,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAM5F,QAAA,MAAM,sBAAsB,oGAW3B,CAAA;AAID,OAAO,EAAE,sBAAsB,EAAE,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { WeekHeatmapProviderProps } from './week-heatmap-context';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface WeekHeatmapRootProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onDayClick'>, Omit<WeekHeatmapProviderProps, 'children'> {
|
|
5
|
+
}
|
|
6
|
+
declare const WeekHeatmapRoot: React.ForwardRefExoticComponent<WeekHeatmapRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export { WeekHeatmapRoot };
|
|
8
|
+
//# sourceMappingURL=week-heatmap-root.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"week-heatmap-root.d.ts","sourceRoot":"","sources":["../../../src/dashboard/week-heatmap/week-heatmap-root.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAA;AAMtE,MAAM,WAAW,oBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,YAAY,CAAC,EAC9D,IAAI,CAAC,wBAAwB,EAAE,UAAU,CAAC;CAAG;AAMjD,QAAA,MAAM,eAAe,6FAkBpB,CAAA;AAID,OAAO,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface WeekHeatmapStreakProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
}
|
|
5
|
+
declare const WeekHeatmapStreak: React.ForwardRefExoticComponent<WeekHeatmapStreakProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export { WeekHeatmapStreak };
|
|
7
|
+
//# sourceMappingURL=week-heatmap-streak.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"week-heatmap-streak.d.ts","sourceRoot":"","sources":["../../../src/dashboard/week-heatmap/week-heatmap-streak.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,MAAM,WAAW,sBAAuB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAMvF,QAAA,MAAM,iBAAiB,+FAgBtB,CAAA;AAID,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface WeekHeatmapSummaryProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
}
|
|
5
|
+
declare const WeekHeatmapSummary: React.ForwardRefExoticComponent<WeekHeatmapSummaryProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export { WeekHeatmapSummary };
|
|
7
|
+
//# sourceMappingURL=week-heatmap-summary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"week-heatmap-summary.d.ts","sourceRoot":"","sources":["../../../src/dashboard/week-heatmap/week-heatmap-summary.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,MAAM,WAAW,uBAAwB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAMxF,QAAA,MAAM,kBAAkB,gGAuBvB,CAAA;AAID,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { WeekHeatmapRootProps } from './week-heatmap-root';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface WeekHeatmapProps extends WeekHeatmapRootProps {
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Compound component for building weekly heatmap UIs.
|
|
8
|
+
*
|
|
9
|
+
* @example Props shorthand:
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <WeekHeatmap days={days} onDayClick={fn} overdue={2} />
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* @example Composable:
|
|
15
|
+
* ```tsx
|
|
16
|
+
* <WeekHeatmap.Root days={days} onDayClick={fn}>
|
|
17
|
+
* <WeekHeatmap.DayStrip />
|
|
18
|
+
* <WeekHeatmap.Streak />
|
|
19
|
+
* <WeekHeatmap.Summary />
|
|
20
|
+
* <WeekHeatmap.ProgressBar />
|
|
21
|
+
* </WeekHeatmap.Root>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
declare const WeekHeatmap: React.ForwardRefExoticComponent<WeekHeatmapProps & React.RefAttributes<HTMLDivElement>> & {
|
|
25
|
+
Root: React.ForwardRefExoticComponent<WeekHeatmapRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
+
DayStrip: React.ForwardRefExoticComponent<import('./week-heatmap-day-strip').WeekHeatmapDayStripProps & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
Day: React.ForwardRefExoticComponent<import('./week-heatmap-day').WeekHeatmapDayProps & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
+
Summary: React.ForwardRefExoticComponent<import('./week-heatmap-summary').WeekHeatmapSummaryProps & React.RefAttributes<HTMLDivElement>>;
|
|
29
|
+
ProgressBar: React.ForwardRefExoticComponent<import('./week-heatmap-progress-bar').WeekHeatmapProgressBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
+
Streak: React.ForwardRefExoticComponent<import('./week-heatmap-streak').WeekHeatmapStreakProps & React.RefAttributes<HTMLDivElement>>;
|
|
31
|
+
};
|
|
32
|
+
export { WeekHeatmap };
|
|
33
|
+
//# sourceMappingURL=week-heatmap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"week-heatmap.d.ts","sourceRoot":"","sources":["../../../src/dashboard/week-heatmap/week-heatmap.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAW/D,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB;CAAG;AA0BjE;;;;;;;;;;;;;;;;;GAiBG;AACH,QAAA,MAAM,WAAW;;;;;;;CAOf,CAAA;AAEF,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
export { DevsabhaSkeleton, BandwidthSkeleton } from './page-skeletons';
|
|
3
3
|
export { KanbanBoard, type KanbanBoardProps, BoardColumn, type BoardColumnProps, TaskCard, TaskCardCompact, TaskCardOverlay, TaskCardCompactOverlay, BoardProvider, useBoardContext, type BoardProviderProps, BoardToolbar, BulkActionBar, TaskContextMenu, type TaskContextMenuProps, useBoardKeyboard, ColumnHeader, ColumnEmpty, type BoardTask, type BoardMember, type BoardColumnType, type BoardData, type BoardFilters, type BoardViewMode, type NewTaskOptions, type BulkAction, type TaskCardProps, type TaskCardOverlayProps, } from './board';
|
|
4
|
-
export { TaskDetailPanel, type TaskDetailPanelProps, type FullTask, TaskProperties, type TaskPropertiesProps, type Member, type Column, type TaskData, ActivityTab, type ActivityTabProps, type AuditLogEntry, ConversationTab, type ConversationTabProps, type Comment, FilesTab, type FilesTabProps, type TaskFile, ReviewTab, type ReviewTabProps, type ReviewRequest, SubtasksTab, type SubtasksTabProps, type Subtask, } from './tasks';
|
|
4
|
+
export { TaskDetailPanel, type TaskDetailPanelProps, type FullTask, TaskProperties, type TaskPropertiesProps, type Member, type Column, type TaskData, ActivityTab, type ActivityTabProps, type AuditLogEntry, ConversationTab, type ConversationTabProps, type Comment, FilesTab, type FilesTabProps, type TaskFile, ReviewTab, type ReviewTabProps, type ReviewRequest, SubtasksTab, type SubtasksTabProps, type Subtask, TaskActionRow, type TaskActionRowProps, type TaskActionRowTask, type TaskActionRowRootProps, type TaskActionRowCheckboxProps, type TaskActionRowTitleProps, type TaskActionRowLabelsProps, type TaskActionRowProjectBadgeProps, type TaskActionRowNavigateProps, } from './tasks';
|
|
5
5
|
export { ChatPanel, type ChatPanelProps, type Agent, ChatInput, type ChatInputProps, MessageList, type ChatMessage, type MessageListProps, ConversationList, type Conversation, type ConversationListProps, StreamingText, type StreamingTextProps, } from './chat';
|
|
6
6
|
export { AttendanceCTA, type AttendanceCTAProps, DailyBrief, type DailyBriefProps, type BriefData, ScratchpadWidget, type ScratchpadWidgetProps, type ScratchpadItem, SidebarScratchpad, type SidebarScratchpadProps, } from './dashboard';
|
|
7
7
|
export { AccentProvider, type AccentProviderProps, ClientPortalHeader, type ClientPortalHeaderProps, ProjectCard, type ProjectCardProps, } from './client';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAGtE,OAAO,EACL,WAAW,EACX,KAAK,gBAAgB,EACrB,WAAW,EACX,KAAK,gBAAgB,EACrB,QAAQ,EACR,eAAe,EACf,eAAe,EACf,sBAAsB,EACtB,aAAa,EACb,eAAe,EACf,KAAK,kBAAkB,EACvB,YAAY,EACZ,aAAa,EACb,eAAe,EACf,KAAK,oBAAoB,EACzB,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACX,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,oBAAoB,GAC1B,MAAM,SAAS,CAAA;AAGhB,OAAO,EACL,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,QAAQ,EACb,cAAc,EACd,KAAK,mBAAmB,EACxB,KAAK,MAAM,EACX,KAAK,MAAM,EACX,KAAK,QAAQ,EACb,WAAW,EACX,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,OAAO,EACZ,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,SAAS,EACT,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,WAAW,EACX,KAAK,gBAAgB,EACrB,KAAK,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"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"}
|
package/dist/index.js
CHANGED
|
@@ -3,12 +3,12 @@ import { jsxs as d, jsx as a } from "react/jsx-runtime";
|
|
|
3
3
|
import * as o from "react";
|
|
4
4
|
import { Skeleton as s } from "@devalok/shilp-sutra/ui/skeleton";
|
|
5
5
|
import { cn as e } from "@devalok/shilp-sutra/ui/lib/utils";
|
|
6
|
-
import { B as
|
|
7
|
-
import { A as V, C as X, F as Y, R as Z, S as aa, T as ea, a as sa } from "./_chunks/task-detail-panel.js";
|
|
8
|
-
import { C as
|
|
9
|
-
import { A as
|
|
10
|
-
import { A as
|
|
11
|
-
import { A as
|
|
6
|
+
import { B as L, a as $, b as _, c as M, e as O, f as H, K as q, T as K, h as W, i as F, j as U, k as z, u as G, l as J } from "./_chunks/kanban-board.js";
|
|
7
|
+
import { A as V, C as X, F as Y, R as Z, S as aa, T as ea, a as sa, b as ra } from "./_chunks/task-detail-panel.js";
|
|
8
|
+
import { C as la, a as oa, b as na, M as ca, S as ta } from "./_chunks/chat-panel.js";
|
|
9
|
+
import { A as ma, D as ha, S as fa, a as ba } from "./_chunks/sidebar-scratchpad.js";
|
|
10
|
+
import { A as pa, C as ua, P as va } from "./_chunks/project-card.js";
|
|
11
|
+
import { A as ka, a as Na, D as wa, b as ya, c as Aa, d as Ca, B as Ba, e as Da, f as Sa, g as Ta, h as Ea, i as ja, C as Ia, j as Pa, k as Ra, l as La, E as $a, m as _a, L as Ma, n as Oa, R as Ha, o as qa, p as Ka, q as Wa, r as Fa, s as Ua, t as za, u as Ga, v as Ja, w as Qa, x as Va, y as Xa, z as Ya, F as Za, G as ae, H as ee } from "./_chunks/render-adjustment-type.js";
|
|
12
12
|
import { IconShieldCheck as g, IconUmbrella as m, IconCalendarCheck as h, IconClipboardList as p, IconUserPlus as u, IconSettings as v, IconLayoutDashboard as x, IconLayoutKanban as k, IconListCheck as N, IconBook as w, IconAdjustmentsHorizontal as y, IconUserCircle as A } from "@tabler/icons-react";
|
|
13
13
|
const r = "bg-surface-3", C = o.forwardRef(
|
|
14
14
|
function({ className: c, ...t }, i) {
|
|
@@ -236,76 +236,77 @@ const I = {
|
|
|
236
236
|
]
|
|
237
237
|
};
|
|
238
238
|
export {
|
|
239
|
-
|
|
239
|
+
pa as AccentProvider,
|
|
240
240
|
V as ActivityTab,
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
241
|
+
ka as AdjustmentType,
|
|
242
|
+
Na as AdminDashboard,
|
|
243
|
+
wa as AdminDashboardSkeleton,
|
|
244
|
+
ya as ApprovedAdjustments,
|
|
245
|
+
Aa as AssociateDetail,
|
|
246
|
+
ma as AttendanceCTA,
|
|
247
|
+
Ca as AttendanceOverview,
|
|
248
248
|
B as BandwidthSkeleton,
|
|
249
|
-
|
|
249
|
+
L as BoardColumn,
|
|
250
250
|
$ as BoardProvider,
|
|
251
251
|
_ as BoardToolbar,
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
252
|
+
Ba as BreakAdmin,
|
|
253
|
+
Da as BreakAdminHeader,
|
|
254
|
+
Sa as BreakAdminSkeleton,
|
|
255
|
+
Ta as BreakBalance,
|
|
256
|
+
Ea as BreakRequestCard,
|
|
257
|
+
ja as Breaks,
|
|
258
258
|
M as BulkActionBar,
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
259
|
+
Ia as Calendar,
|
|
260
|
+
la as ChatInput,
|
|
261
|
+
oa as ChatPanel,
|
|
262
|
+
ua as ClientPortalHeader,
|
|
263
263
|
O as ColumnEmpty,
|
|
264
264
|
H as ColumnHeader,
|
|
265
|
-
|
|
265
|
+
na as ConversationList,
|
|
266
266
|
X as ConversationTab,
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
267
|
+
Pa as CorrectionList,
|
|
268
|
+
ha as DailyBrief,
|
|
269
|
+
Ra as DashboardHeader,
|
|
270
270
|
La as DeleteBreak,
|
|
271
271
|
C as DevsabhaSkeleton,
|
|
272
|
-
|
|
273
|
-
|
|
272
|
+
$a as EditBreak,
|
|
273
|
+
_a as EditBreakBalance,
|
|
274
274
|
Y as FilesTab,
|
|
275
275
|
q as KanbanBoard,
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
276
|
+
Ma as LeaveRequest,
|
|
277
|
+
Oa as LeaveRequests,
|
|
278
|
+
ca as MessageList,
|
|
279
|
+
va as ProjectCard,
|
|
280
|
+
Ha as RenderDate,
|
|
281
281
|
Z as ReviewTab,
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
282
|
+
fa as ScratchpadWidget,
|
|
283
|
+
ba as SidebarScratchpad,
|
|
284
|
+
ta as StreamingText,
|
|
285
285
|
aa as SubtasksTab,
|
|
286
|
+
ea as TaskActionRow,
|
|
286
287
|
K as TaskCard,
|
|
287
288
|
W as TaskCardCompact,
|
|
288
289
|
F as TaskCardCompactOverlay,
|
|
289
290
|
U as TaskCardOverlay,
|
|
290
291
|
z as TaskContextMenu,
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
292
|
+
sa as TaskDetailPanel,
|
|
293
|
+
ra as TaskProperties,
|
|
294
|
+
qa as formatDate,
|
|
295
|
+
Ka as formatDateIST,
|
|
296
|
+
Wa as formatDateWithWeekday,
|
|
297
|
+
Fa as formatOptionalDate,
|
|
298
|
+
Ua as formatTimeIST,
|
|
299
|
+
za as getDaySuffix,
|
|
300
|
+
Ga as getEndOfDay,
|
|
301
|
+
Ja as getMonthDays,
|
|
302
|
+
Qa as getStartOfDay,
|
|
303
|
+
Va as getWeekDays,
|
|
304
|
+
Xa as isSameDay,
|
|
304
305
|
I as karmCommandRegistry,
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
306
|
+
Ya as removeAllEmojis,
|
|
307
|
+
Za as removeEmojiAtStart,
|
|
308
|
+
ae as renderAdjustmentType,
|
|
309
|
+
ee as renderStatus,
|
|
309
310
|
G as useBoardContext,
|
|
310
311
|
J as useBoardKeyboard
|
|
311
312
|
};
|
|
@@ -1,16 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { AuditLogEntry } from './task-types';
|
|
2
3
|
import * as React from 'react';
|
|
3
|
-
export
|
|
4
|
-
id: string;
|
|
5
|
-
timestamp: string;
|
|
6
|
-
actorType: 'USER' | 'CLIENT' | 'SYSTEM' | 'AGENT';
|
|
7
|
-
actorId: string | null;
|
|
8
|
-
action: string;
|
|
9
|
-
entityType: string;
|
|
10
|
-
entityId: string;
|
|
11
|
-
projectId: string | null;
|
|
12
|
-
metadata: Record<string, unknown> | null;
|
|
13
|
-
}
|
|
4
|
+
export type { AuditLogEntry };
|
|
14
5
|
interface ActivityTabProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
15
6
|
activities: AuditLogEntry[];
|
|
16
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity-tab.d.ts","sourceRoot":"","sources":["../../src/tasks/activity-tab.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"activity-tab.d.ts","sourceRoot":"","sources":["../../src/tasks/activity-tab.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAS9B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AACjD,YAAY,EAAE,aAAa,EAAE,CAAA;AAM7B,UAAU,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACrE,UAAU,EAAE,aAAa,EAAE,CAAA;CAC5B;AAMD,QAAA,MAAM,WAAW,yFAwBhB,CAAA;AAID,OAAO,EAAE,WAAW,EAAE,CAAA;AACtB,YAAY,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -1,26 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { Comment } from './task-types';
|
|
2
3
|
import * as React from 'react';
|
|
3
|
-
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
email?: string;
|
|
7
|
-
image?: string | null;
|
|
8
|
-
}
|
|
9
|
-
export interface Comment {
|
|
10
|
-
id: string;
|
|
11
|
-
taskId: string;
|
|
12
|
-
authorType: 'INTERNAL' | 'CLIENT';
|
|
13
|
-
authorId: string;
|
|
14
|
-
content: string;
|
|
15
|
-
createdAt: string;
|
|
16
|
-
updatedAt: string;
|
|
17
|
-
internalAuthor?: CommentAuthor | null;
|
|
18
|
-
clientAuthor?: {
|
|
19
|
-
id: string;
|
|
20
|
-
name: string;
|
|
21
|
-
email: string;
|
|
22
|
-
} | null;
|
|
23
|
-
}
|
|
4
|
+
export type { Comment };
|
|
24
5
|
interface ConversationTabProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
25
6
|
comments: Comment[];
|
|
26
7
|
taskVisibility: 'INTERNAL' | 'EVERYONE';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation-tab.d.ts","sourceRoot":"","sources":["../../src/tasks/conversation-tab.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"conversation-tab.d.ts","sourceRoot":"","sources":["../../src/tasks/conversation-tab.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAe9B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAC3C,YAAY,EAAE,OAAO,EAAE,CAAA;AAMvB,UAAU,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,cAAc,EAAE,UAAU,GAAG,UAAU,CAAA;IACvC,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,GAAG,QAAQ,KAAK,IAAI,CAAA;IAC3E,qFAAqF;IACrF,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,sGAAsG;IACtG,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,yEAAyE;IACzE,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE;QACrB,OAAO,EAAE,MAAM,CAAA;QACf,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;QACnC,WAAW,EAAE,MAAM,CAAA;KACpB,KAAK,KAAK,CAAC,SAAS,CAAA;IACrB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAA;CACnF;AAMD,QAAA,MAAM,eAAe,6FAoEpB,CAAA;AAID,OAAO,EAAE,eAAe,EAAE,CAAA;AAC1B,YAAY,EAAE,oBAAoB,EAAE,CAAA"}
|