jazz-tools 0.20.2 → 0.20.4

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/index.js CHANGED
@@ -50,7 +50,7 @@ import {
50
50
  subscribeToCoValue,
51
51
  unstable_loadUnique,
52
52
  zodReExport_exports
53
- } from "./chunk-Q5RNSSUM.js";
53
+ } from "./chunk-XQ27DEA5.js";
54
54
  import {
55
55
  createSSRJazzAgent
56
56
  } from "./chunk-K4D7IMFM.js";
@@ -36919,11 +36919,11 @@ function PerformancePage({ onNavigate, style }) {
36919
36919
  0,
36920
36920
  (clampedStart - (displayRange?.min ?? 0)) / range * 100
36921
36921
  );
36922
- const width = Math.max(0.5, (clampedEnd - clampedStart) / range * 100);
36922
+ const width = Math.max(0, (clampedEnd - clampedStart) / range * 100);
36923
36923
  const color = entry.status === "pending" ? "var(--j-warning-color)" : entry.status === "error" ? "var(--j-error-color)" : "var(--j-success-color)";
36924
36924
  return {
36925
36925
  barLeft: `${left}%`,
36926
- barWidth: `${width}%`,
36926
+ barWidth: width === 0 ? "1px" : `${width}%`,
36927
36927
  barColor: color
36928
36928
  };
36929
36929
  };
@@ -37221,4 +37221,4 @@ react/cjs/react-jsx-runtime.development.js:
37221
37221
  * LICENSE file in the root directory of this source tree.
37222
37222
  *)
37223
37223
  */
37224
- //# sourceMappingURL=custom-element-PWRX4VCA.js.map
37224
+ //# sourceMappingURL=custom-element-WOQY2M4W.js.map