@economic/taco 2.67.1 → 2.67.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.js CHANGED
@@ -16952,10 +16952,10 @@ const Navbar = React.memo(({ onMonthChange, value = /* @__PURE__ */ new Date() }
16952
16952
  onMonthChange(new Date(year.value, month.value));
16953
16953
  };
16954
16954
  const onNextClick = () => {
16955
- onMonthChange(new Date(value.getFullYear(), value.getMonth() + 1, value.getDate()));
16955
+ onMonthChange(new Date(value.getFullYear(), value.getMonth() + 1));
16956
16956
  };
16957
16957
  const onPreviousClick = () => {
16958
- onMonthChange(new Date(value.getFullYear(), value.getMonth() - 1, value.getDate()));
16958
+ onMonthChange(new Date(value.getFullYear(), value.getMonth() - 1));
16959
16959
  };
16960
16960
  return /* @__PURE__ */ React.createElement("div", { className: "mb-3 flex items-center justify-between" }, /* @__PURE__ */ React.createElement("form", { className: "inline-flex space-x-1" }, /* @__PURE__ */ React.createElement("select", { className: "h-8 px-2", name: "month", onChange: handleChange, value: value.getMonth() }, months.map((month, i2) => /* @__PURE__ */ React.createElement("option", { key: month, value: i2 }, month))), /* @__PURE__ */ React.createElement("select", { className: "h-8 px-2", name: "year", onChange: handleChange, value: value.getFullYear() }, years.map((year) => /* @__PURE__ */ React.createElement("option", { key: year, value: year }, String(year))))), /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(Tooltip$3, { title: actions.previousMonth }, /* @__PURE__ */ React.createElement(
16961
16961
  IconButton,