@industry-theme/backlogmd-kanban-panel 1.0.44 → 1.0.46

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.
@@ -1 +1 @@
1
- {"version":3,"file":"TaskDetailPanel.d.ts","sourceRoot":"","sources":["../../src/panels/TaskDetailPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAMxE,OAAO,KAAK,EAAE,yBAAyB,EAAqB,MAAM,UAAU,CAAC;AAsG7E;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,yBAAyB;IACrE,MAAM,CAAC,EAAE,qBAAqB,CAAC;CAChC;AA+CD;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAivB1D,CAAC"}
1
+ {"version":3,"file":"TaskDetailPanel.d.ts","sourceRoot":"","sources":["../../src/panels/TaskDetailPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAMxE,OAAO,KAAK,EAAE,yBAAyB,EAAqB,MAAM,UAAU,CAAC;AAsG7E;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,yBAAyB;IACrE,MAAM,CAAC,EAAE,qBAAqB,CAAC;CAChC;AAiDD;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAgvB1D,CAAC"}
@@ -56436,6 +56436,7 @@ const getPriorityStyles = (theme2, priority) => {
56436
56436
  const baseStyles2 = {
56437
56437
  padding: "2px 8px",
56438
56438
  borderRadius: theme2.radii[1],
56439
+ fontFamily: theme2.fonts.body,
56439
56440
  fontSize: theme2.fontSizes[0],
56440
56441
  fontWeight: theme2.fontWeights.medium
56441
56442
  };
@@ -56458,7 +56459,8 @@ const StatusBadge = ({ status }) => {
56458
56459
  style: {
56459
56460
  padding: "4px 12px",
56460
56461
  borderRadius: theme2.radii[2],
56461
- fontSize: theme2.fontSizes[1],
56462
+ fontFamily: theme2.fonts.body,
56463
+ fontSize: theme2.fontSizes[0],
56462
56464
  fontWeight: theme2.fontWeights.medium,
56463
56465
  background: `${theme2.colors.primary}20`,
56464
56466
  color: theme2.colors.primary,
@@ -56706,43 +56708,96 @@ const TaskDetailPanel = ({ context: context2, events: events2, config }) => {
56706
56708
  style: {
56707
56709
  fontFamily: theme2.fonts.monospace,
56708
56710
  fontSize: theme2.fontSizes[0],
56711
+ fontWeight: theme2.fontWeights.medium,
56709
56712
  color: theme2.colors.textMuted
56710
56713
  },
56711
56714
  children: selectedTask.id
56712
56715
  }
56713
56716
  ),
56714
- selectedTask.priority && /* @__PURE__ */ jsx("span", { style: getPriorityStyles(theme2, selectedTask.priority), children: selectedTask.priority }),
56717
+ selectedTask.priority && /* @__PURE__ */ jsxs("span", { style: getPriorityStyles(theme2, selectedTask.priority), children: [
56718
+ "Priority: ",
56719
+ selectedTask.priority
56720
+ ] }),
56715
56721
  /* @__PURE__ */ jsx(StatusBadge, { status: selectedTask.status })
56716
56722
  ] }),
56717
- /* @__PURE__ */ jsx(
56718
- "button",
56719
- {
56720
- onClick: handleBack,
56721
- style: {
56722
- display: "flex",
56723
- alignItems: "center",
56724
- justifyContent: "center",
56725
- width: "32px",
56726
- height: "32px",
56727
- border: `1px solid ${theme2.colors.border}`,
56728
- borderRadius: theme2.radii[1],
56729
- background: theme2.colors.surface,
56730
- cursor: "pointer",
56731
- color: theme2.colors.textSecondary,
56732
- transition: "all 0.2s ease"
56733
- },
56734
- onMouseEnter: (e) => {
56735
- e.currentTarget.style.background = theme2.colors.backgroundSecondary;
56736
- e.currentTarget.style.color = theme2.colors.text;
56737
- },
56738
- onMouseLeave: (e) => {
56739
- e.currentTarget.style.background = theme2.colors.surface;
56740
- e.currentTarget.style.color = theme2.colors.textSecondary;
56741
- },
56742
- title: "Close",
56743
- children: /* @__PURE__ */ jsx(X, { size: 16 })
56744
- }
56745
- )
56723
+ /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
56724
+ deleteState.status === "idle" && /* @__PURE__ */ jsx(
56725
+ "button",
56726
+ {
56727
+ onClick: () => setIsDeleteModalOpen(true),
56728
+ style: {
56729
+ display: "flex",
56730
+ alignItems: "center",
56731
+ justifyContent: "center",
56732
+ width: "32px",
56733
+ height: "32px",
56734
+ border: `1px solid ${theme2.colors.error}`,
56735
+ borderRadius: theme2.radii[1],
56736
+ background: "transparent",
56737
+ cursor: "pointer",
56738
+ color: theme2.colors.error,
56739
+ transition: "all 0.2s ease"
56740
+ },
56741
+ onMouseEnter: (e) => {
56742
+ e.currentTarget.style.background = theme2.colors.error;
56743
+ e.currentTarget.style.color = theme2.colors.background;
56744
+ },
56745
+ onMouseLeave: (e) => {
56746
+ e.currentTarget.style.background = "transparent";
56747
+ e.currentTarget.style.color = theme2.colors.error;
56748
+ },
56749
+ title: "Delete task",
56750
+ children: /* @__PURE__ */ jsx(Trash2, { size: 16 })
56751
+ }
56752
+ ),
56753
+ deleteState.status === "success" && /* @__PURE__ */ jsx(
56754
+ "div",
56755
+ {
56756
+ style: {
56757
+ display: "flex",
56758
+ alignItems: "center",
56759
+ justifyContent: "center",
56760
+ width: "32px",
56761
+ height: "32px",
56762
+ border: `1px solid ${theme2.colors.success}`,
56763
+ borderRadius: theme2.radii[1],
56764
+ background: `${theme2.colors.success}15`,
56765
+ color: theme2.colors.success
56766
+ },
56767
+ title: "Task deleted",
56768
+ children: /* @__PURE__ */ jsx(CircleCheckBig, { size: 16 })
56769
+ }
56770
+ ),
56771
+ /* @__PURE__ */ jsx(
56772
+ "button",
56773
+ {
56774
+ onClick: handleBack,
56775
+ style: {
56776
+ display: "flex",
56777
+ alignItems: "center",
56778
+ justifyContent: "center",
56779
+ width: "32px",
56780
+ height: "32px",
56781
+ border: `1px solid ${theme2.colors.border}`,
56782
+ borderRadius: theme2.radii[1],
56783
+ background: theme2.colors.surface,
56784
+ cursor: "pointer",
56785
+ color: theme2.colors.textSecondary,
56786
+ transition: "all 0.2s ease"
56787
+ },
56788
+ onMouseEnter: (e) => {
56789
+ e.currentTarget.style.background = theme2.colors.backgroundSecondary;
56790
+ e.currentTarget.style.color = theme2.colors.text;
56791
+ },
56792
+ onMouseLeave: (e) => {
56793
+ e.currentTarget.style.background = theme2.colors.surface;
56794
+ e.currentTarget.style.color = theme2.colors.textSecondary;
56795
+ },
56796
+ title: "Close",
56797
+ children: /* @__PURE__ */ jsx(X, { size: 16 })
56798
+ }
56799
+ )
56800
+ ] })
56746
56801
  ]
