@economic/taco 2.57.0-charts.1 → 2.57.0-charts.2
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 +1 -1
- package/dist/taco.cjs.map +1 -1
- package/dist/taco.js +1 -1
- package/dist/taco.js.map +1 -1
- package/package.json +2 -2
package/dist/taco.js
CHANGED
@@ -83262,7 +83262,7 @@ const Legend = ({ hoveredItem, selectedItem, data, onClick, setHoveredItem, form
|
|
83262
83262
|
};
|
83263
83263
|
return /* @__PURE__ */ React__default.createElement("div", { className: "flex-grow pl-4" }, /* @__PURE__ */ React__default.createElement("ul", { className: "mb-0 ml-0 mt-4 flex flex-col justify-center gap-1 space-y-1" }, renderLegendItem(null), data.map(renderLegendItem)));
|
83264
83264
|
};
|
83265
|
-
const DONUT_WIDTH =
|
83265
|
+
const DONUT_WIDTH = 16;
|
83266
83266
|
const HOVER_DONUT_WIDTH = 10;
|
83267
83267
|
const CenteredLabel = ({ radius, label, total, formatter }) => {
|
83268
83268
|
const totalInset = HOVER_DONUT_WIDTH + DONUT_WIDTH + DONUT_WIDTH;
|