@s_and_a/arrow-ui 0.2.3 → 0.2.5

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
@@ -26520,7 +26520,7 @@ var DD = [
26520
26520
  });
26521
26521
  }
26522
26522
  return r;
26523
- }), ee = O(() => Math.max(uA, ...R.value.map((e) => e.bottom + e.height))), te = (e) => ({
26523
+ }), ee = O(() => Math.max(0, ...R.value.map((e) => e.bottom + e.height))), te = (e) => ({
26524
26524
  left: `${_(e.start)}%`,
26525
26525
  width: `${_(e.end) - _(e.start)}%`,
26526
26526
  bottom: `calc(var(--ar-chart-stack-unit, 64px) * ${e.bottom})`,
@@ -26555,7 +26555,8 @@ var DD = [
26555
26555
  "aria-label": e.label,
26556
26556
  style: H({ "--ar-chart-tick-width": `${Math.max(0, y.value.length - 1) * 40}px` })
26557
26557
  }, [M("div", Vk, [
26558
- M("div", {
26558
+ R.value.length ? (U(), j("div", {
26559
+ key: 0,
26559
26560
  "data-part": "stack-plot",
26560
26561
  style: H({ height: `calc(var(--ar-chart-stack-unit, 64px) * ${ee.value})` })
26561
26562
  }, [(U(!0), j(S, null, G(R.value, (e) => (U(), k(R_, {
@@ -26573,7 +26574,7 @@ var DD = [
26573
26574
  "aria-label": e.tip
26574
26575
  }, null, 8, Hk)]),
26575
26576
  _: 2
26576
- }, 1032, ["style"]))), 128))], 4),
26577
+ }, 1032, ["style"]))), 128))], 4)) : A("", !0),
26577
26578
  M("div", Wk, [(U(!0), j(S, null, G(L.value, (t, n) => (U(), k(R_, {
26578
26579
  key: `line:${n}`,
26579
26580
  style: H({