@malloydata/render 0.0.203-dev241023170054 → 0.0.203-dev241023171450

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.
@@ -93760,7 +93760,13 @@ function rst(t) {
93760
93760
  };
93761
93761
  return (() => {
93762
93762
  var i = Jit(), s = i.firstChild, o = s.nextSibling;
93763
- return qQ(i, "click", n.onClick ? r : void 0, !0), xt(s, () => t.field.name), xt(o, () => e.renderValue), pr(() => o.classList.toggle("dashboard-item-value-measure", !!t.isMeasure)), i;
93763
+ return qQ(i, "click", n.onClick ? r : void 0, !0), xt(s, () => t.field.name), xt(o, () => e.renderValue), pr((u) => {
93764
+ var a = !!t.isMeasure, l = e.renderAs === "table";
93765
+ return a !== u.e && o.classList.toggle("dashboard-item-value-measure", u.e = a), l !== u.t && o.classList.toggle("dashboard-item-value-table", u.t = l), u;
93766
+ }, {
93767
+ e: void 0,
93768
+ t: void 0
93769
+ }), i;
93764
93770
  })();
93765
93771
  }
93766
93772
  function ist(t) {
@@ -148269,6 +148275,11 @@ const Hst = `:host {
148269
148275
  font-size: 20px;
148270
148276
  }
148271
148277
 
148278
+ .dashboard-item-value-table {
148279
+ /* Fit ten non-wrapped table rows */
148280
+ max-height: 361px;
148281
+ }
148282
+
148272
148283
  .dashboard-dimension-wrapper {
148273
148284
  display: grid;
148274
148285
  grid-template-rows: auto;