@devalok/shilp-sutra-karm 0.15.0 → 0.16.1
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/llms.txt +8 -2
- package/package.json +1 -1
package/llms.txt
CHANGED
|
@@ -29,6 +29,7 @@ import { KanbanBoard, TaskDetailPanel, ChatPanel } from '@devalok/shilp-sutra-ka
|
|
|
29
29
|
|
|
30
30
|
BoardTask shape: { id, title, priority, labels[], dueDate, isBlocked, assignees[] }
|
|
31
31
|
BoardData shape: { columns: [{ id, name, isClientVisible, tasks[] }] }
|
|
32
|
+
Constants: COLUMN_WIDTH(320), COLUMN_ACCENT_COLORS(8 category bg colors), PRIORITY_ICONS({ LOW: 'IconArrowDown', MEDIUM: 'IconArrowRight', HIGH: 'IconArrowUp', URGENT: 'IconAlertTriangle' }), PRIORITY_COLORS({ LOW: 'text-text-tertiary', MEDIUM: 'text-warning', HIGH: 'text-error', URGENT: 'text-error' }), DEFAULT_FILTERS({ search: '', assignees: [], priorities: [], labels: [], dueDateRange: null })
|
|
32
33
|
|
|
33
34
|
Uses dnd-kit for drag-and-drop. KanbanBoard manages all DnD state internally.
|
|
34
35
|
Pass `members` prop for explicit member list in assignment dropdowns — required for new/empty projects with no task assignees yet. Falls back to deriving members from task data when omitted.
|
|
@@ -57,7 +58,8 @@ and state updates. Example wiring a custom column header action:
|
|
|
57
58
|
- ReviewTab: reviews[], members[], onRequestReview, onUpdateStatus
|
|
58
59
|
- SubtasksTab: subtasks[], onCreateSubtask, onToggleSubtask, onClickSubtask?, readOnly?
|
|
59
60
|
|
|
60
|
-
|
|
61
|
+
Type: ExtraTab = { id: string, label: string, icon?: ReactNode, content: ReactNode, position?: 'before' | 'after' }
|
|
62
|
+
TaskDetailPanel opens as a Sheet with tabs: Properties, Subtasks, Review, Conversation, Files, Activity. Supports extraTabs?: ExtraTab[] for custom tabs.
|
|
61
63
|
Supports clientMode for read-only client portal views.
|
|
62
64
|
Priority values: 'LOW' | 'MEDIUM' | 'HIGH' | 'URGENT'
|
|
63
65
|
Visibility: 'INTERNAL' | 'EVERYONE'
|
|
@@ -75,7 +77,11 @@ Conversation shape: { id, title, updatedAt }
|
|
|
75
77
|
|
|
76
78
|
### Dashboard (`/dashboard`)
|
|
77
79
|
- AttendanceCTA: userName, attendance, canMarkAttendance, onMarkAttendance?, isSubmitting?, formatTime?
|
|
78
|
-
- DailyBrief: data({ brief: string[], generatedAt }|null), loading?
|
|
80
|
+
- DailyBrief: data({ brief: string[], generatedAt }|null), loading?, onRefresh?, unavailable?, defaultCollapsed?, title?
|
|
81
|
+
- ScratchpadWidget: items(ScratchpadItem[]), onToggle, onAdd?, onDelete?, loading?, title?
|
|
82
|
+
- SidebarScratchpad: items(ScratchpadItem[]), onToggle, defaultOpen?, badgeCount?
|
|
83
|
+
|
|
84
|
+
ScratchpadItem shape: { id, text, done }
|
|
79
85
|
|
|
80
86
|
### Client Portal (`/client`)
|
|
81
87
|
- AccentProvider: accentCss?(string) — injects CSS custom properties on document root
|