@economic/taco 2.57.0 → 2.57.1

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/taco.cjs CHANGED
@@ -82835,7 +82835,7 @@ function Tooltip(props) {
82835
82835
  const color2 = entry.color ?? entry.payload.color;
82836
82836
  const formatter = entry.formatter ?? entry.payload.formatter;
82837
82837
  const unit2 = entry.unit ?? entry.payload.unit;
82838
- return /* @__PURE__ */ React.createElement(React.Fragment, { key: `${entry.name}-${index2}` }, /* @__PURE__ */ React.createElement("dt", { className: "text-grey-700 mb-0 flex items-center gap-1 font-normal", "data-taco": "chart-tooltip" }, /* @__PURE__ */ React.createElement("span", { className: "-mt-px h-2.5 w-2.5 rounded-sm", style: { background: color2 } }), entry.name), /* @__PURE__ */ React.createElement("dd", { className: "mb-0 text-right font-bold tabular-nums text-black" }, (formatter == null ? void 0 : formatter(entry.value ?? "", entry.name ?? "", entry, index2, entry.payload)) ?? entry.value, " ", unit2 ? /* @__PURE__ */ React.createElement("span", { className: "text-grey-700" }, unit2) : null));
82838
+ return /* @__PURE__ */ React.createElement(React.Fragment, { key: `${entry.name}-${index2}` }, /* @__PURE__ */ React.createElement("dt", { className: "text-grey-700 mb-0 flex items-center gap-1 font-normal", "data-taco": "chart-tooltip" }, /* @__PURE__ */ React.createElement("span", { className: "-mt-px h-2.5 w-2.5 rounded-sm", style: { background: color2 } }), entry.name), /* @__PURE__ */ React.createElement("dd", { className: "mb-0 text-right font-bold tabular-nums text-black" }, (formatter == null ? void 0 : formatter(entry.value ?? "", entry.name ?? "", entry, index2, entry.payload)) ?? entry.value, unit2 ? /* @__PURE__ */ React.createElement("span", { className: "text-grey-700 pl-0.5" }, unit2) : null));
82839
82839
  })));
82840
82840
  }
82841
82841
  return null;