@nestos/kanban 0.0.0-stage → 0.5.1
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/README.md +121 -2
- package/dist/activity-C6xDM-cg.d.cts +232 -0
- package/dist/activity-Dw8DOw0L.d.ts +232 -0
- package/dist/activity.cjs +288 -0
- package/dist/activity.cjs.map +1 -0
- package/dist/activity.d.cts +34 -0
- package/dist/activity.d.ts +34 -0
- package/dist/activity.js +288 -0
- package/dist/activity.js.map +1 -0
- package/dist/chunk-2YFPV5GF.cjs +16 -0
- package/dist/chunk-2YFPV5GF.cjs.map +1 -0
- package/dist/chunk-4KF7KUAI.cjs +221 -0
- package/dist/chunk-4KF7KUAI.cjs.map +1 -0
- package/dist/chunk-4XF6LQSU.cjs +9 -0
- package/dist/chunk-4XF6LQSU.cjs.map +1 -0
- package/dist/chunk-5DLZWW5Y.js +148 -0
- package/dist/chunk-5DLZWW5Y.js.map +1 -0
- package/dist/chunk-5XKOCKY2.js +58 -0
- package/dist/chunk-5XKOCKY2.js.map +1 -0
- package/dist/chunk-6MN3H3YF.cjs +183 -0
- package/dist/chunk-6MN3H3YF.cjs.map +1 -0
- package/dist/chunk-ATUFFNLV.js +221 -0
- package/dist/chunk-ATUFFNLV.js.map +1 -0
- package/dist/chunk-DFTOTBGF.js +439 -0
- package/dist/chunk-DFTOTBGF.js.map +1 -0
- package/dist/chunk-G6FCDLDF.js +16 -0
- package/dist/chunk-G6FCDLDF.js.map +1 -0
- package/dist/chunk-IUI5CI2S.cjs +439 -0
- package/dist/chunk-IUI5CI2S.cjs.map +1 -0
- package/dist/chunk-KYNYPKKH.cjs +71 -0
- package/dist/chunk-KYNYPKKH.cjs.map +1 -0
- package/dist/chunk-L44TM4EE.cjs +1498 -0
- package/dist/chunk-L44TM4EE.cjs.map +1 -0
- package/dist/chunk-LSE6JG5I.cjs +20 -0
- package/dist/chunk-LSE6JG5I.cjs.map +1 -0
- package/dist/chunk-O4OGAAV4.js +71 -0
- package/dist/chunk-O4OGAAV4.js.map +1 -0
- package/dist/chunk-OHQTKGQN.js +1498 -0
- package/dist/chunk-OHQTKGQN.js.map +1 -0
- package/dist/chunk-PSKQAFDF.cjs +58 -0
- package/dist/chunk-PSKQAFDF.cjs.map +1 -0
- package/dist/chunk-QTMTBEBA.js +20 -0
- package/dist/chunk-QTMTBEBA.js.map +1 -0
- package/dist/chunk-RQP77ZTY.js +9 -0
- package/dist/chunk-RQP77ZTY.js.map +1 -0
- package/dist/chunk-T7P5EIC4.cjs +148 -0
- package/dist/chunk-T7P5EIC4.cjs.map +1 -0
- package/dist/chunk-TB2RZGDV.js +183 -0
- package/dist/chunk-TB2RZGDV.js.map +1 -0
- package/dist/content-CAIp1njn.d.cts +35 -0
- package/dist/content-CGMJdyH_.d.ts +35 -0
- package/dist/contracts/index.cjs +21 -0
- package/dist/contracts/index.cjs.map +1 -0
- package/dist/contracts/index.d.cts +4 -0
- package/dist/contracts/index.d.ts +4 -0
- package/dist/contracts/index.js +21 -0
- package/dist/contracts/index.js.map +1 -0
- package/dist/discovery-DxpirOz3.d.cts +61 -0
- package/dist/discovery-gSqWpuRm.d.ts +61 -0
- package/dist/discovery.cjs +379 -0
- package/dist/discovery.cjs.map +1 -0
- package/dist/discovery.d.cts +22 -0
- package/dist/discovery.d.ts +22 -0
- package/dist/discovery.js +379 -0
- package/dist/discovery.js.map +1 -0
- package/dist/execution.cjs +368 -0
- package/dist/execution.cjs.map +1 -0
- package/dist/execution.d.cts +89 -0
- package/dist/execution.d.ts +89 -0
- package/dist/execution.js +368 -0
- package/dist/execution.js.map +1 -0
- package/dist/index.cjs +76 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +61 -0
- package/dist/index.d.ts +61 -0
- package/dist/index.js +76 -0
- package/dist/index.js.map +1 -0
- package/dist/module-BbvwdCDF.d.cts +11 -0
- package/dist/module-CWNK2BMj.d.ts +11 -0
- package/dist/planning-CcFZYdIL.d.cts +844 -0
- package/dist/planning-CcFZYdIL.d.ts +844 -0
- package/dist/ports-Bn6ro2FB.d.ts +142 -0
- package/dist/ports-CaL6geqR.d.cts +142 -0
- package/dist/storage.cjs +289 -0
- package/dist/storage.cjs.map +1 -0
- package/dist/storage.d.cts +71 -0
- package/dist/storage.d.ts +71 -0
- package/dist/storage.js +289 -0
- package/dist/storage.js.map +1 -0
- package/dist/store-Ct0gOAAg.d.ts +28 -0
- package/dist/store-q63eSMoT.d.cts +28 -0
- package/dist/ui/index.cjs +1961 -0
- package/dist/ui/index.cjs.map +1 -0
- package/dist/ui/index.d.cts +209 -0
- package/dist/ui/index.d.ts +209 -0
- package/dist/ui/index.js +1961 -0
- package/dist/ui/index.js.map +1 -0
- package/dist/ui/kanban.css +194 -0
- package/package.json +113 -4
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
@import '@nestos/ui-common/navigation.css';
|
|
2
|
+
.kanban { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px; min-width: 0; min-height: 0; height: 100%; box-sizing: border-box; overflow: hidden; color: var(--kanban-text-primary, #222); background: var(--kanban-bg-secondary, #f8fafc); }
|
|
3
|
+
.kanban__content { isolation: isolate; display: flex; flex-direction: column; flex: 1 1 0; min-height: 0; min-width: 0; overflow: hidden; }
|
|
4
|
+
.kanban > [role=status]:empty, .kanban > [role=alert]:empty { display: none; }
|
|
5
|
+
.kanban > [role=status] { margin: 0; flex-shrink: 0; }
|
|
6
|
+
.kanban__sidebar { display: flex; flex-direction: column; gap: 18px; padding: 16px 12px; overflow: hidden; min-height: 0; box-sizing: border-box; }
|
|
7
|
+
.kanban__sidebar nav { display: grid; gap: 6px; }
|
|
8
|
+
.kanban__sidebar[hidden] { display: none; }
|
|
9
|
+
.kanban__window-navigation { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
|
|
10
|
+
.kanban__window-navigation:empty { display: none; }
|
|
11
|
+
.kanban [data-titlebar-host=true] > [data-titlebar-slot] { flex: 1; min-width: 0; width: 100%; }
|
|
12
|
+
.kanban [data-titlebar-host=true] > :not([data-titlebar-slot]) { display: none; }
|
|
13
|
+
.kanban__panel-header[data-titlebar-host=true], .kanban__page-header[data-titlebar-host=true] { padding: 0; gap: 0; }
|
|
14
|
+
.kanban .kanban__window-navigation button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 8px; border-color: transparent; background: transparent; }
|
|
15
|
+
.kanban__window-navigation button[hidden] { display: none; }
|
|
16
|
+
.kanban__window-navigation svg { width: 20px; height: 20px; }
|
|
17
|
+
|
|
18
|
+
.kanban__toolbar, .kanban__actions, .kanban__filters, .kanban__context-tabs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; flex-shrink: 0; }
|
|
19
|
+
.kanban__toolbar h2 { margin: 0 auto 0 0; font-size: 20px; }
|
|
20
|
+
.kanban__filters { position: relative; flex-wrap: wrap; overflow: visible; padding: 0; }
|
|
21
|
+
.kanban__filters > input { flex: 1 1 180px; width: 0; }
|
|
22
|
+
.kanban__filters select { flex: 0 0 auto; }
|
|
23
|
+
.kanban__columns { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); align-items: stretch; gap: 12px; flex: 1 1 0; min-height: 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; padding: 3px 3px 12px; }
|
|
24
|
+
.kanban__column { display: flex; flex-direction: column; padding: 10px; border: 1px solid var(--kanban-border-color, #dce1e8); border-radius: 10px; min-width: 0; min-height: 0; }
|
|
25
|
+
.kanban__column h3 { margin: 0 0 8px; flex-shrink: 0; font-size: 15px; }
|
|
26
|
+
.kanban__column-items { flex: 1 1 0; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior-x: auto; overscroll-behavior-y: contain; touch-action: pan-x pan-y; scrollbar-gutter: stable; padding: 2px; }
|
|
27
|
+
.kanban .kanban__card { display: flex; flex-direction: column; align-items: stretch; gap: 7px; width: 100%; text-align: start; margin: 0 0 9px; padding: 12px; border: 1px solid var(--kanban-border-color, #dce1e8); border-radius: 8px; background: var(--kanban-bg-primary, #fff); color: inherit; overflow-wrap: anywhere; cursor: pointer; flex-shrink: 0; box-sizing: border-box; }
|
|
28
|
+
.kanban__card strong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
|
|
29
|
+
.kanban__card small { color: var(--kanban-text-secondary, #666); }
|
|
30
|
+
.kanban__execution { display: grid; gap: 4px; padding: 7px 9px; border-inline-start: 3px solid var(--kanban-border-color, #dce1e8); border-radius: 4px; background: var(--kanban-bg-secondary, #f8fafc); font-size: 12px; white-space: normal; }
|
|
31
|
+
.kanban__execution[data-execution-state=running] { border-inline-start-color: var(--kanban-color-primary, #5277dd); }
|
|
32
|
+
.kanban__execution[data-stale=true] { opacity: .75; border-inline-start-style: dashed; }
|
|
33
|
+
.kanban__execution-detail { display: grid; gap: 8px; border-top: 1px solid var(--kanban-border-color, #dce1e8); margin-top: 16px; padding-top: 8px; overflow-wrap: anywhere; }
|
|
34
|
+
.kanban__execution-detail > small { color: var(--kanban-text-secondary, #666); }
|
|
35
|
+
.kanban__record-list { flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
|
|
36
|
+
.kanban__panel[hidden], .kanban__backdrop[hidden] { display: none; }
|
|
37
|
+
.kanban__panel { position: absolute; inset: 0 0 0 auto; z-index: 5; width: min(580px, 100%); max-height: 100%; min-height: 0; padding: 0 18px 28px; box-sizing: border-box; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; border-left: 1px solid var(--kanban-border-color, #dce1e8); background: var(--kanban-bg-primary, #fff); box-shadow: -8px 0 32px #0002; }
|
|
38
|
+
.kanban__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; background: #0003 !important; border: 0 !important; border-radius: 0 !important; margin: 0; cursor: default !important; }
|
|
39
|
+
.kanban__panel-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 4px; margin: 0 -2px 12px; padding: 4px 2px; border-bottom: 1px solid var(--kanban-border-color, #dce1e8); background: var(--kanban-bg-primary, #fff); }
|
|
40
|
+
.kanban__panel-header h3 { flex: 1; min-width: 0; margin: 0; font-size: 17px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
41
|
+
.kanban__panel-header button { flex-shrink: 0; }
|
|
42
|
+
.kanban button.kanban__panel-back { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 8px; border-color: transparent; background: transparent; }
|
|
43
|
+
.kanban__panel-back svg { width: 20px; height: 20px; }
|
|
44
|
+
.kanban__panel form { display: grid; gap: 10px; margin: 14px 0; }
|
|
45
|
+
.kanban__panel label { display: grid; gap: 5px; }
|
|
46
|
+
.kanban__panel textarea { min-height: 80px; resize: vertical; }
|
|
47
|
+
.kanban__panel input, .kanban__panel select, .kanban__panel textarea, .kanban__filters input, .kanban__filters select { padding: 8px; color: inherit; background: var(--kanban-bg-primary, #fff); border: 1px solid var(--kanban-border-color, #dce1e8); border-radius: 5px; min-width: 0; box-sizing: border-box; font: inherit; }
|
|
48
|
+
.kanban__panel dd { white-space: pre-wrap; overflow-wrap: anywhere; margin: 6px 0 14px; }
|
|
49
|
+
.kanban__panel dt { font-weight: 600; }
|
|
50
|
+
.kanban__panel details { margin: 12px 0; }
|
|
51
|
+
.kanban__panel summary { cursor: pointer; padding: 6px 0; font-weight: 600; }
|
|
52
|
+
.kanban__panel p, .kanban__prose { white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
53
|
+
.kanban__amendments article { padding: 12px; margin-bottom: 12px; border: 1px solid var(--kanban-border-color, #dce1e8); border-radius: 8px; }
|
|
54
|
+
.kanban [role=alert] { color: var(--kanban-color-error, #c33); white-space: pre-wrap; }
|
|
55
|
+
.kanban > [role=alert]:not(:empty) { position: absolute; top: 70px; right: 20px; z-index: 8; max-width: min(500px, calc(100% - 40px)); max-height: 140px; overflow: auto; padding: 12px; border: 1px solid currentColor; border-radius: 8px; background: var(--kanban-bg-primary, #fff); }
|
|
56
|
+
.kanban button, .kanban__sidebar button { min-height: 36px; padding: 8px 12px; border: 1px solid var(--kanban-border-color, #dce1e8); border-radius: 8px; background: var(--kanban-bg-primary, #fff); color: var(--kanban-text-primary, #222); font: inherit; cursor: pointer; }
|
|
57
|
+
.kanban button:hover, .kanban__sidebar button:hover { background: var(--kanban-bg-hover, #edf0f5); }
|
|
58
|
+
.kanban :is(button, input, textarea, select, [tabindex], summary):focus-visible, .kanban__sidebar :is(button, input, summary):focus-visible { outline: 2px solid var(--kanban-color-primary, #5277dd); outline-offset: -2px; }
|
|
59
|
+
.kanban__panel input[type=checkbox] { width: 18px; min-height: 18px; }
|
|
60
|
+
@media (max-width: 768px) {
|
|
61
|
+
.kanban { padding: 10px; gap: 5px; }
|
|
62
|
+
.kanban button, .kanban__sidebar button, .kanban input, .kanban select { min-height: 44px; }
|
|
63
|
+
.kanban__columns { grid-auto-columns: minmax(240px, 85vw); }
|
|
64
|
+
.kanban__panel { width: 100%; border-left: 0; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
|
|
65
|
+
.kanban__panel-header { padding: 0 2px; }
|
|
66
|
+
.kanban button.kanban__panel-back { width: 44px; height: 44px; }
|
|
67
|
+
.kanban .kanban__window-navigation button { width: 44px; height: 44px; }
|
|
68
|
+
.kanban__context-tabs { flex-wrap: nowrap; overflow-x: auto; padding: 2px; }
|
|
69
|
+
.kanban__context-tabs button { white-space: nowrap; flex-shrink: 0; }
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.kanban__badge { color: var(--kanban-color-primary, #5277dd) !important; font-weight: 600; }
|
|
73
|
+
.kanban__item-choices { max-height: 180px; overflow: auto; border: 1px solid var(--kanban-border-color, #dce1e8); border-radius: 8px; }
|
|
74
|
+
.kanban__item-choices label { display: flex; align-items: start; gap: 8px; padding: 5px 0; }
|
|
75
|
+
.kanban__item-choices input { flex-shrink: 0; }
|
|
76
|
+
.kanban__panel [data-panel-error]:empty { display: none; }
|
|
77
|
+
@media (max-width: 768px) {
|
|
78
|
+
/* The inspector provides its own sticky close action over the shell navigation row. */
|
|
79
|
+
.kanban--detail ~ .mm-mobile-back { visibility: hidden; pointer-events: none; }
|
|
80
|
+
}
|
|
81
|
+
.kanban__suggest { display: grid; gap: 5px; min-width: 0; }
|
|
82
|
+
.kanban__suggest > input { width: 100%; }
|
|
83
|
+
.kanban__suggest > small { color: var(--kanban-text-secondary, #666); font-size: 12px; }
|
|
84
|
+
.kanban__suggest-list[hidden] { display: none; }
|
|
85
|
+
.kanban__suggest-list { display: grid; max-height: 210px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--kanban-border-color, #dce1e8); border-radius: 8px; background: var(--kanban-bg-primary, #fff); }
|
|
86
|
+
.kanban__suggest-list button { display: flex; flex-direction: column; gap: 3px; align-items: start; text-align: start; border: 0; border-radius: 0; overflow-wrap: anywhere; }
|
|
87
|
+
.kanban__suggest-list button[aria-selected=true] { background: var(--kanban-bg-hover, #edf0f5); outline: 2px solid var(--kanban-color-primary, #5277dd); outline-offset: -2px; }
|
|
88
|
+
.kanban__suggest-list small { color: var(--kanban-text-secondary, #666); }
|
|
89
|
+
.kanban__suggest-chips { display: flex; flex-wrap: wrap; gap: 5px; }
|
|
90
|
+
.kanban__suggest-chips:empty { display: none; }
|
|
91
|
+
.kanban__filters .kanban__suggest { width: 100%; }
|
|
92
|
+
.kanban__filters .kanban__suggest > small { display: none; }
|
|
93
|
+
.kanban__filters .kanban__suggest-list { position: absolute; top: 100%; min-width: 220px; z-index: 3; }
|
|
94
|
+
|
|
95
|
+
.kanban__suggest-chips button { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; }
|
|
96
|
+
.kanban__suggest-chips button span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
97
|
+
|
|
98
|
+
.kanban__reference { display: flex; justify-content: space-between; flex: 0 0 auto; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding: 0.35rem 0; }
|
|
99
|
+
.kanban__reference code { max-width: calc(100% - 50px); overflow-wrap: anywhere; user-select: all; }
|
|
100
|
+
|
|
101
|
+
.kanban__sidebar-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-shrink: 0; }
|
|
102
|
+
.kanban__sidebar-header h2 { margin: 0; font-size: 17px; }
|
|
103
|
+
.kanban__sidebar-header button { font-size: 13px; }
|
|
104
|
+
.kanban__board-list { flex: 1 1 0; min-height: 0; overflow-y: auto; }
|
|
105
|
+
.kanban__caption { margin: 0 0 10px; color: var(--kanban-text-secondary, #666); font-size: 12px; }
|
|
106
|
+
.kanban__board-list button { display: flex; flex-direction: column; gap: 5px; text-align: start; width: 100%; min-width: 0; border-color: transparent; background: transparent; }
|
|
107
|
+
.kanban__board-list button small { font-size: 11px; color: var(--kanban-text-secondary, #666); }
|
|
108
|
+
.kanban__board-list button span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; line-height: 1.5; }
|
|
109
|
+
.kanban__board-list [aria-current] { font-weight: 600; background: var(--kanban-bg-hover, #edf0f5); box-shadow: inset 3px 0 var(--kanban-color-primary, #5277dd); }
|
|
110
|
+
.kanban__sidebar-tools { display: grid; gap: 8px; flex-shrink: 0; border-top: 1px solid var(--kanban-border-color, #dce1e8); padding-top: 12px; }
|
|
111
|
+
.kanban__reference-lookup summary, .kanban__scope-note summary { padding: 6px 0; cursor: pointer; color: var(--kanban-text-secondary, #666); font-size: 13px; }
|
|
112
|
+
.kanban__reference-lookup form { display: flex; gap: 6px; margin-top: 8px; }
|
|
113
|
+
.kanban__reference-lookup input { min-width: 0; width: 0; flex: 1; padding: 8px; font: inherit; border: 1px solid var(--kanban-border-color, #dce1e8); border-radius: 7px; color: inherit; background: var(--kanban-bg-primary, #fff); }
|
|
114
|
+
.kanban__scope-note p { margin: 8px 0; font-size: 12px; line-height: 1.6; color: var(--kanban-text-secondary, #666); }
|
|
115
|
+
.kanban__page-header { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
|
|
116
|
+
.kanban__board-heading { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
|
|
117
|
+
.kanban__board-heading h2 { margin: 0; font-size: 19px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
|
|
118
|
+
.kanban__board-heading code { flex-shrink: 0; max-width: 90px; padding: 3px 6px; font-size: 11px; color: var(--kanban-text-secondary, #666); border: 1px solid var(--kanban-border-color, #dce1e8); border-radius: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
119
|
+
.kanban__header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
|
|
120
|
+
.kanban__navigation, .kanban__mobile-create { display: none; }
|
|
121
|
+
.kanban__menu-reference { display: block; padding: 8px 12px; color: var(--kanban-text-secondary, #666); overflow-wrap: anywhere; font-size: 12px; }
|
|
122
|
+
.kanban__menu-title { max-width: min(260px, calc(100vw - 90px)); margin: 0; padding: 4px 12px 8px; font-size: 14px; overflow-wrap: anywhere; white-space: normal; }
|
|
123
|
+
.kanban button.kanban__primary { background: var(--kanban-color-primary, #5277dd); border-color: transparent; color: #fff; }
|
|
124
|
+
.kanban button.kanban__primary:hover { filter: brightness(0.95); }
|
|
125
|
+
.kanban .kanban__icon-button, .kanban__menu > summary { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 8px; box-sizing: border-box; border: 1px solid transparent; border-radius: 8px; background: transparent; color: inherit; cursor: pointer; list-style: none; }
|
|
126
|
+
.kanban__menu > summary::-webkit-details-marker { display: none; }
|
|
127
|
+
.kanban__menu > summary:hover { background: var(--kanban-bg-hover, #edf0f5); }
|
|
128
|
+
.kanban__menu { position: relative; flex-shrink: 0; }
|
|
129
|
+
.kanban__panel .kanban__menu { margin: 0; }
|
|
130
|
+
.kanban__menu-content { position: absolute; top: calc(100% + 5px); right: 0; z-index: 9; min-width: 160px; padding: 5px; border: 1px solid var(--kanban-border-color, #dce1e8); border-radius: 10px; background: var(--kanban-bg-primary, #fff); box-shadow: 0 8px 24px #0002; }
|
|
131
|
+
.kanban__menu:not([open]) > .kanban__menu-content { display: none; }
|
|
132
|
+
.kanban__menu-content button { display: block; width: 100%; text-align: start; border-color: transparent; background: transparent; }
|
|
133
|
+
.kanban__context-tabs { flex-wrap: nowrap; gap: 18px; border-bottom: 1px solid var(--kanban-border-color, #dce1e8); margin-bottom: 14px; padding: 0; }
|
|
134
|
+
.kanban__context-tabs button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 8px 2px; background: transparent; color: var(--kanban-text-secondary, #666); white-space: nowrap; }
|
|
135
|
+
.kanban__context-tabs [aria-current] { border-bottom-color: var(--kanban-color-primary, #5277dd); color: var(--kanban-color-primary, #5277dd); font-weight: 600; }
|
|
136
|
+
.kanban__filter-more > summary { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--kanban-border-color, #dce1e8); border-radius: 8px; background: var(--kanban-bg-primary, #fff); cursor: pointer; list-style: none; box-sizing: border-box; min-height: 36px; }
|
|
137
|
+
.kanban__filter-fields { position: absolute; top: calc(100% + 6px); right: 0; z-index: 6; display: grid; gap: 12px; width: min(320px, calc(100vw - 48px)); padding: 14px; box-sizing: border-box; border: 1px solid var(--kanban-border-color, #dce1e8); border-radius: 10px; background: var(--kanban-bg-primary, #fff); box-shadow: 0 8px 24px #0002; }
|
|
138
|
+
.kanban__filter-more:not([open]) > .kanban__filter-fields { display: none; }
|
|
139
|
+
.kanban__filter-fields > label { display: grid; gap: 5px; }
|
|
140
|
+
.kanban__filter-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--kanban-color-primary, #5277dd); }
|
|
141
|
+
.kanban__count { margin: 0 0 8px; font-size: 12px; color: var(--kanban-text-secondary, #666); }
|
|
142
|
+
@media (max-width: 768px) {
|
|
143
|
+
.kanban__columns[data-has-items=true] .kanban__column[data-empty=true] { display: none; }
|
|
144
|
+
.kanban__page-header { flex-wrap: nowrap; gap: 4px; margin-bottom: 4px; }
|
|
145
|
+
.kanban__board-heading h2 { display: block; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
146
|
+
.kanban__navigation:not(:empty), .kanban__mobile-create { display: block; flex-shrink: 0; }
|
|
147
|
+
.kanban__desktop-create { display: none; }
|
|
148
|
+
.kanban .kanban__icon-button, .kanban__menu > summary { width: 44px; height: 44px; }
|
|
149
|
+
.kanban__context-tabs { gap: 20px; margin-bottom: 4px; }
|
|
150
|
+
.kanban__filters { flex-wrap: nowrap; gap: 4px; margin-bottom: 6px; }
|
|
151
|
+
.kanban__filters > input { flex: 1 1 0; min-width: 0; width: 0; }
|
|
152
|
+
.kanban__filters > select { flex: 1 1 0; min-width: 0; }
|
|
153
|
+
.kanban__filter-more > summary { min-height: 44px; }
|
|
154
|
+
.kanban__toolbar > small, .kanban__toolbar > [data-action^="scroll-"] { display: none; }
|
|
155
|
+
.kanban__toolbar { margin-bottom: 0; }
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.kanban-layout {display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr);height:100%;min-height:0;}
|
|
159
|
+
@media (max-width: 640px) {.kanban-layout {grid-template-columns:minmax(0,1fr);}.kanban-layout > aside {max-height:30vh;}}
|
|
160
|
+
|
|
161
|
+
.kanban__session-links { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; overflow-wrap: anywhere; }
|
|
162
|
+
.kanban__session-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--kanban-color-primary, #2563eb); padding: 6px 0; }
|
|
163
|
+
|
|
164
|
+
.kanban .kanban__item-open { display: flex; flex-direction: column; gap: 7px; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; }
|
|
165
|
+
.kanban__item-open:focus-visible { outline: 2px solid var(--kanban-color-primary, #5277dd); outline-offset: 3px; }
|
|
166
|
+
.kanban [data-item-execution]:empty { display: none; }
|
|
167
|
+
.kanban__work-resource { padding: 12px 0; border-bottom: 1px solid var(--border-color, #ddd); }
|
|
168
|
+
.kanban__work-resource p, .kanban__work-resource dd { overflow-wrap: anywhere; }
|
|
169
|
+
.kanban__work-resource dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; }
|
|
170
|
+
.kanban__work-resource dd { margin: 0; }
|
|
171
|
+
.kanban__session-list { list-style: none; padding: 0; margin: 0; }
|
|
172
|
+
.kanban__related-session { min-width: 0; padding: 12px 0; border-bottom: 1px solid var(--border-color, #ddd); overflow-wrap: anywhere; }
|
|
173
|
+
.kanban__related-session > small { display: block; margin-top: 4px; line-height: 1.5; }
|
|
174
|
+
.kanban__session-heading .kanban__session-links { display: flex; flex-wrap: nowrap; min-width: 0; }
|
|
175
|
+
.kanban__session-heading a:first-child { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
176
|
+
.kanban__session-heading a { max-width: 100%; }
|
|
177
|
+
.kanban__session-run dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; }
|
|
178
|
+
.kanban__session-run dd { margin: 0; overflow-wrap: anywhere; }
|
|
179
|
+
.kanban__copy-button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 4px; vertical-align: middle; }
|
|
180
|
+
.kanban__copy-button svg { width: 18px; height: 18px; }
|
|
181
|
+
.kanban__review-guide { padding: 12px; border: 1px solid var(--border-color, #ddd); border-radius: 6px; }
|
|
182
|
+
.kanban__review-guide ol { padding-inline-start: 20px; margin: 8px 0; }
|
|
183
|
+
.kanban__review-guide li { margin: 8px 0; }
|
|
184
|
+
|
|
185
|
+
.kanban__operations { display: grid; gap: 12px; padding-inline-start: 24px; }
|
|
186
|
+
.kanban__operations > li { border: 1px solid var(--border-color, #8885); border-radius: 8px; padding: 12px; min-width: 0; overflow-wrap: anywhere; }
|
|
187
|
+
.kanban__operations form { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
|
|
188
|
+
.kanban__operations label { display: grid; gap: 4px; max-width: 100%; }
|
|
189
|
+
.kanban__operations select { max-width: 100%; }
|
|
190
|
+
.kanban__operation-summary { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
|
|
191
|
+
|
|
192
|
+
.kanban__task-state { display: flex; flex-direction: column; gap: 0.25rem; margin-block: 0.5rem; font-weight: 500; }
|
|
193
|
+
.kanban__task-state small, .kanban__task-state time { font-size: 0.8rem; font-weight: 400; overflow-wrap: anywhere; }
|
|
194
|
+
.kanban__task-state[data-task-phase="error"], .kanban__task-state[data-task-phase="unknown"] { color: var(--color-danger, #b42318); }
|
package/package.json
CHANGED
|
@@ -1,6 +1,115 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestos/kanban",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.5.1",
|
|
4
|
+
"description": "Portable VFS-backed work coordination and transactional file protocols.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"require": {
|
|
15
|
+
"types": "./dist/index.d.cts",
|
|
16
|
+
"default": "./dist/index.cjs"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"./contracts": {
|
|
20
|
+
"import": {
|
|
21
|
+
"types": "./dist/contracts/index.d.ts",
|
|
22
|
+
"default": "./dist/contracts/index.js"
|
|
23
|
+
},
|
|
24
|
+
"require": {
|
|
25
|
+
"types": "./dist/contracts/index.d.cts",
|
|
26
|
+
"default": "./dist/contracts/index.cjs"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"./storage": {
|
|
30
|
+
"import": {
|
|
31
|
+
"types": "./dist/storage.d.ts",
|
|
32
|
+
"default": "./dist/storage.js"
|
|
33
|
+
},
|
|
34
|
+
"require": {
|
|
35
|
+
"types": "./dist/storage.d.cts",
|
|
36
|
+
"default": "./dist/storage.cjs"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"./execution": {
|
|
40
|
+
"import": {
|
|
41
|
+
"types": "./dist/execution.d.ts",
|
|
42
|
+
"default": "./dist/execution.js"
|
|
43
|
+
},
|
|
44
|
+
"require": {
|
|
45
|
+
"types": "./dist/execution.d.cts",
|
|
46
|
+
"default": "./dist/execution.cjs"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"./discovery": {
|
|
50
|
+
"import": {
|
|
51
|
+
"types": "./dist/discovery.d.ts",
|
|
52
|
+
"default": "./dist/discovery.js"
|
|
53
|
+
},
|
|
54
|
+
"require": {
|
|
55
|
+
"types": "./dist/discovery.d.cts",
|
|
56
|
+
"default": "./dist/discovery.cjs"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"./ui": {
|
|
60
|
+
"import": {
|
|
61
|
+
"types": "./dist/ui/index.d.ts",
|
|
62
|
+
"default": "./dist/ui/index.js"
|
|
63
|
+
},
|
|
64
|
+
"require": {
|
|
65
|
+
"types": "./dist/ui/index.d.cts",
|
|
66
|
+
"default": "./dist/ui/index.cjs"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"./ui.css": "./dist/ui/kanban.css",
|
|
70
|
+
"./activity": {
|
|
71
|
+
"import": {
|
|
72
|
+
"types": "./dist/activity.d.ts",
|
|
73
|
+
"default": "./dist/activity.js"
|
|
74
|
+
},
|
|
75
|
+
"require": {
|
|
76
|
+
"types": "./dist/activity.d.cts",
|
|
77
|
+
"default": "./dist/activity.cjs"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"scripts": {
|
|
82
|
+
"build": "tsup",
|
|
83
|
+
"test": "vitest run",
|
|
84
|
+
"typecheck": "tsc --noEmit",
|
|
85
|
+
"example": "tsx examples/standalone.ts"
|
|
86
|
+
},
|
|
87
|
+
"peerDependencies": {
|
|
88
|
+
"@nestos/vfs-core": "0.5.1"
|
|
89
|
+
},
|
|
90
|
+
"devDependencies": {
|
|
91
|
+
"@nestos/vfs-core": "0.5.1",
|
|
92
|
+
"typescript": "^5.9.3",
|
|
93
|
+
"tsup": "^8.5.0",
|
|
94
|
+
"vitest": "^3.2.4",
|
|
95
|
+
"jsdom": "^27.4.0",
|
|
96
|
+
"tsx": "^4.20.6"
|
|
97
|
+
},
|
|
98
|
+
"files": [
|
|
99
|
+
"dist",
|
|
100
|
+
"examples"
|
|
101
|
+
],
|
|
102
|
+
"dependencies": {
|
|
103
|
+
"@nestos/ui-common": "0.5.1"
|
|
104
|
+
},
|
|
105
|
+
"repository": {
|
|
106
|
+
"type": "git",
|
|
107
|
+
"url": "git+https://github.com/nest-agentos/NestOS.git",
|
|
108
|
+
"directory": "libraries/kanban"
|
|
109
|
+
},
|
|
110
|
+
"bugs": {
|
|
111
|
+
"url": "https://github.com/nest-agentos/NestOS/issues"
|
|
112
|
+
},
|
|
113
|
+
"homepage": "https://github.com/nest-agentos/NestOS#readme",
|
|
114
|
+
"access": "public"
|
|
115
|
+
}
|