56747
56802
  }
56748
56803
  ),
@@ -56910,64 +56965,6 @@ const TaskDetailPanel = ({ context: context2, events: events2, config }) => {
56910
56965
  )
56911
56966
  ]
56912
56967
  }
56913
- ),
56914
- deleteState.status === "idle" && /* @__PURE__ */ jsxs(
56915
- "button",
56916
- {
56917
- onClick: () => setIsDeleteModalOpen(true),
56918
- style: {
56919
- flex: 1,
56920
- display: "flex",
56921
- alignItems: "center",
56922
- justifyContent: "center",
56923
- gap: "6px",
56924
- padding: "6px 12px",
56925
- border: `1px solid ${theme2.colors.error}`,
56926
- borderRadius: theme2.radii[1],
56927
- background: "transparent",
56928
- cursor: "pointer",
56929
- color: theme2.colors.error,
56930
- fontSize: theme2.fontSizes[1],
56931
- fontWeight: theme2.fontWeights.medium,
56932
- transition: "all 0.2s ease"
56933
- },
56934
- onMouseEnter: (e) => {
56935
- e.currentTarget.style.background = theme2.colors.error;
56936
- e.currentTarget.style.color = theme2.colors.background;
56937
- },
56938
- onMouseLeave: (e) => {
56939
- e.currentTarget.style.background = "transparent";
56940
- e.currentTarget.style.color = theme2.colors.error;
56941
- },
56942
- title: "Delete task",
56943
- children: [
56944
- /* @__PURE__ */ jsx(Trash2, { size: 14 }),
56945
- "Delete"
56946
- ]
56947
- }
56948
- ),
56949
- deleteState.status === "success" && /* @__PURE__ */ jsxs(
56950
- "div",
56951
- {
56952
- style: {
56953
- flex: 1,
56954
- display: "flex",
56955
- alignItems: "center",
56956
- justifyContent: "center",
56957
- gap: "6px",
56958
- padding: "6px 12px",
56959
- border: `1px solid ${theme2.colors.success}`,
56960
- borderRadius: theme2.radii[1],
56961
- background: `${theme2.colors.success}15`,
56962
- color: theme2.colors.success,
56963
- fontSize: theme2.fontSizes[1],
56964
- fontWeight: theme2.fontWeights.medium
56965
- },
56966
- children: [
56967
- /* @__PURE__ */ jsx(CircleCheckBig, { size: 14 }),
56968
- "Task deleted"
56969
- ]
56970
- }
56971
56968
  )
56972
56969
  ] }),
56973
56970
  /* @__PURE__ */ jsx("style", { children: `
@@ -56980,6 +56977,7 @@ const TaskDetailPanel = ({ context: context2, events: events2, config }) => {
56980
56977
  {
56981
56978
  style: {
56982
56979
  margin: "0 0 16px 0",
56980
+ fontFamily: theme2.fonts.body,
56983
56981
  fontSize: theme2.fontSizes[5],
56984
56982
  fontWeight: theme2.fontWeights.bold,
56985
56983
  color: theme2.colors.text,