@burdenoff/microfe-planmagnet 2026.930.8 → 2026.930.10

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.
Files changed (39) hide show
  1. package/dist/planmagnet/PlanMagnetRoot.d.ts.map +1 -1
  2. package/dist/planmagnet/PlanMagnetRoot.js +126 -120
  3. package/dist/planmagnet/PlanMagnetRoot.js.map +1 -1
  4. package/dist/planmagnet/PlanMagnetRoutes.d.ts.map +1 -1
  5. package/dist/planmagnet/PlanMagnetRoutes.js +83 -75
  6. package/dist/planmagnet/PlanMagnetRoutes.js.map +1 -1
  7. package/dist/planmagnet/dependency/DependencyGraph.d.ts +43 -0
  8. package/dist/planmagnet/dependency/DependencyGraph.d.ts.map +1 -0
  9. package/dist/planmagnet/dependency/DependencyGraph.js +225 -0
  10. package/dist/planmagnet/dependency/DependencyGraph.js.map +1 -0
  11. package/dist/planmagnet/dependency/DependencyPanel.d.ts.map +1 -1
  12. package/dist/planmagnet/dependency/DependencyPanel.js +136 -90
  13. package/dist/planmagnet/dependency/DependencyPanel.js.map +1 -1
  14. package/dist/planmagnet/dependency/GanttChart.d.ts +40 -0
  15. package/dist/planmagnet/dependency/GanttChart.d.ts.map +1 -0
  16. package/dist/planmagnet/dependency/GanttChart.js +326 -0
  17. package/dist/planmagnet/dependency/GanttChart.js.map +1 -0
  18. package/dist/planmagnet/dependency/useProjectWorkItemsGraph.d.ts +40 -0
  19. package/dist/planmagnet/dependency/useProjectWorkItemsGraph.d.ts.map +1 -0
  20. package/dist/planmagnet/dependency/useProjectWorkItemsGraph.js +106 -0
  21. package/dist/planmagnet/dependency/useProjectWorkItemsGraph.js.map +1 -0
  22. package/dist/planmagnet/pages/ProjectsCriticalPathPagePage.d.ts.map +1 -1
  23. package/dist/planmagnet/pages/ProjectsCriticalPathPagePage.js +169 -100
  24. package/dist/planmagnet/pages/ProjectsCriticalPathPagePage.js.map +1 -1
  25. package/dist/planmagnet/pages/ProjectsGanttPagePage.d.ts +2 -0
  26. package/dist/planmagnet/pages/ProjectsGanttPagePage.d.ts.map +1 -0
  27. package/dist/planmagnet/pages/ProjectsGanttPagePage.js +143 -0
  28. package/dist/planmagnet/pages/ProjectsGanttPagePage.js.map +1 -0
  29. package/dist/planmagnet/pages/TasksTasksPagePage.d.ts.map +1 -1
  30. package/dist/planmagnet/pages/TasksTasksPagePage.js +63 -48
  31. package/dist/planmagnet/pages/TasksTasksPagePage.js.map +1 -1
  32. package/dist/planmagnet/utils/rowNavigation.d.ts +7 -2
  33. package/dist/planmagnet/utils/rowNavigation.d.ts.map +1 -1
  34. package/dist/planmagnet/utils/rowNavigation.js.map +1 -1
  35. package/dist/planmagnet/utils/statusColor.d.ts +26 -0
  36. package/dist/planmagnet/utils/statusColor.d.ts.map +1 -0
  37. package/dist/planmagnet/utils/statusColor.js +51 -0
  38. package/dist/planmagnet/utils/statusColor.js.map +1 -0
  39. package/package.json +1 -1
