@design.estate/dees-catalog 11.2.0 → 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.
@@ -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
- /** Outcome line shown only while collapsed; the subtitle already carries the request. */
172422
- get collapsedSummary() {
172423
- if (this.isOpen || !this.descriptor.summary) return "";
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 collapsedSummary = this.collapsedSummary;
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
- ${collapsedSummary ? b2`<dees-harness-overflow-text class="resultSummary" title=${collapsedSummary}>${collapsedSummary}</dees-harness-overflow-text>` : ""}
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 host — not the inner
172938
- * surface — carries the constraint so the card's own inline-size container keeps measuring
172939
- * what is actually rendered. The width comes from the context the card sits in: a transcript
172940
- * row that holds this card alone sets it, a multi-card grid cell leaves it unset, and a
172941
- * direct host falls back to the full row.
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
- :host([data-collapsed]) {
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
- /* Stands in for the body while a finished card is collapsed. */
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
- .bodyDisclosure {
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
 
@@ -176543,13 +176594,15 @@ __publicField(_DeesHarnessMessageList, "styles", [
176543
176594
 
176544
176595
  /*
176545
176596
  * The pane is what an open command or diff needs, not what its one-line collapsed header
176546
- * needs, so a closed card returns to the reading measure inside its row. Only a row holding
176547
- * a single card offers it: in a multi-card grid the cell width is the layout, and shrinking
176548
- * one card would break the row. The card applies this itself — it alone knows whether it is
176549
- * open — and the measure stays defined here, with the rest of the column rules.
176597
+ * needs, so a closed card returns to the reading measure inside its row. Every full-row card
176598
+ * qualifies, however many share the group: they span all columns (see the grid-column rule
176599
+ * below) and stack vertically, so shrinking one never disturbs a neighbour. The side-by-side
176600
+ * grids are the compact and subagent ones, and neither is offered this width. The card
176601
+ * applies it itself — it alone knows whether it is open — and the measure stays defined
176602
+ * here, with the rest of the column rules.
176550
176603
  */
176551
- .stack > [data-tool-layout='full-row'][data-tool-count='1'],
176552
- .virtualItem[data-tool-layout='full-row'][data-tool-count='1'] {
176604
+ .stack > [data-tool-layout='full-row'],
176605
+ .virtualItem[data-tool-layout='full-row'] {
176553
176606
  --dees-harness-collapsed-tool-width: min(var(--dees-harness-content-width, 820px), 100%);
176554
176607
  }
176555
176608
 
@@ -223842,7 +223895,7 @@ init_group_runtime();
223842
223895
  // ts_web/00_commitinfo_data.ts
223843
223896
  var commitinfo = {
223844
223897
  name: "@design.estate/dees-catalog",
223845
- version: "11.2.0",
223898
+ version: "11.2.2",
223846
223899
  description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
223847
223900
  };
223848
223901