dsh-plugin-inspiration-workbench 0.6.0 → 0.7.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/lib/client.js +25 -6
- package/lib/client.js.map +2 -2
- package/package.json +1 -1
- package/src/client/styles.css +25 -6
package/lib/client.js
CHANGED
|
@@ -142,7 +142,7 @@ var styles_default = `/* Inspiration workbench \u2014 scoped to .iwb-root; colou
|
|
|
142
142
|
@keyframes iwb-sweep { 0% { transform: translateX(-110%); } 100% { transform: translateX(320%); } }
|
|
143
143
|
|
|
144
144
|
.iwb-head {
|
|
145
|
-
flex: 0 0 auto; height:
|
|
145
|
+
flex: 0 0 auto; height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 12px;
|
|
146
146
|
border-bottom: .5px solid var(--dsw-alias-border-l1); cursor: grab; user-select: none;
|
|
147
147
|
}
|
|
148
148
|
.iwb-dragging .iwb-head { cursor: grabbing; }
|
|
@@ -199,7 +199,7 @@ var styles_default = `/* Inspiration workbench \u2014 scoped to .iwb-root; colou
|
|
|
199
199
|
}
|
|
200
200
|
.iwb-dot.waiting { background: var(--dsw-alias-state-warn-primary); box-shadow: none; }
|
|
201
201
|
.iwb-card-workspace {
|
|
202
|
-
flex: 0
|
|
202
|
+
flex: 0 1 auto; max-width: 78px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
203
203
|
font-size: 10.5px; line-height: 16px; padding: 0 5px; border-radius: 5px;
|
|
204
204
|
color: var(--dsw-alias-label-tertiary); background: var(--dsw-alias-bg-layer-2);
|
|
205
205
|
border: .5px solid var(--dsw-alias-border-l2);
|
|
@@ -237,12 +237,15 @@ var styles_default = `/* Inspiration workbench \u2014 scoped to .iwb-root; colou
|
|
|
237
237
|
.iwb-model-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
238
238
|
.iwb-model-desc { font-size: 10.5px; color: var(--dsw-alias-label-tertiary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
239
239
|
.iwb-check { flex: 0 0 auto; font-size: 11px; color: var(--dsw-alias-label-deep-diving); width: 12px; }
|
|
240
|
-
.iwb-elapsed { font-size: 10px; color: var(--dsw-alias-label-caption); font-variant-numeric: tabular-nums; flex: 0 0 auto; }
|
|
240
|
+
.iwb-elapsed { font-size: 10px; color: var(--dsw-alias-label-caption); font-variant-numeric: tabular-nums; flex: 0 0 auto; opacity: .85; }
|
|
241
241
|
.iwb-stack-badge {
|
|
242
242
|
font-size: 10px; line-height: 15px; padding: 0 4px; flex: 0 0 auto; color: var(--dsw-alias-label-secondary);
|
|
243
243
|
background: var(--dsw-alias-bg-layer-2); border: .5px solid var(--dsw-alias-border-l2); border-radius: 5px;
|
|
244
244
|
}
|
|
245
|
-
.iwb-actions {
|
|
245
|
+
.iwb-actions {
|
|
246
|
+
display: flex; gap: 4px; flex: 0 0 auto; opacity: .92; transition: opacity .12s;
|
|
247
|
+
margin-left: 1px; padding-left: 6px; border-left: .5px solid var(--dsw-alias-border-l1);
|
|
248
|
+
}
|
|
246
249
|
.iwb-card:hover .iwb-actions,
|
|
247
250
|
.iwb-card:focus-within .iwb-actions,
|
|
248
251
|
.iwb-card.iwb-focus .iwb-actions { opacity: 1; }
|
|
@@ -256,6 +259,7 @@ var styles_default = `/* Inspiration workbench \u2014 scoped to .iwb-root; colou
|
|
|
256
259
|
color: var(--dsw-alias-label-secondary); background: none; border: 0; cursor: pointer;
|
|
257
260
|
}
|
|
258
261
|
.iwb-actions button:hover { background: var(--dsw-alias-interactive-bg-hover); color: var(--dsw-alias-label-primary); }
|
|
262
|
+
.iwb-actions svg { width: 15px; height: 15px; }
|
|
259
263
|
.iwb-actions button:focus-visible { outline: 2px solid var(--dsw-alias-label-deep-diving); outline-offset: -1px; }
|
|
260
264
|
|
|
261
265
|
.iwb-body {
|
|
@@ -508,7 +512,7 @@ var styles_default = `/* Inspiration workbench \u2014 scoped to .iwb-root; colou
|
|
|
508
512
|
.iwb-links path.iwb-link-hit { fill: none; stroke: transparent; stroke-width: 14; pointer-events: stroke; cursor: pointer; }
|
|
509
513
|
.iwb-links path.iwb-link-temp { fill: none; stroke: var(--dsw-alias-label-deep-diving); stroke-width: 2; stroke-dasharray: 5 4; opacity: .9; }
|
|
510
514
|
.iwb-port {
|
|
511
|
-
position: absolute; right: -
|
|
515
|
+
position: absolute; right: -5px; top: 33px; width: 12px; height: 12px;
|
|
512
516
|
border-radius: 50%; border: 1.5px solid var(--dsw-alias-label-deep-diving);
|
|
513
517
|
background: var(--dsw-alias-bg-layer-1); cursor: crosshair;
|
|
514
518
|
opacity: .55; transition: opacity .12s, transform .12s; z-index: 3;
|
|
@@ -516,7 +520,7 @@ var styles_default = `/* Inspiration workbench \u2014 scoped to .iwb-root; colou
|
|
|
516
520
|
.iwb-card:hover .iwb-port, .iwb-card.iwb-focus .iwb-port, .iwb-port:hover { opacity: 1; }
|
|
517
521
|
.iwb-port::after {
|
|
518
522
|
content: "\u2192"; position: absolute; inset: 0; display: grid; place-items: center;
|
|
519
|
-
font-size:
|
|
523
|
+
font-size: 8px; line-height: 1; color: var(--dsw-alias-label-deep-diving);
|
|
520
524
|
}
|
|
521
525
|
.iwb-card.iwb-link-target { outline: 2px dashed var(--dsw-alias-label-deep-diving); outline-offset: 3px; }
|
|
522
526
|
.iwb-card-note.iwb-link-target { outline-style: solid; }
|
|
@@ -568,6 +572,21 @@ var styles_default = `/* Inspiration workbench \u2014 scoped to .iwb-root; colou
|
|
|
568
572
|
.iwb-card.iwb-selected .iwb-head { border-bottom-color: color-mix(in srgb, var(--dsw-alias-label-deep-diving) 55%, transparent); }
|
|
569
573
|
.iwb-arrange { min-width: 190px; }
|
|
570
574
|
|
|
575
|
+
/* \u2500\u2500 narrow cards: keep the header breathable \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
576
|
+
.iwb-card { container-type: inline-size; }
|
|
577
|
+
@container (max-width: 430px) {
|
|
578
|
+
.iwb-head { gap: 6px; padding-right: 6px; }
|
|
579
|
+
.iwb-card-workspace { display: none; }
|
|
580
|
+
.iwb-meta { max-width: 96px; }
|
|
581
|
+
.iwb-pipe-badge { max-width: 68px; }
|
|
582
|
+
.iwb-actions { gap: 3px; padding-left: 4px; }
|
|
583
|
+
}
|
|
584
|
+
@container (max-width: 355px) {
|
|
585
|
+
.iwb-elapsed { display: none; }
|
|
586
|
+
.iwb-meta { max-width: 78px; }
|
|
587
|
+
.iwb-actions button { width: 21px; height: 21px; }
|
|
588
|
+
}
|
|
589
|
+
|
|
571
590
|
/* \u2500\u2500 keyboard focus \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
572
591
|
.iwb-card { outline: none; }
|
|
573
592
|
.iwb-card.iwb-focus,
|