@@ -0,0 +1,51 @@
1
+ import { WORK_ITEM_STATUSES as e } from "../controls/WorkItemControls.js";
2
+ //#region src/planmagnet/utils/statusColor.ts
3
+ var t = {
4
+ BACKLOG: {
5
+ fill: "fill-chart-6",
6
+ stroke: "stroke-chart-6",
7
+ swatch: "bg-chart-6"
8
+ },
9
+ TODO: {
10
+ fill: "fill-chart-1",
11
+ stroke: "stroke-chart-1",
12
+ swatch: "bg-chart-1"
13
+ },
14
+ IN_PROGRESS: {
15
+ fill: "fill-chart-4",
16
+ stroke: "stroke-chart-4",
17
+ swatch: "bg-chart-4"
18
+ },
19
+ IN_REVIEW: {
20
+ fill: "fill-chart-3",
21
+ stroke: "stroke-chart-3",
22
+ swatch: "bg-chart-3"
23
+ },
24
+ TESTING: {
25
+ fill: "fill-chart-9",
26
+ stroke: "stroke-chart-9",
27
+ swatch: "bg-chart-9"
28
+ },
29
+ DONE: {
30
+ fill: "fill-chart-2",
31
+ stroke: "stroke-chart-2",
32
+ swatch: "bg-chart-2"
33
+ },
34
+ CANCELLED: {
35
+ fill: "fill-chart-10",
36
+ stroke: "stroke-chart-10",
37
+ swatch: "bg-chart-10"
38
+ }
39
+ }, n = {
40
+ fill: "fill-chart-12",
41
+ stroke: "stroke-chart-12",
42
+ swatch: "bg-chart-12"
43
+ };
44
+ function r(e) {
45
+ return t[e] ?? n;
46
+ }
47
+ var i = e;
48
+ //#endregion
49
+ export { i as STATUS_LEGEND_ORDER, r as statusVisual };
50
+
51
+ //# sourceMappingURL=statusColor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"statusColor.js","names":[],"sources":["../../../src/planmagnet/utils/statusColor.ts"],"sourcesContent":["import { WORK_ITEM_STATUSES } from '../controls/WorkItemControls';\n\n/**\n * One fixed chart color per WorkItemStatus (PDM-27 dependency graph, ANR-24 Gantt): both visualizations color by\n * status, so they share this single mapping rather than each re-deriving one. The order is FIXED and never\n * re-assigned from whichever statuses happen to appear in a given project/graph — a categorical channel keeps the\n * same color for the same identity everywhere it shows up.\n *\n * Values are complete literal Tailwind class names (never built with a template string): Tailwind's build scans\n * source text for whole class-name tokens, so `` `fill-${status}` `` would never be picked up and would ship\n * invisible/unstyled in production while every check here still passes.\n *\n * Colors come from fe-libs' chart token ramp (`chart-1`..`chart-12`), not the `status-*` tokens — those are\n * reserved for good/warning/serious/critical severity (see `dev/skills` dataviz guidance) and workflow status is\n * an identity dimension, not a severity one.\n */\nexport interface StatusVisual {\n /** Fill class for the node/bar body. */\n fill: string;\n /** Stroke class matching `fill`, for outlines and edge/line marks of the same status. */\n stroke: string;\n /** Solid swatch class for a small legend dot. */\n swatch: string;\n}\n\nconst STATUS_VISUALS: Record<(typeof WORK_ITEM_STATUSES)[number], StatusVisual> = {\n BACKLOG: { fill: 'fill-chart-6', stroke: 'stroke-chart-6', swatch: 'bg-chart-6' },\n TODO: { fill: 'fill-chart-1', stroke: 'stroke-chart-1', swatch: 'bg-chart-1' },\n IN_PROGRESS: { fill: 'fill-chart-4', stroke: 'stroke-chart-4', swatch: 'bg-chart-4' },\n IN_REVIEW: { fill: 'fill-chart-3', stroke: 'stroke-chart-3', swatch: 'bg-chart-3' },\n TESTING: { fill: 'fill-chart-9', stroke: 'stroke-chart-9', swatch: 'bg-chart-9' },\n DONE: { fill: 'fill-chart-2', stroke: 'stroke-chart-2', swatch: 'bg-chart-2' },\n CANCELLED: { fill: 'fill-chart-10', stroke: 'stroke-chart-10', swatch: 'bg-chart-10' },\n};\n\n/** A status the API returns that this map doesn't know yet (see WorkItemStatusCount's own doc comment on the\n * same risk) falls back to this rather than throwing or rendering unstyled. */\nconst FALLBACK_VISUAL: StatusVisual = {\n fill: 'fill-chart-12',\n stroke: 'stroke-chart-12',\n swatch: 'bg-chart-12',\n};\n\nexport function statusVisual(status: string): StatusVisual {\n return (STATUS_VISUALS as Record<string, StatusVisual>)[status] ?? FALLBACK_VISUAL;\n}\n\n/** Every status with an assigned visual, in the fixed legend order. */\nexport const STATUS_LEGEND_ORDER: readonly string[] = WORK_ITEM_STATUSES;\n"],"mappings":";;AAyBA,IAAM,IAA4E;CAChF,SAAS;EAAE,MAAM;EAAgB,QAAQ;EAAkB,QAAQ;EAAc;CACjF,MAAM;EAAE,MAAM;EAAgB,QAAQ;EAAkB,QAAQ;EAAc;CAC9E,aAAa;EAAE,MAAM;EAAgB,QAAQ;EAAkB,QAAQ;EAAc;CACrF,WAAW;EAAE,MAAM;EAAgB,QAAQ;EAAkB,QAAQ;EAAc;CACnF,SAAS;EAAE,MAAM;EAAgB,QAAQ;EAAkB,QAAQ;EAAc;CACjF,MAAM;EAAE,MAAM;EAAgB,QAAQ;EAAkB,QAAQ;EAAc;CAC9E,WAAW;EAAE,MAAM;EAAiB,QAAQ;EAAmB,QAAQ;EAAe;CACvF,EAIK,IAAgC;CACpC,MAAM;CACN,QAAQ;CACR,QAAQ;CACT;AAED,SAAgB,EAAa,GAA8B;AACzD,QAAQ,EAAgD,MAAW;;AAIrE,IAAa,IAAyC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-planmagnet",
3
- "version": "2026.930.8",
3
+ "version": "2026.930.10",
4
4
  "description": "Burdenoff PlanMagnet Microfrontend",
5
5
  "type": "module",
6
6
  "files": [