@nivaro/react 0.2.5 → 0.2.6

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/index.d.ts CHANGED
@@ -4427,7 +4427,12 @@ declare type PathStepKind = 'request' | 'cron' | 'import' | 'feed' | 'write' | '
4427
4427
 
4428
4428
  declare interface PendingTask {
4429
4429
  title: string;
4430
+ description?: string;
4430
4431
  assignee: string | null;
4432
+ /** Display name for the queued row (the picker already knows it). */
4433
+ assignee_name?: string | null;
4434
+ team_id?: number | null;
4435
+ team_name?: string | null;
4431
4436
  due_date: string;
4432
4437
  priority?: string;
4433
4438
  }
@@ -6374,13 +6379,14 @@ export declare type TabState = {
6374
6379
  hasTabs: boolean;
6375
6380
  };
6376
6381
 
6377
- export declare function TaskPanel({ collection, item, title, defaultExpanded, queuedTasks, onQueueTask }: {
6382
+ export declare function TaskPanel({ collection, item, title, defaultExpanded, queuedTasks, onQueueTask, onRemoveQueuedTask }: {
6378
6383
  collection: string;
6379
6384
  item: string;
6380
6385
  title?: string;
6381
6386
  defaultExpanded?: boolean;
6382
6387
  queuedTasks?: PendingTask[];
6383
6388
  onQueueTask?: (task: PendingTask) => void;
6389
+ onRemoveQueuedTask?: (index: number) => void;
6384
6390
  }): JSX.Element | null;
6385
6391
 
6386
6392
  export declare function TeamScopeEditor({ teamId, scopes, onSaved }: {