@economic/taco 2.57.0-charts.6 → 2.57.0-charts.7

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.js CHANGED
@@ -82948,7 +82948,7 @@ function Legend$1(props) {
82948
82948
  handleToggle(item.dataKey);
82949
82949
  };
82950
82950
  const moreButton = (moreButtonText) => /* @__PURE__ */ React__default.createElement(Button$4, { appearance: "transparent", className: "text-grey-700 !h-5 !min-h-[1.25rem] !px-1.5 text-xs" }, moreButtonText);
82951
- return /* @__PURE__ */ React__default.createElement(OverflowGroup, { className: "mt-2.5 w-full gap-x-1", moreButton }, items.map((item, index2) => {
82951
+ return /* @__PURE__ */ React__default.createElement(OverflowGroup, { className: "mt-3 w-full gap-x-1", moreButton }, items.map((item, index2) => {
82952
82952
  const className = clsx("mr-1 flex h-3 w-3 rounded-sm", {
82953
82953
  border: item.isHidden
82954
82954
  });
@@ -83002,7 +83002,7 @@ function useChart(children, options) {
83002
83002
  },
83003
83003
  isAnimationActive: false,
83004
83004
  fill: color2,
83005
- fillOpacity: 0.75,
83005
+ fillOpacity: 0.8,
83006
83006
  formatter: item.formatter,
83007
83007
  name: item.label,
83008
83008
  stroke: color2,
@@ -83049,7 +83049,7 @@ function AreaChart(props) {
83049
83049
  yAxisWidth,
83050
83050
  ...attributes
83051
83051
  } = props;
83052
- const className = clsx("relative aspect-video", { "pb-6": showLegend }, customClassName);
83052
+ const className = clsx("relative aspect-video", { "pb-8": showLegend }, customClassName);
83053
83053
  const { items, shapes, activeIndex, setActiveIndex, toggleItem } = useChart(children);
83054
83054
  return /* @__PURE__ */ React__default.createElement("div", { className, "data-taco": "chart-wrapper" }, /* @__PURE__ */ React__default.createElement(ChartWrapper, { ...attributes, className: "h-full w-full", "data-taco": "chart-area" }, /* @__PURE__ */ React__default.createElement(
83055
83055
  AreaChart$1,
@@ -83117,7 +83117,7 @@ function BarChart(props) {
83117
83117
  yAxisWidth,
83118
83118
  ...attributes
83119
83119
  } = props;
83120
- const className = clsx("relative aspect-video", { "pb-6": showLegend }, customClassName);
83120
+ const className = clsx("relative aspect-video", { "pb-8": showLegend }, customClassName);
83121
83121
  const { items, shapes, activeIndex, setActiveIndex, toggleItem } = useChart(children);
83122
83122
  return /* @__PURE__ */ React__default.createElement("div", { className, "data-taco": "chart-wrapper" }, /* @__PURE__ */ React__default.createElement(ChartWrapper, { ...attributes, className: "h-full w-full", "data-taco": "chart-bar" }, /* @__PURE__ */ React__default.createElement(
83123
83123
  BarChart$1,
@@ -83481,7 +83481,7 @@ function LineChart(props) {
83481
83481
  yAxisWidth,
83482
83482
  ...attributes
83483
83483
  } = props;
83484
- const className = clsx("relative aspect-video", { "pb-6": showLegend }, customClassName);
83484
+ const className = clsx("relative aspect-video", { "pb-8": showLegend }, customClassName);
83485
83485
  const { items, shapes, activeIndex, setActiveIndex, toggleItem } = useChart(children);
83486
83486
  return /* @__PURE__ */ React__default.createElement("div", { className, "data-taco": "chart-wrapper" }, /* @__PURE__ */ React__default.createElement(ChartWrapper, { ...attributes, className: "h-full w-full", "data-taco": "chart-line" }, /* @__PURE__ */ React__default.createElement(
83487
83487
  LineChart$1,