@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.cjs CHANGED
@@ -16970,10 +16970,10 @@ const Navbar = React__namespace.memo(({ onMonthChange, value = /* @__PURE__ */ n
16970
16970
  onMonthChange(new Date(year.value, month.value));
16971
16971
  };
16972
16972
  const onNextClick = () => {
16973
- onMonthChange(new Date(value.getFullYear(), value.getMonth() + 1, value.getDate()));
16973
+ onMonthChange(new Date(value.getFullYear(), value.getMonth() + 1));
16974
16974
  };
16975
16975
  const onPreviousClick = () => {
16976
- onMonthChange(new Date(value.getFullYear(), value.getMonth() - 1, value.getDate()));
16976
+ onMonthChange(new Date(value.getFullYear(), value.getMonth() - 1));
16977
16977
  };
16978
16978
  return /* @__PURE__ */ React__namespace.createElement("div", { className: "mb-3 flex items-center justify-between" }, /* @__PURE__ */ React__namespace.createElement("form", { className: "inline-flex space-x-1" }, /* @__PURE__ */ React__namespace.createElement("select", { className: "h-8 px-2", name: "month", onChange: handleChange, value: value.getMonth() }, months.map((month, i2) => /* @__PURE__ */ React__namespace.createElement("option", { key: month, value: i2 }, month))), /* @__PURE__ */ React__namespace.createElement("select", { className: "h-8 px-2", name: "year", onChange: handleChange, value: value.getFullYear() }, years.map((year) => /* @__PURE__ */ React__namespace.createElement("option", { key: year, value: year }, String(year))))), /* @__PURE__ */ React__namespace.createElement("div", null, /* @__PURE__ */ React__namespace.createElement(Tooltip$3, { title: actions.previousMonth }, /* @__PURE__ */ React__namespace.createElement(
16979
16979
  IconButton,