dsh-plugin-inspiration-workbench 0.2.0 → 0.4.0
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 +9 -4
- package/lib/client.js +338 -84
- package/lib/client.js.map +2 -2
- package/package.json +1 -1
- package/src/client/board.js +296 -82
- package/src/client/icons.js +5 -0
- package/src/client/index.jsx +30 -0
- package/src/client/popovers.js +2 -0
- package/src/client/styles.css +32 -3
package/src/client/styles.css
CHANGED
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
font-size: 10px; line-height: 15px; padding: 0 4px; flex: 0 0 auto; color: var(--dsw-alias-label-secondary);
|
|
203
203
|
background: var(--dsw-alias-bg-layer-2); border: .5px solid var(--dsw-alias-border-l2); border-radius: 5px;
|
|
204
204
|
}
|
|
205
|
-
.iwb-actions { display: flex; gap: 0; flex: 0 0 auto; opacity: .
|
|
205
|
+
.iwb-actions { display: flex; gap: 0; flex: 0 0 auto; opacity: .92; transition: opacity .12s; }
|
|
206
206
|
.iwb-card:hover .iwb-actions,
|
|
207
207
|
.iwb-card:focus-within .iwb-actions,
|
|
208
208
|
.iwb-card.iwb-focus .iwb-actions { opacity: 1; }
|
|
@@ -212,10 +212,11 @@
|
|
|
212
212
|
.iwb-more .iwb-model-row { gap: 8px; }
|
|
213
213
|
.iwb-more-ico { display: inline-flex; color: var(--dsw-alias-label-tertiary); }
|
|
214
214
|
.iwb-actions button {
|
|
215
|
-
width:
|
|
216
|
-
color: var(--dsw-alias-label-
|
|
215
|
+
width: 23px; height: 23px; border-radius: 6px; display: grid; place-items: center;
|
|
216
|
+
color: var(--dsw-alias-label-secondary); background: none; border: 0; cursor: pointer;
|
|
217
217
|
}
|
|
218
218
|
.iwb-actions button:hover { background: var(--dsw-alias-interactive-bg-hover); color: var(--dsw-alias-label-primary); }
|
|
219
|
+
.iwb-actions button:focus-visible { outline: 2px solid var(--dsw-alias-label-deep-diving); outline-offset: -1px; }
|
|
219
220
|
|
|
220
221
|
.iwb-body {
|
|
221
222
|
flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 12px 12px 4px;
|
|
@@ -454,6 +455,34 @@
|
|
|
454
455
|
}
|
|
455
456
|
.iwb-msg-attach-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
456
457
|
|
|
458
|
+
/* ── pipeline edges ───────────────────────────────────────────────── */
|
|
459
|
+
.iwb-links {
|
|
460
|
+
position: absolute; left: 0; top: 0; width: 1px; height: 1px;
|
|
461
|
+
overflow: visible; pointer-events: none; z-index: 1;
|
|
462
|
+
}
|
|
463
|
+
.iwb-links path.iwb-link {
|
|
464
|
+
fill: none; stroke: var(--dsw-alias-label-deep-diving); stroke-width: 1.6;
|
|
465
|
+
opacity: .55; pointer-events: stroke; cursor: pointer;
|
|
466
|
+
}
|
|
467
|
+
.iwb-links path.iwb-link:hover { opacity: .95; stroke-width: 2; }
|
|
468
|
+
.iwb-links path.iwb-link-hit { fill: none; stroke: transparent; stroke-width: 14; pointer-events: stroke; cursor: pointer; }
|
|
469
|
+
.iwb-links path.iwb-link-temp { fill: none; stroke: var(--dsw-alias-label-deep-diving); stroke-width: 2; stroke-dasharray: 5 4; opacity: .9; }
|
|
470
|
+
.iwb-port {
|
|
471
|
+
position: absolute; right: -7px; top: 30px; width: 14px; height: 14px;
|
|
472
|
+
border-radius: 50%; border: 1.5px solid var(--dsw-alias-label-deep-diving);
|
|
473
|
+
background: var(--dsw-alias-bg-layer-1); cursor: crosshair;
|
|
474
|
+
opacity: .55; transition: opacity .12s, transform .12s; z-index: 3;
|
|
475
|
+
}
|
|
476
|
+
.iwb-card:hover .iwb-port, .iwb-card.iwb-focus .iwb-port, .iwb-port:hover { opacity: 1; }
|
|
477
|
+
.iwb-port::after {
|
|
478
|
+
content: "→"; position: absolute; inset: 0; display: grid; place-items: center;
|
|
479
|
+
font-size: 9px; line-height: 1; color: var(--dsw-alias-label-deep-diving);
|
|
480
|
+
}
|
|
481
|
+
.iwb-card.iwb-link-target { outline: 2px dashed var(--dsw-alias-label-deep-diving); outline-offset: 3px; }
|
|
482
|
+
.iwb-card-note.iwb-link-target { outline-style: solid; }
|
|
483
|
+
.iwb-link-menu { min-width: 230px; }
|
|
484
|
+
.iwb-link-remove .iwb-model-name { color: var(--dsw-alias-state-error-primary); }
|
|
485
|
+
|
|
457
486
|
/* ── pipeline ─────────────────────────────────────────────────────── */
|
|
458
487
|
.iwb-pipe-badge {
|
|
459
488
|
flex: 0 0 auto; font-size: 10px; padding: 1px 5px; border-radius: 5px;
|