@industry-theme/backlogmd-kanban-panel 1.0.18 → 1.0.20
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/panels/KanbanPanel.d.ts +0 -1
- package/dist/panels/KanbanPanel.d.ts.map +1 -1
- package/dist/panels/KanbanPanel.stories.d.ts.map +1 -1
- package/dist/panels/MilestonePanel.d.ts.map +1 -1
- package/dist/panels/MilestonePanel.stories.d.ts.map +1 -1
- package/dist/panels/TaskDetailPanel.d.ts.map +1 -1
- package/dist/panels/TaskDetailPanel.stories.d.ts.map +1 -1
- package/dist/panels.bundle.js +35 -253
- package/dist/panels.bundle.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,6 @@ import type { PanelComponentProps } from '../types';
|
|
|
7
7
|
* - Kanban board with configurable status columns
|
|
8
8
|
* - Task cards with priority indicators
|
|
9
9
|
* - Labels and assignee information
|
|
10
|
-
* - Mock data for testing (to be replaced with real data)
|
|
11
10
|
*/
|
|
12
11
|
export declare const KanbanPanel: React.FC<PanelComponentProps>;
|
|
13
12
|
//# sourceMappingURL=KanbanPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KanbanPanel.d.ts","sourceRoot":"","sources":["../../src/panels/KanbanPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyD,MAAM,OAAO,CAAC;AAc9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"KanbanPanel.d.ts","sourceRoot":"","sources":["../../src/panels/KanbanPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyD,MAAM,OAAO,CAAC;AAc9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAYpD;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA8gBrD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KanbanPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/KanbanPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"KanbanPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/KanbanPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAW5D,QAAA,MAAM,IAAI;;;;;;;;;;;;CAkB0B,CAAC;AAErC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAkInC,eAAO,MAAM,UAAU,EAAE,KA0BxB,CAAC;AAKF,eAAO,MAAM,YAAY,EAAE,KAc1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MilestonePanel.d.ts","sourceRoot":"","sources":["../../src/panels/MilestonePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"MilestonePanel.d.ts","sourceRoot":"","sources":["../../src/panels/MilestonePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAMpD;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAsSxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MilestonePanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/MilestonePanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"MilestonePanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/MilestonePanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAU5D,QAAA,MAAM,IAAI;;;;;;;;;;;;CAkB6B,CAAC;AAExC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA0KnC,eAAO,MAAM,UAAU,EAAE,KAyBxB,CAAC;AAKF,eAAO,MAAM,cAAc,EAAE,KAa5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TaskDetailPanel.d.ts","sourceRoot":"","sources":["../../src/panels/TaskDetailPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAE,mBAAmB,EAAqB,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"TaskDetailPanel.d.ts","sourceRoot":"","sources":["../../src/panels/TaskDetailPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAE,mBAAmB,EAAqB,MAAM,UAAU,CAAC;AA+IvE;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgRzD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TaskDetailPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/TaskDetailPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"TaskDetailPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/TaskDetailPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAW5D,QAAA,MAAM,IAAI;;;;;;;;;;;;CAkB8B,CAAC;AAEzC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAkFnC,eAAO,MAAM,UAAU,EAAE,KAaxB,CAAC;AAQF,eAAO,MAAM,gBAAgB,EAAE,KAoB9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KA6B9B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KA4BzB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KA2B5B,CAAC"}
|
package/dist/panels.bundle.js
CHANGED
|
@@ -3939,29 +3939,47 @@ const LoaderCircle = createLucideIcon("loader-circle", __iconNode$9);
|
|
|
3939
3939
|
* See the LICENSE file in the root directory of this source tree.
|
|
3940
3940
|
*/
|
|
3941
3941
|
const __iconNode$8 = [
|
|
3942
|
+
["path", { d: "M12 13v8", key: "1l5pq0" }],
|
|
3943
|
+
["path", { d: "M12 3v3", key: "1n5kay" }],
|
|
3944
|
+
[
|
|
3945
|
+
"path",
|
|
3946
|
+
{
|
|
3947
|
+
d: "M4 6a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h13a2 2 0 0 0 1.152-.365l3.424-2.317a1 1 0 0 0 0-1.635l-3.424-2.318A2 2 0 0 0 17 6z",
|
|
3948
|
+
key: "1btarq"
|
|
3949
|
+
}
|
|
3950
|
+
]
|
|
3951
|
+
];
|
|
3952
|
+
const Milestone = createLucideIcon("milestone", __iconNode$8);
|
|
3953
|
+
/**
|
|
3954
|
+
* @license lucide-react v0.552.0 - ISC
|
|
3955
|
+
*
|
|
3956
|
+
* This source code is licensed under the ISC license.
|
|
3957
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3958
|
+
*/
|
|
3959
|
+
const __iconNode$7 = [
|
|
3942
3960
|
["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2", key: "48i651" }],
|
|
3943
3961
|
["line", { x1: "8", x2: "16", y1: "21", y2: "21", key: "1svkeh" }],
|
|
3944
3962
|
["line", { x1: "12", x2: "12", y1: "17", y2: "21", key: "vw1qmm" }]
|
|
3945
3963
|
];
|
|
3946
|
-
const Monitor = createLucideIcon("monitor", __iconNode$
|
|
3964
|
+
const Monitor = createLucideIcon("monitor", __iconNode$7);
|
|
3947
3965
|
/**
|
|
3948
3966
|
* @license lucide-react v0.552.0 - ISC
|
|
3949
3967
|
*
|
|
3950
3968
|
* This source code is licensed under the ISC license.
|
|
3951
3969
|
* See the LICENSE file in the root directory of this source tree.
|
|
3952
3970
|
*/
|
|
3953
|
-
const __iconNode$
|
|
3971
|
+
const __iconNode$6 = [
|
|
3954
3972
|
["path", { d: "M18 8L22 12L18 16", key: "1r0oui" }],
|
|
3955
3973
|
["path", { d: "M2 12H22", key: "1m8cig" }]
|
|
3956
3974
|
];
|
|
3957
|
-
const MoveRight = createLucideIcon("move-right", __iconNode$
|
|
3975
|
+
const MoveRight = createLucideIcon("move-right", __iconNode$6);
|
|
3958
3976
|
/**
|
|
3959
3977
|
* @license lucide-react v0.552.0 - ISC
|
|
3960
3978
|
*
|
|
3961
3979
|
* This source code is licensed under the ISC license.
|
|
3962
3980
|
* See the LICENSE file in the root directory of this source tree.
|
|
3963
3981
|
*/
|
|
3964
|
-
const __iconNode$
|
|
3982
|
+
const __iconNode$5 = [
|
|
3965
3983
|
[
|
|
3966
3984
|
"path",
|
|
3967
3985
|
{
|
|
@@ -3970,38 +3988,38 @@ const __iconNode$6 = [
|
|
|
3970
3988
|
}
|
|
3971
3989
|
]
|
|
3972
3990
|
];
|
|
3973
|
-
const Play = createLucideIcon("play", __iconNode$
|
|
3991
|
+
const Play = createLucideIcon("play", __iconNode$5);
|
|
3974
3992
|
/**
|
|
3975
3993
|
* @license lucide-react v0.552.0 - ISC
|
|
3976
3994
|
*
|
|
3977
3995
|
* This source code is licensed under the ISC license.
|
|
3978
3996
|
* See the LICENSE file in the root directory of this source tree.
|
|
3979
3997
|
*/
|
|
3980
|
-
const __iconNode$
|
|
3998
|
+
const __iconNode$4 = [
|
|
3981
3999
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
3982
4000
|
["path", { d: "M12 5v14", key: "s699le" }]
|
|
3983
4001
|
];
|
|
3984
|
-
const Plus = createLucideIcon("plus", __iconNode$
|
|
4002
|
+
const Plus = createLucideIcon("plus", __iconNode$4);
|
|
3985
4003
|
/**
|
|
3986
4004
|
* @license lucide-react v0.552.0 - ISC
|
|
3987
4005
|
*
|
|
3988
4006
|
* This source code is licensed under the ISC license.
|
|
3989
4007
|
* See the LICENSE file in the root directory of this source tree.
|
|
3990
4008
|
*/
|
|
3991
|
-
const __iconNode$
|
|
4009
|
+
const __iconNode$3 = [
|
|
3992
4010
|
["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
|
|
3993
4011
|
["path", { d: "M21 3v5h-5", key: "1q7to0" }],
|
|
3994
4012
|
["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
|
|
3995
4013
|
["path", { d: "M8 16H3v5", key: "1cv678" }]
|
|
3996
4014
|
];
|
|
3997
|
-
const RefreshCw = createLucideIcon("refresh-cw", __iconNode$
|
|
4015
|
+
const RefreshCw = createLucideIcon("refresh-cw", __iconNode$3);
|
|
3998
4016
|
/**
|
|
3999
4017
|
* @license lucide-react v0.552.0 - ISC
|
|
4000
4018
|
*
|
|
4001
4019
|
* This source code is licensed under the ISC license.
|
|
4002
4020
|
* See the LICENSE file in the root directory of this source tree.
|
|
4003
4021
|
*/
|
|
4004
|
-
const __iconNode$
|
|
4022
|
+
const __iconNode$2 = [
|
|
4005
4023
|
[
|
|
4006
4024
|
"path",
|
|
4007
4025
|
{
|
|
@@ -4011,19 +4029,7 @@ const __iconNode$3 = [
|
|
|
4011
4029
|
],
|
|
4012
4030
|
["circle", { cx: "7.5", cy: "7.5", r: ".5", fill: "currentColor", key: "kqv944" }]
|
|
4013
4031
|
];
|
|
4014
|
-
const Tag = createLucideIcon("tag", __iconNode$
|
|
4015
|
-
/**
|
|
4016
|
-
* @license lucide-react v0.552.0 - ISC
|
|
4017
|
-
*
|
|
4018
|
-
* This source code is licensed under the ISC license.
|
|
4019
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
4020
|
-
*/
|
|
4021
|
-
const __iconNode$2 = [
|
|
4022
|
-
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
4023
|
-
["circle", { cx: "12", cy: "12", r: "6", key: "1vlfrh" }],
|
|
4024
|
-
["circle", { cx: "12", cy: "12", r: "2", key: "1c9p78" }]
|
|
4025
|
-
];
|
|
4026
|
-
const Target = createLucideIcon("target", __iconNode$2);
|
|
4032
|
+
const Tag = createLucideIcon("tag", __iconNode$2);
|
|
4027
4033
|
/**
|
|
4028
4034
|
* @license lucide-react v0.552.0 - ISC
|
|
4029
4035
|
*
|
|
@@ -4046,158 +4052,6 @@ const __iconNode = [
|
|
|
4046
4052
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
4047
4053
|
];
|
|
4048
4054
|
const X = createLucideIcon("x", __iconNode);
|
|
4049
|
-
var terminalTheme$1 = {
|
|
4050
|
-
space: [0, 4, 8, 16, 32, 64, 128, 256, 512],
|
|
4051
|
-
fonts: {
|
|
4052
|
-
body: '"SF Mono", "Monaco", "Inconsolata", "Fira Code", monospace',
|
|
4053
|
-
heading: '"SF Mono", "Monaco", "Inconsolata", "Fira Code", monospace',
|
|
4054
|
-
monospace: '"SF Mono", "Monaco", "Inconsolata", "Fira Code", monospace'
|
|
4055
|
-
},
|
|
4056
|
-
fontSizes: [12, 14, 16, 18, 20, 24, 32, 48, 64, 96],
|
|
4057
|
-
fontScale: 1,
|
|
4058
|
-
fontWeights: {
|
|
4059
|
-
body: 400,
|
|
4060
|
-
heading: 500,
|
|
4061
|
-
bold: 600,
|
|
4062
|
-
light: 300,
|
|
4063
|
-
medium: 500,
|
|
4064
|
-
semibold: 600
|
|
4065
|
-
},
|
|
4066
|
-
lineHeights: {
|
|
4067
|
-
body: 1.6,
|
|
4068
|
-
heading: 1.3,
|
|
4069
|
-
tight: 1.4,
|
|
4070
|
-
relaxed: 1.8
|
|
4071
|
-
},
|
|
4072
|
-
breakpoints: ["640px", "768px", "1024px", "1280px"],
|
|
4073
|
-
sizes: [16, 32, 64, 128, 256, 512, 768, 1024, 1536],
|
|
4074
|
-
radii: [0, 2, 4, 6, 8, 12, 16, 24],
|
|
4075
|
-
shadows: [
|
|
4076
|
-
"none",
|
|
4077
|
-
"0 1px 2px 0 rgba(0, 0, 0, 0.05)",
|
|
4078
|
-
"0 2px 4px 0 rgba(0, 0, 0, 0.06)",
|
|
4079
|
-
"0 4px 6px 0 rgba(0, 0, 0, 0.07)",
|
|
4080
|
-
"0 8px 12px 0 rgba(0, 0, 0, 0.08)",
|
|
4081
|
-
"0 16px 24px 0 rgba(0, 0, 0, 0.10)"
|
|
4082
|
-
],
|
|
4083
|
-
zIndices: [0, 1, 10, 20, 30, 40, 50],
|
|
4084
|
-
colors: {
|
|
4085
|
-
text: "#e4e4e4",
|
|
4086
|
-
background: "rgba(10, 10, 10, 0.85)",
|
|
4087
|
-
primary: "#66b3ff",
|
|
4088
|
-
secondary: "#80c4ff",
|
|
4089
|
-
accent: "#66ff99",
|
|
4090
|
-
highlight: "rgba(102, 179, 255, 0.15)",
|
|
4091
|
-
muted: "rgba(26, 26, 26, 0.8)",
|
|
4092
|
-
success: "#66ff99",
|
|
4093
|
-
warning: "#ffcc66",
|
|
4094
|
-
error: "#ff6666",
|
|
4095
|
-
info: "#66b3ff",
|
|
4096
|
-
border: "rgba(255, 255, 255, 0.1)",
|
|
4097
|
-
backgroundSecondary: "rgba(15, 15, 15, 0.9)",
|
|
4098
|
-
backgroundTertiary: "rgba(20, 20, 20, 0.9)",
|
|
4099
|
-
backgroundLight: "rgba(255, 255, 255, 0.05)",
|
|
4100
|
-
backgroundHover: "rgba(102, 179, 255, 0.08)",
|
|
4101
|
-
surface: "rgba(15, 15, 15, 0.95)",
|
|
4102
|
-
textSecondary: "rgba(255, 255, 255, 0.7)",
|
|
4103
|
-
textTertiary: "rgba(255, 255, 255, 0.5)",
|
|
4104
|
-
textMuted: "rgba(255, 255, 255, 0.4)",
|
|
4105
|
-
highlightBg: "rgba(255, 235, 59, 0.25)",
|
|
4106
|
-
highlightBorder: "rgba(255, 235, 59, 0.5)"
|
|
4107
|
-
},
|
|
4108
|
-
modes: {
|
|
4109
|
-
light: {
|
|
4110
|
-
text: "#1a1a1a",
|
|
4111
|
-
background: "rgba(255, 255, 255, 0.9)",
|
|
4112
|
-
primary: "#0066cc",
|
|
4113
|
-
secondary: "#0052a3",
|
|
4114
|
-
accent: "#00cc88",
|
|
4115
|
-
highlight: "rgba(0, 102, 204, 0.08)",
|
|
4116
|
-
muted: "rgba(245, 245, 245, 0.8)",
|
|
4117
|
-
success: "#00cc88",
|
|
4118
|
-
warning: "#ffaa00",
|
|
4119
|
-
error: "#ff3333",
|
|
4120
|
-
info: "#0066cc",
|
|
4121
|
-
border: "rgba(0, 0, 0, 0.1)",
|
|
4122
|
-
backgroundSecondary: "rgba(250, 250, 250, 0.9)",
|
|
4123
|
-
backgroundTertiary: "rgba(245, 245, 245, 0.9)",
|
|
4124
|
-
backgroundLight: "rgba(0, 0, 0, 0.02)",
|
|
4125
|
-
backgroundHover: "rgba(0, 102, 204, 0.04)",
|
|
4126
|
-
surface: "rgba(255, 255, 255, 0.95)",
|
|
4127
|
-
textSecondary: "rgba(0, 0, 0, 0.6)",
|
|
4128
|
-
textTertiary: "rgba(0, 0, 0, 0.4)",
|
|
4129
|
-
textMuted: "rgba(0, 0, 0, 0.3)",
|
|
4130
|
-
highlightBg: "rgba(255, 235, 59, 0.3)",
|
|
4131
|
-
highlightBorder: "rgba(255, 235, 59, 0.6)"
|
|
4132
|
-
}
|
|
4133
|
-
},
|
|
4134
|
-
buttons: {
|
|
4135
|
-
primary: {
|
|
4136
|
-
color: "white",
|
|
4137
|
-
bg: "primary",
|
|
4138
|
-
borderWidth: 0,
|
|
4139
|
-
"&:hover": {
|
|
4140
|
-
bg: "secondary"
|
|
4141
|
-
}
|
|
4142
|
-
},
|
|
4143
|
-
secondary: {
|
|
4144
|
-
color: "primary",
|
|
4145
|
-
bg: "transparent",
|
|
4146
|
-
borderWidth: 1,
|
|
4147
|
-
borderStyle: "solid",
|
|
4148
|
-
borderColor: "primary",
|
|
4149
|
-
"&:hover": {
|
|
4150
|
-
bg: "highlight"
|
|
4151
|
-
}
|
|
4152
|
-
},
|
|
4153
|
-
ghost: {
|
|
4154
|
-
color: "text",
|
|
4155
|
-
bg: "transparent",
|
|
4156
|
-
"&:hover": {
|
|
4157
|
-
bg: "backgroundHover"
|
|
4158
|
-
}
|
|
4159
|
-
}
|
|
4160
|
-
},
|
|
4161
|
-
text: {
|
|
4162
|
-
heading: {
|
|
4163
|
-
fontFamily: "heading",
|
|
4164
|
-
fontWeight: "heading",
|
|
4165
|
-
lineHeight: "heading"
|
|
4166
|
-
},
|
|
4167
|
-
body: {
|
|
4168
|
-
fontFamily: "body",
|
|
4169
|
-
fontWeight: "body",
|
|
4170
|
-
lineHeight: "body"
|
|
4171
|
-
},
|
|
4172
|
-
caption: {
|
|
4173
|
-
fontSize: 1,
|
|
4174
|
-
color: "textSecondary"
|
|
4175
|
-
}
|
|
4176
|
-
},
|
|
4177
|
-
cards: {
|
|
4178
|
-
primary: {
|
|
4179
|
-
bg: "surface",
|
|
4180
|
-
border: "1px solid",
|
|
4181
|
-
borderColor: "border",
|
|
4182
|
-
borderRadius: 1
|
|
4183
|
-
},
|
|
4184
|
-
secondary: {
|
|
4185
|
-
bg: "backgroundSecondary",
|
|
4186
|
-
border: "1px solid",
|
|
4187
|
-
borderColor: "border",
|
|
4188
|
-
borderRadius: 1
|
|
4189
|
-
}
|
|
4190
|
-
}
|
|
4191
|
-
};
|
|
4192
|
-
function getMode(theme2, mode) {
|
|
4193
|
-
if (!mode || !theme2.modes || !theme2.modes[mode]) {
|
|
4194
|
-
return theme2.colors;
|
|
4195
|
-
}
|
|
4196
|
-
return {
|
|
4197
|
-
...theme2.colors,
|
|
4198
|
-
...theme2.modes[mode]
|
|
4199
|
-
};
|
|
4200
|
-
}
|
|
4201
4055
|
var ThemeContext$1;
|
|
4202
4056
|
var getThemeContext$1 = () => {
|
|
4203
4057
|
if (typeof window !== "undefined") {
|
|
@@ -4221,46 +4075,6 @@ var useTheme = () => {
|
|
|
4221
4075
|
}
|
|
4222
4076
|
return context;
|
|
4223
4077
|
};
|
|
4224
|
-
var ThemeProvider = ({
|
|
4225
|
-
children: children2,
|
|
4226
|
-
theme: customTheme = theme$1,
|
|
4227
|
-
initialMode
|
|
4228
|
-
}) => {
|
|
4229
|
-
const [mode, setMode] = useState(initialMode);
|
|
4230
|
-
const activeTheme = React2__default.useMemo(() => {
|
|
4231
|
-
if (!mode || !customTheme.modes || !customTheme.modes[mode]) {
|
|
4232
|
-
return customTheme;
|
|
4233
|
-
}
|
|
4234
|
-
return {
|
|
4235
|
-
...customTheme,
|
|
4236
|
-
colors: getMode(customTheme, mode)
|
|
4237
|
-
};
|
|
4238
|
-
}, [customTheme, mode]);
|
|
4239
|
-
useEffect(() => {
|
|
4240
|
-
if (!initialMode) {
|
|
4241
|
-
const savedMode = localStorage.getItem("principlemd-theme-mode");
|
|
4242
|
-
if (savedMode) {
|
|
4243
|
-
setMode(savedMode);
|
|
4244
|
-
}
|
|
4245
|
-
}
|
|
4246
|
-
}, [initialMode]);
|
|
4247
|
-
useEffect(() => {
|
|
4248
|
-
if (mode) {
|
|
4249
|
-
localStorage.setItem("principlemd-theme-mode", mode);
|
|
4250
|
-
} else {
|
|
4251
|
-
localStorage.removeItem("principlemd-theme-mode");
|
|
4252
|
-
}
|
|
4253
|
-
}, [mode]);
|
|
4254
|
-
const value = {
|
|
4255
|
-
theme: activeTheme,
|
|
4256
|
-
mode,
|
|
4257
|
-
setMode
|
|
4258
|
-
};
|
|
4259
|
-
return /* @__PURE__ */ React2__default.createElement(ThemeContextSingleton.Provider, {
|
|
4260
|
-
value
|
|
4261
|
-
}, children2);
|
|
4262
|
-
};
|
|
4263
|
-
var theme$1 = terminalTheme$1;
|
|
4264
4078
|
function parseTaskMarkdown(content2, filePath) {
|
|
4265
4079
|
const { frontmatter, title, rawContent, acceptanceCriteria, description } = parseMarkdownContent(content2);
|
|
4266
4080
|
const id = extractIdFromPath(filePath);
|
|
@@ -7523,7 +7337,7 @@ const TaskModal = ({
|
|
|
7523
7337
|
if (typeof document === "undefined") return null;
|
|
7524
7338
|
return createPortal(modalContent, document.body);
|
|
7525
7339
|
};
|
|
7526
|
-
const
|
|
7340
|
+
const KanbanPanel = ({
|
|
7527
7341
|
context,
|
|
7528
7342
|
actions,
|
|
7529
7343
|
events: events2
|
|
@@ -8008,9 +7822,6 @@ const KanbanPanelContent = ({
|
|
|
8008
7822
|
}
|
|
8009
7823
|
);
|
|
8010
7824
|
};
|
|
8011
|
-
const KanbanPanel = (props) => {
|
|
8012
|
-
return /* @__PURE__ */ jsx(ThemeProvider, { children: /* @__PURE__ */ jsx(KanbanPanelContent, { ...props }) });
|
|
8013
|
-
};
|
|
8014
7825
|
const VOID = -1;
|
|
8015
7826
|
const PRIMITIVE = 0;
|
|
8016
7827
|
const ARRAY = 1;
|
|
@@ -52060,7 +51871,7 @@ const MetadataRow = ({ icon, label, value }) => {
|
|
|
52060
51871
|
}
|
|
52061
51872
|
);
|
|
52062
51873
|
};
|
|
52063
|
-
const
|
|
51874
|
+
const TaskDetailPanel = ({ context, actions, events: events2 }) => {
|
|
52064
51875
|
const { theme: theme2 } = useTheme();
|
|
52065
51876
|
const [selectedTask, setSelectedTask] = useState(null);
|
|
52066
51877
|
useEffect(() => {
|
|
@@ -52337,9 +52148,6 @@ const TaskDetailPanelContent = ({ context, actions, events: events2 }) => {
|
|
|
52337
52148
|
}
|
|
52338
52149
|
);
|
|
52339
52150
|
};
|
|
52340
|
-
const TaskDetailPanel = (props) => {
|
|
52341
|
-
return /* @__PURE__ */ jsx(ThemeProvider, { children: /* @__PURE__ */ jsx(TaskDetailPanelContent, { ...props }) });
|
|
52342
|
-
};
|
|
52343
52151
|
function useMilestoneData(options) {
|
|
52344
52152
|
const { context, actions } = options || {};
|
|
52345
52153
|
const [milestones, setMilestones] = useState([]);
|
|
@@ -53191,7 +52999,7 @@ const MilestoneModal = ({
|
|
|
53191
52999
|
if (typeof document === "undefined") return null;
|
|
53192
53000
|
return createPortal(modalContent, document.body);
|
|
53193
53001
|
};
|
|
53194
|
-
const
|
|
53002
|
+
const MilestonePanel = ({
|
|
53195
53003
|
context,
|
|
53196
53004
|
actions,
|
|
53197
53005
|
events: events2
|
|
@@ -53254,8 +53062,6 @@ const MilestonePanelContent = ({
|
|
|
53254
53062
|
}
|
|
53255
53063
|
await refreshData();
|
|
53256
53064
|
}, [core2, editingMilestone, refreshData]);
|
|
53257
|
-
const totalMilestones = milestones.length;
|
|
53258
|
-
const totalTasks = milestones.reduce((sum, m) => sum + m.milestone.tasks.length, 0);
|
|
53259
53065
|
return /* @__PURE__ */ jsxs(
|
|
53260
53066
|
"div",
|
|
53261
53067
|
{
|
|
@@ -53285,7 +53091,7 @@ const MilestonePanelContent = ({
|
|
|
53285
53091
|
},
|
|
53286
53092
|
children: [
|
|
53287
53093
|
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "12px" }, children: [
|
|
53288
|
-
/* @__PURE__ */ jsx(
|
|
53094
|
+
/* @__PURE__ */ jsx(Milestone, { size: 24, color: theme2.colors.primary }),
|
|
53289
53095
|
/* @__PURE__ */ jsx(
|
|
53290
53096
|
"h2",
|
|
53291
53097
|
{
|
|
@@ -53299,27 +53105,6 @@ const MilestonePanelContent = ({
|
|
|
53299
53105
|
)
|
|
53300
53106
|
] }),
|
|
53301
53107
|
isBacklogProject && /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "12px" }, children: [
|
|
53302
|
-
/* @__PURE__ */ jsxs(
|
|
53303
|
-
"span",
|
|
53304
|
-
{
|
|
53305
|
-
style: {
|
|
53306
|
-
fontSize: theme2.fontSizes[1],
|
|
53307
|
-
color: theme2.colors.textSecondary,
|
|
53308
|
-
background: theme2.colors.backgroundSecondary,
|
|
53309
|
-
padding: "4px 10px",
|
|
53310
|
-
borderRadius: theme2.radii[1]
|
|
53311
|
-
},
|
|
53312
|
-
children: [
|
|
53313
|
-
totalMilestones,
|
|
53314
|
-
" milestone",
|
|
53315
|
-
totalMilestones !== 1 ? "s" : "",
|
|
53316
|
-
" · ",
|
|
53317
|
-
totalTasks,
|
|
53318
|
-
" task",
|
|
53319
|
-
totalTasks !== 1 ? "s" : ""
|
|
53320
|
-
]
|
|
53321
|
-
}
|
|
53322
|
-
),
|
|
53323
53108
|
canWrite && /* @__PURE__ */ jsxs(
|
|
53324
53109
|
"button",
|
|
53325
53110
|
{
|
|
@@ -53423,7 +53208,7 @@ const MilestonePanelContent = ({
|
|
|
53423
53208
|
color: theme2.colors.textSecondary
|
|
53424
53209
|
},
|
|
53425
53210
|
children: [
|
|
53426
|
-
/* @__PURE__ */ jsx(
|
|
53211
|
+
/* @__PURE__ */ jsx(Milestone, { size: 48, color: theme2.colors.border }),
|
|
53427
53212
|
/* @__PURE__ */ jsxs("div", { style: { textAlign: "center" }, children: [
|
|
53428
53213
|
/* @__PURE__ */ jsx("p", { style: { margin: 0, fontSize: theme2.fontSizes[2] }, children: "No Backlog.md project found" }),
|
|
53429
53214
|
/* @__PURE__ */ jsx("p", { style: { margin: "8px 0 0 0", fontSize: theme2.fontSizes[1] }, children: "Initialize a project from the Kanban Board panel" })
|
|
@@ -53443,7 +53228,7 @@ const MilestonePanelContent = ({
|
|
|
53443
53228
|
color: theme2.colors.textSecondary
|
|
53444
53229
|
},
|
|
53445
53230
|
children: [
|
|
53446
|
-
/* @__PURE__ */ jsx(
|
|
53231
|
+
/* @__PURE__ */ jsx(Milestone, { size: 48, color: theme2.colors.border }),
|
|
53447
53232
|
/* @__PURE__ */ jsxs("div", { style: { textAlign: "center" }, children: [
|
|
53448
53233
|
/* @__PURE__ */ jsx("p", { style: { margin: 0, fontSize: theme2.fontSizes[2] }, children: "No milestones yet" }),
|
|
53449
53234
|
/* @__PURE__ */ jsx("p", { style: { margin: "8px 0 0 0", fontSize: theme2.fontSizes[1] }, children: "Create milestones to organize your tasks into releases or sprints" })
|
|
@@ -53492,9 +53277,6 @@ const MilestonePanelContent = ({
|
|
|
53492
53277
|
}
|
|
53493
53278
|
);
|
|
53494
53279
|
};
|
|
53495
|
-
const MilestonePanel = (props) => {
|
|
53496
|
-
return /* @__PURE__ */ jsx(ThemeProvider, { children: /* @__PURE__ */ jsx(MilestonePanelContent, { ...props }) });
|
|
53497
|
-
};
|
|
53498
53280
|
const moveTaskTool = {
|
|
53499
53281
|
name: "move_task",
|
|
53500
53282
|
description: "Moves a task to a different status column on the kanban board",
|