@burdenoff/planmagnet-fe-sdk 2026.706.6 → 2026.706.7

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
@@ -666,6 +666,17 @@ interface TaskListCoreProps {
666
666
  renderLinkIcon?: RenderLinkIcon;
667
667
  /** Max items to fetch (pagination.first). Defaults to 200. */
668
668
  limit?: number;
669
+ /**
670
+ * Opt-in bulk select: prepend a checkbox column + show a bulk-action bar
671
+ * (set status / priority / assignee, delete) for the selected rows. Defaults
672
+ * to `false` so existing embeds render unchanged.
673
+ */
674
+ selectable?: boolean;
675
+ /**
676
+ * Host-provided member directory. When passed (and `selectable`), the bulk bar
677
+ * offers an "Assign" picker; otherwise the assignee bulk action is hidden.
678
+ */
679
+ assigneeOptions?: AssigneeOption[];
669
680
  /** Extra classes on the root container. */
670
681
  className?: string;
671
682
  /** Explicit workspace ID. Falls back to PlanMagnetProvider context. */
@@ -679,7 +690,7 @@ interface TaskListCoreProps {
679
690
  * headers. Filters map to the server-side filter; sort is client-side.
680
691
  * BYO-Apollo, semantic-token only, farm-free.
681
692
  */
682
- declare function TaskListCore({ projectId, status, type, priority, assigneeId, search, columns, sortBy, sortDir, hideHeader, onSelect, resolveAssignee, linkSourceProduct, renderLinkIcon, limit, className, workspaceId: workspaceIdProp, }: TaskListCoreProps): react.JSX.Element;
693
+ declare function TaskListCore({ projectId, status, type, priority, assigneeId, search, columns, sortBy, sortDir, hideHeader, onSelect, resolveAssignee, linkSourceProduct, renderLinkIcon, limit, selectable, assigneeOptions, className, workspaceId: workspaceIdProp, }: TaskListCoreProps): react.JSX.Element;
683
694
 
684
695
  interface TaskListProps extends TaskListCoreProps {
685
696
  /** Workspace API gateway URL (URL mode). */
@@ -753,6 +764,12 @@ interface TaskTimelineCoreProps {
753
764
  * default create-project.
754
765
  */
755
766
  milestoneProjectId?: string;
767
+ /**
768
+ * BCP-47 language code (e.g. "hi", "zh", "ar") for localizing the calendar's
769
+ * weekday/month names via date-fns. Defaults to English. The task strings
770
+ * themselves come from the `TaskLabels` contract; this covers only the dates.
771
+ */
772
+ locale?: string;
756
773
  className?: string;
757
774
  workspaceId?: string;
758
775
  }
@@ -765,7 +782,7 @@ interface TaskTimelineCoreProps {
765
782
  * honest to the data. Overdue and undated work is surfaced explicitly so nothing
766
783
  * hides. BYO-Apollo, semantic-token only, farm-free.
767
784
  */
768
- declare function TaskTimelineCore({ projectId, priority, type, search, assigneeId, defaultMode, onSelect, resolveAssignee, showMilestones, canCreateMilestone, milestoneProjectId, className, workspaceId: workspaceIdProp, }: TaskTimelineCoreProps): react.JSX.Element;
785
+ declare function TaskTimelineCore({ projectId, priority, type, search, assigneeId, defaultMode, onSelect, resolveAssignee, showMilestones, canCreateMilestone, milestoneProjectId, locale, className, workspaceId: workspaceIdProp, }: TaskTimelineCoreProps): react.JSX.Element;
769
786
 
770
787
  /** The three task views the toolbar can switch between. */
771
788
  type TaskView = "board" | "list" | "timeline";
@@ -967,6 +984,13 @@ interface TaskLabels {
967
984
  month: string;
968
985
  tasksSingular: string;
969
986
  tasksPlural: string;
987
+ bulkSelected: string;
988
+ bulkSetStatus: string;
989
+ bulkSetPriority: string;
990
+ bulkAssign: string;
991
+ bulkDelete: string;
992
+ bulkClear: string;
993
+ bulkApplying: string;
970
994
  colTask: string;
971
995
  colStatus: string;
972
996
  colPriority: string;
@@ -1005,8 +1029,13 @@ interface TaskLabels {
1005
1029
  noComments: string;
1006
1030
  you: string;
1007
1031
  editedTag: string;
1032
+ editComment: string;
1033
+ saveComment: string;
1034
+ addReaction: string;
1008
1035
  failedToComment: string;
1009
1036
  failedToDeleteComment: string;
1037
+ failedToEditComment: string;
1038
+ failedToReact: string;
1010
1039
  reply: string;
1011
1040
  replyPlaceholder: string;
1012
1041
  repliesCount: string;
@@ -1082,6 +1111,11 @@ interface TasksPageCoreProps {
1082
1111
  * milestones strip). Requires a `boardProjectId`. Defaults to `!readonly`.
1083
1112
  */
1084
1113
  canCreateMilestone?: boolean;
1114
+ /**
1115
+ * BCP-47 language code (e.g. "hi", "ar") for localizing the Timeline's
1116
+ * weekday/month names. Task strings come from `labels`; this covers dates.
1117
+ */
1118
+ locale?: string;
1085
1119
  /**
1086
1120
  * Field names to hide across the board cards, create form, and detail view.
1087
1121
  * A product-agnostic hook so hosts can suppress fields that don't apply.
@@ -1158,7 +1192,7 @@ interface TasksPageCoreProps {
1158
1192
  * BYO-Apollo: reads the ambient `<ApolloProvider>` and takes `workspaceId` from
1159
1193
  * a prop or the PlanMagnetProvider context. Semantic tokens only, farm-free.
1160
1194
  */
1161
- declare function TasksPageCore({ workspaceId: workspaceIdProp, projectId, boardProjectId, columns, readonly, canCreateMilestone, hiddenFields, views, defaultView, confirmMove, resolveAssignee, linkSourceProduct, renderLinkIcon, assigneeOptions, currentActorId, commentsEntityType, onMention, labels, openItemId, header, onTaskSaved, createSurface, detailSurface, className, }: TasksPageCoreProps): react.JSX.Element;
1195
+ declare function TasksPageCore({ workspaceId: workspaceIdProp, projectId, boardProjectId, columns, readonly, canCreateMilestone, locale, hiddenFields, views, defaultView, confirmMove, resolveAssignee, linkSourceProduct, renderLinkIcon, assigneeOptions, currentActorId, commentsEntityType, onMention, labels, openItemId, header, onTaskSaved, createSurface, detailSurface, className, }: TasksPageCoreProps): react.JSX.Element;
1162
1196
 
1163
1197
  interface TasksPageProps extends TasksPageCoreProps {
1164
1198
  /** Workspace API gateway URL (URL mode). */
@@ -1391,6 +1425,7 @@ declare const DELETE_WORK_ITEM_LINK: graphql.DocumentNode;
1391
1425
  declare const MILESTONE_FIELDS: graphql.DocumentNode;
1392
1426
  declare const LIST_MILESTONES: graphql.DocumentNode;
1393
1427
  declare const DELETE_WORK_ITEM: graphql.DocumentNode;
1428
+ declare const BULK_UPDATE_WORK_ITEMS: graphql.DocumentNode;
1394
1429
 
1395
1430
  /**
1396
1431
  * Configuration module for the PlanMagnet SDK.
@@ -1460,4 +1495,4 @@ declare function getGraphQLEndpoint(baseUrl?: string): string;
1460
1495
 
1461
1496
  declare function cn(...inputs: ClassValue[]): string;
1462
1497
 
1463
- export { type AssigneeOption, Avatar, type AvatarProps, Badge, type BadgeProps, type BoardColumn, CREATE_WORK_ITEM, CREATE_WORK_ITEM_LINK, CreateTask, CreateTaskCore, type CreateTaskCoreProps, type CreateTaskField, type CreateTaskInput, type CreateTaskProps, type CreateWorkItemLinkInput, DEFAULT_BOARD_COLUMNS, DEFAULT_TASK_LABELS, DELETE_WORK_ITEM, DELETE_WORK_ITEM_LINK, Drawer, type DrawerProps, GET_PROJECTS, GET_WORK_ITEM, LIST_MILESTONES, LIST_WORK_ITEMS, LIST_WORK_ITEM_LINKS, LinkChip, type LinkChipProps, type ListMilestonesInput, type ListTasksInput, type ListWorkItemLinksInput, MILESTONE_FIELDS, MOVE_WORK_ITEM, type Milestone, type MilestoneList, type MilestoneStatus, Modal, type ModalProps, PRIORITY_META, PROJECT_SUMMARY_FIELDS, type PartialTaskLabels, type PlanMagnetClientConfig, type PlanMagnetConfig, PlanMagnetProvider, type PlanMagnetProviderProps, PriorityIndicator, type PriorityIndicatorProps, type Project, type ProjectList, type RenderLinkIcon, type ResolveAssignee, STATUS_META, StatusIcon, type StatusIconProps, StatusPill, type StatusPillProps, TASK_PRIORITIES, TASK_STATUSES, TASK_TYPES, type Task, TaskBoard, TaskBoardCore, type TaskBoardCoreProps, type TaskBoardProps, TaskCard, type TaskCardProps, TaskCommentsCore, type TaskCommentsCoreProps, TaskDetail, TaskDetailCore, type TaskDetailCoreProps, type TaskDetailField, type TaskDetailProps, type TaskLabels, TaskLabelsProvider, TaskList, type TaskListColumn, TaskListCore, type TaskListCoreProps, type TaskListProps, type TaskListSort, type TaskPageInfo, type TaskPaginationInput, type TaskPriority, type TaskSavedResult, type TaskStatus, TaskTimelineCore, type TaskTimelineCoreProps, TaskToolbar, type TaskToolbarProps, type TaskType, type TaskView, TasksPage, TasksPageCore, type TasksPageCoreProps, type TasksPageField, type TasksPageProps, type TasksPageSaved, TypeBadge, type TypeBadgeProps, UPDATE_WORK_ITEM, type UpdateTaskInput, type UseMilestonesResult, type UseWorkItemLinksResult, WORK_ITEM_FIELDS, WORK_ITEM_LINK_FIELDS, WORK_ITEM_SUMMARY_FIELDS, type WorkItemDetail, type WorkItemLink, type WorkItemLinkList, type WorkItemLinkRelation, type WorkItemList, badgeVariants, cn, config, createPlanMagnetClient, enumLabel, getGraphQLEndpoint, getPlanMagnetClient, getPlanMagnetClientSafe, getPlanMagnetConfig, isPlanMagnetClientReady, mergeTaskLabels, resetPlanMagnetClient, resetPlanMagnetConfig, setPlanMagnetClient, setPlanMagnetConfig, useMilestones, usePlanMagnetContext, usePlanMagnetContextSafe, useTaskLabels, useWorkItemLinks, validateTrustedOrigin, waitForPlanMagnetClient };
1498
+ export { type AssigneeOption, Avatar, type AvatarProps, BULK_UPDATE_WORK_ITEMS, Badge, type BadgeProps, type BoardColumn, CREATE_WORK_ITEM, CREATE_WORK_ITEM_LINK, CreateTask, CreateTaskCore, type CreateTaskCoreProps, type CreateTaskField, type CreateTaskInput, type CreateTaskProps, type CreateWorkItemLinkInput, DEFAULT_BOARD_COLUMNS, DEFAULT_TASK_LABELS, DELETE_WORK_ITEM, DELETE_WORK_ITEM_LINK, Drawer, type DrawerProps, GET_PROJECTS, GET_WORK_ITEM, LIST_MILESTONES, LIST_WORK_ITEMS, LIST_WORK_ITEM_LINKS, LinkChip, type LinkChipProps, type ListMilestonesInput, type ListTasksInput, type ListWorkItemLinksInput, MILESTONE_FIELDS, MOVE_WORK_ITEM, type Milestone, type MilestoneList, type MilestoneStatus, Modal, type ModalProps, PRIORITY_META, PROJECT_SUMMARY_FIELDS, type PartialTaskLabels, type PlanMagnetClientConfig, type PlanMagnetConfig, PlanMagnetProvider, type PlanMagnetProviderProps, PriorityIndicator, type PriorityIndicatorProps, type Project, type ProjectList, type RenderLinkIcon, type ResolveAssignee, STATUS_META, StatusIcon, type StatusIconProps, StatusPill, type StatusPillProps, TASK_PRIORITIES, TASK_STATUSES, TASK_TYPES, type Task, TaskBoard, TaskBoardCore, type TaskBoardCoreProps, type TaskBoardProps, TaskCard, type TaskCardProps, TaskCommentsCore, type TaskCommentsCoreProps, TaskDetail, TaskDetailCore, type TaskDetailCoreProps, type TaskDetailField, type TaskDetailProps, type TaskLabels, TaskLabelsProvider, TaskList, type TaskListColumn, TaskListCore, type TaskListCoreProps, type TaskListProps, type TaskListSort, type TaskPageInfo, type TaskPaginationInput, type TaskPriority, type TaskSavedResult, type TaskStatus, TaskTimelineCore, type TaskTimelineCoreProps, TaskToolbar, type TaskToolbarProps, type TaskType, type TaskView, TasksPage, TasksPageCore, type TasksPageCoreProps, type TasksPageField, type TasksPageProps, type TasksPageSaved, TypeBadge, type TypeBadgeProps, UPDATE_WORK_ITEM, type UpdateTaskInput, type UseMilestonesResult, type UseWorkItemLinksResult, WORK_ITEM_FIELDS, WORK_ITEM_LINK_FIELDS, WORK_ITEM_SUMMARY_FIELDS, type WorkItemDetail, type WorkItemLink, type WorkItemLinkList, type WorkItemLinkRelation, type WorkItemList, badgeVariants, cn, config, createPlanMagnetClient, enumLabel, getGraphQLEndpoint, getPlanMagnetClient, getPlanMagnetClientSafe, getPlanMagnetConfig, isPlanMagnetClientReady, mergeTaskLabels, resetPlanMagnetClient, resetPlanMagnetConfig, setPlanMagnetClient, setPlanMagnetConfig, useMilestones, usePlanMagnetContext, usePlanMagnetContextSafe, useTaskLabels, useWorkItemLinks, validateTrustedOrigin, waitForPlanMagnetClient };