@evercam/ui 0.0.47-beta.2 → 0.0.47-beta.3

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.mjs CHANGED
@@ -5189,7 +5189,6 @@ const Vt = {
5189
5189
  return this.fillTimeGaps(
5190
5190
  this.allLineChartTimestamps.map((e) => ({
5191
5191
  timestamp: e,
5192
- startDate: e,
5193
5192
  count: 0
5194
5193
  }))
5195
5194
  );
@@ -5592,8 +5591,8 @@ const Vt = {
5592
5591
  color: r,
5593
5592
  type: n
5594
5593
  }) {
5595
- const a = u.area().x((o) => this.timeScale(this.tzStringToDate(o.timestamp))).y0(this.timelineHeight).y1((o) => this.yScale(o.count)).curve(u.curveMonotoneX);
5596
- t.append("path").datum(e).classed(`${w.lineGraphPath}-${n}`, !0).attr("fill", `url(#${Q.areaGradient}-${n})`).attr("stroke", r).attr("stroke-linejoin", "round").attr("stroke-linecap", "round").attr("stroke-width", 1).attr("d", (o) => a(o));
5594
+ const a = u.area().x((i) => this.timeScale(this.tzStringToDate(i.timestamp))).y0(this.timelineHeight).y1((i) => this.yScale(i.count)).curve(u.curveMonotoneX), o = `clip-${n}`;
5595
+ t.append("defs").append("clipPath").attr("id", o).append("rect").attr("width", this.timeline.offsetWidth).attr("height", this.lineGraphChartHeight), t.append("path").datum(e).classed(`${w.lineGraphPath}-${n}`, !0).attr("fill", `url(#${Q.areaGradient}-${n})`).attr("stroke", r).attr("stroke-linejoin", "round").attr("stroke-linecap", "round").attr("stroke-width", 1).attr("d", (i) => a(i)).attr("clip-path", `url(#${o})`);
5597
5596
  },
5598
5597
  drawLineGraphHoverZones({
5599
5598
  events: e,