gf-components 0.1.153 → 0.1.154

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.es.js CHANGED
@@ -41132,7 +41132,7 @@ const za = 12, d1 = 14, Rs = Zt.tspan`
41132
41132
  axisLeft: l = {}
41133
41133
  }) => {
41134
41134
  const c = (d) => d.bars.map((f, h) => {
41135
- const p = f.data.id, g = f.data.data, v = p == null ? void 0 : p.replace("Total", ""), b = g == null ? void 0 : g[`${v}Total`], y = g == null ? void 0 : g[`${v}Renewable`], x = g == null ? void 0 : g[`${v}Other`], S = b ? f.height * y / b : 0, w = b ? f.height * x / b : 0;
41135
+ const p = f.data.id, g = f.data.data, v = p == null ? void 0 : p.replace("Total", ""), b = g == null ? void 0 : g[`${v}Total`], y = (g == null ? void 0 : g[`${v}Renewable`]) || 0, x = (g == null ? void 0 : g[`${v}Other`]) || 0, S = b ? f.height * y / b : 0, w = b ? f.height * x / b : 0;
41136
41136
  return /* @__PURE__ */ m.jsxs("g", { children: [
41137
41137
  /* @__PURE__ */ m.jsx(
41138
41138
  "rect",