@motor-hero/ui-kit 0.43.1 → 0.44.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/index.js CHANGED
@@ -822,6 +822,7 @@ function Combobox({
822
822
  )
823
823
  }
824
824
  ),
825
+ option.icon,
825
826
  /* @__PURE__ */ jsx9("span", { className: "truncate", children: option.label })
826
827
  ]
827
828
  },
@@ -965,7 +966,7 @@ function DataTableWrapper({
965
966
  // src/components/date-picker.tsx
966
967
  import * as PopoverPrimitive3 from "@radix-ui/react-popover";
967
968
  import { InputMask } from "@react-input/mask";
968
- import { endOfYear, format, isValid, parse, subYears } from "date-fns";
969
+ import { addYears, endOfYear, format, isValid, parse, subYears } from "date-fns";
969
970
  import { ptBR } from "date-fns/locale";
970
971
  import { CalendarIcon, ChevronDown, ChevronLeft as ChevronLeft2, ChevronRight as ChevronRight2, Clock } from "lucide-react";
971
972
  import * as React6 from "react";
@@ -1070,7 +1071,7 @@ function DatePickerImpl({
1070
1071
  const displayValue = displayFor(value, withTime);
1071
1072
  const matchers = toMatchers(minDate, maxDate, disabledDates);
1072
1073
  const startMonth = dateOnlyToDate(minDate) ?? subYears(/* @__PURE__ */ new Date(), 100);
1073
- const endMonth = dateOnlyToDate(maxDate) ?? endOfYear(/* @__PURE__ */ new Date());
1074
+ const endMonth = dateOnlyToDate(maxDate) ?? endOfYear(addYears(/* @__PURE__ */ new Date(), 20));
1074
1075
  const setOpen = (next) => {
1075
1076
  setOpenRaw(next);
1076
1077
  if (next) {