@design.estate/dees-catalog 11.2.1 → 11.2.2
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_bundle/bundle.js +67 -16
- package/dist_bundle/bundle.js.map +1 -1
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00group-harness/dees-harness-tool-card/dees-harness-tool-card.d.ts +6 -2
- package/dist_ts_web/elements/00group-harness/dees-harness-tool-card/dees-harness-tool-card.js +68 -17
- package/package.json +2 -2
- package/readme.md +2 -2
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-harness/dees-harness-tool-card/dees-harness-tool-card.ts +67 -16
package/dist_bundle/bundle.js
CHANGED
|
@@ -172418,9 +172418,13 @@ var _DeesHarnessToolCard = class _DeesHarnessToolCard extends (_a89 = DeesElemen
|
|
|
172418
172418
|
if (typeof collapseWhenFinished === "function") return collapseWhenFinished(this.enrichedCall);
|
|
172419
172419
|
return collapseWhenFinished ?? false;
|
|
172420
172420
|
}
|
|
172421
|
-
/**
|
|
172422
|
-
|
|
172423
|
-
|
|
172421
|
+
/**
|
|
172422
|
+
* Outcome line that stands in for the body while collapsed; the subtitle already carries the
|
|
172423
|
+
* request. Derived from the settled call alone, not from the disclosure state, so the text stays
|
|
172424
|
+
* put while the line animates open or closed instead of appearing and vanishing mid-transition.
|
|
172425
|
+
*/
|
|
172426
|
+
get resultSummary() {
|
|
172427
|
+
if (!this.descriptor.summary) return "";
|
|
172424
172428
|
if (this.call.status !== "completed" && this.call.status !== "stopped") return "";
|
|
172425
172429
|
return this.descriptor.summary(this.enrichedCall).trim();
|
|
172426
172430
|
}
|
|
@@ -172447,7 +172451,7 @@ ${derivedSubtitle}` : subtitle;
|
|
|
172447
172451
|
const effectiveStatus = harnessEffectiveToolStatus(call);
|
|
172448
172452
|
const statusTone = effectiveStatus === "completed" ? "success" : effectiveStatus === "stopped" ? "warning" : effectiveStatus;
|
|
172449
172453
|
const duration = harnessFormatDuration(call.startedAt, call.finishedAt);
|
|
172450
|
-
const
|
|
172454
|
+
const resultSummary = this.resultSummary;
|
|
172451
172455
|
return b2`
|
|
172452
172456
|
<div class="harness-card status-${effectiveStatus} ${descriptor.destructive ? "destructive" : ""} ${this.hasSubtaskPreview ? "subtaskPreviewCard" : ""} ${this.hasSubtaskPreview && open ? "subtaskPreviewOpen" : ""} ${this.returnFlash ? "returnFlash" : ""} ${this.outcomeScanTone ? `outcomeScan outcomeScan-${this.outcomeScanTone}` : ""}"
|
|
172453
172457
|
@mouseenter=${this.cancelTerminalTailReturn}
|
|
@@ -172473,7 +172477,16 @@ ${derivedSubtitle}` : subtitle;
|
|
|
172473
172477
|
${this.renderMcpBadges(call)}
|
|
172474
172478
|
</span>
|
|
172475
172479
|
${subtitle ? b2`<dees-harness-overflow-text class="subtitle" title=${subtitleTooltip}>${subtitle}</dees-harness-overflow-text>` : ""}
|
|
172476
|
-
${
|
|
172480
|
+
${resultSummary ? b2`
|
|
172481
|
+
<span class="summaryDisclosure" aria-hidden=${open ? "true" : "false"}>
|
|
172482
|
+
<span class="summaryDisclosureInner">
|
|
172483
|
+
<dees-harness-overflow-text
|
|
172484
|
+
class="resultSummary"
|
|
172485
|
+
title=${resultSummary}
|
|
172486
|
+
>${resultSummary}</dees-harness-overflow-text>
|
|
172487
|
+
</span>
|
|
172488
|
+
</span>
|
|
172489
|
+
` : ""}
|
|
172477
172490
|
</span>
|
|
172478
172491
|
<span class="metaColumn">
|
|
172479
172492
|
${call.startedAt ? b2`<span class="duration">${harnessFormatClockTime(call.startedAt)}</span>` : ""}
|
|
@@ -172927,20 +172940,31 @@ __publicField(_DeesHarnessToolCard, "styles", [
|
|
|
172927
172940
|
:host {
|
|
172928
172941
|
display: block;
|
|
172929
172942
|
container-type: inline-size;
|
|
172930
|
-
margin-inline: auto;
|
|
172931
172943
|
max-width: 100%;
|
|
172932
172944
|
font-family: var(--dees-font-family);
|
|
172933
|
-
transition: max-width var(--dees-transition-default) var(--dees-ease-standard);
|
|
172934
172945
|
}
|
|
172935
172946
|
|
|
172936
172947
|
/*
|
|
172937
|
-
* A collapsed card may be held to a narrower measure than its row. The
|
|
172938
|
-
* surface
|
|
172939
|
-
*
|
|
172940
|
-
*
|
|
172941
|
-
*
|
|
172948
|
+
* A collapsed card may be held to a narrower measure than its row. The constraint lives on
|
|
172949
|
+
* the card surface rather than the host for two reasons: the surface is its own inline-size
|
|
172950
|
+
* container, so the header's container queries measure what is actually rendered, and a host
|
|
172951
|
+
* cannot transition its own width. The shared default stylesheet applies a universal
|
|
172952
|
+
* transition of background and color to every element; from the parent's tree that rule
|
|
172953
|
+
* targets this host and outranks any host-scoped rule, so a width transition declared on the
|
|
172954
|
+
* host is silently dropped and the card snaps instead of interpolating.
|
|
172955
|
+
*
|
|
172956
|
+
* The width comes from the context the card sits in: a transcript row of terminal and
|
|
172957
|
+
* file-write cards sets it, side-by-side grids leave it unset, and a direct host falls back
|
|
172958
|
+
* to the full row.
|
|
172942
172959
|
*/
|
|
172943
|
-
|
|
172960
|
+
.harness-card {
|
|
172961
|
+
max-width: 100%;
|
|
172962
|
+
margin-inline: auto;
|
|
172963
|
+
container-type: inline-size;
|
|
172964
|
+
transition: max-width var(--dees-transition-default) var(--dees-ease-standard);
|
|
172965
|
+
}
|
|
172966
|
+
|
|
172967
|
+
:host([data-collapsed]) .harness-card {
|
|
172944
172968
|
max-width: var(--dees-harness-collapsed-tool-width, 100%);
|
|
172945
172969
|
}
|
|
172946
172970
|
|
|
@@ -173093,7 +173117,31 @@ __publicField(_DeesHarnessToolCard, "styles", [
|
|
|
173093
173117
|
font-size: 12px;
|
|
173094
173118
|
}
|
|
173095
173119
|
|
|
173096
|
-
/*
|
|
173120
|
+
/*
|
|
173121
|
+
* Stands in for the body while a finished card is collapsed. It opens and closes on the same
|
|
173122
|
+
* timing as the body and the width, so the header never steps by a line at the instant of a
|
|
173123
|
+
* toggle; the node stays mounted and is hidden from assistive technology while open.
|
|
173124
|
+
*/
|
|
173125
|
+
.summaryDisclosure {
|
|
173126
|
+
display: grid;
|
|
173127
|
+
grid-template-rows: 1fr;
|
|
173128
|
+
min-height: 0;
|
|
173129
|
+
opacity: 1;
|
|
173130
|
+
transition:
|
|
173131
|
+
grid-template-rows var(--dees-transition-default) var(--dees-ease-standard),
|
|
173132
|
+
opacity var(--dees-transition-fast) var(--dees-ease-standard);
|
|
173133
|
+
}
|
|
173134
|
+
|
|
173135
|
+
.summaryDisclosure[aria-hidden='true'] {
|
|
173136
|
+
grid-template-rows: 0fr;
|
|
173137
|
+
opacity: 0;
|
|
173138
|
+
}
|
|
173139
|
+
|
|
173140
|
+
.summaryDisclosureInner {
|
|
173141
|
+
min-height: 0;
|
|
173142
|
+
overflow: hidden;
|
|
173143
|
+
}
|
|
173144
|
+
|
|
173097
173145
|
.resultSummary {
|
|
173098
173146
|
display: block;
|
|
173099
173147
|
margin-top: 2px;
|
|
@@ -173486,7 +173534,10 @@ __publicField(_DeesHarnessToolCard, "styles", [
|
|
|
173486
173534
|
}
|
|
173487
173535
|
|
|
173488
173536
|
@media (prefers-reduced-motion: reduce) {
|
|
173489
|
-
.
|
|
173537
|
+
/* The disclosure moves as one piece, so all three parts of it stop together. */
|
|
173538
|
+
.bodyDisclosure,
|
|
173539
|
+
.harness-card,
|
|
173540
|
+
.summaryDisclosure {
|
|
173490
173541
|
transition: none;
|
|
173491
173542
|
}
|
|
173492
173543
|
|
|
@@ -223844,7 +223895,7 @@ init_group_runtime();
|
|
|
223844
223895
|
// ts_web/00_commitinfo_data.ts
|
|
223845
223896
|
var commitinfo = {
|
|
223846
223897
|
name: "@design.estate/dees-catalog",
|
|
223847
|
-
version: "11.2.
|
|
223898
|
+
version: "11.2.2",
|
|
223848
223899
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
223849
223900
|
};
|
|
223850
223901
|
|