@yeverlibs/ds 1.1.0 → 1.1.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
@@ -5306,6 +5306,7 @@ var Select = dynamic__default.default(() => import('react-select'), { ssr: false
5306
5306
  var DateRangeOptions = [
5307
5307
  { value: "today", label: "Hoje" },
5308
5308
  { value: "yesterday", label: "Ontem" },
5309
+ { value: "current-month", label: "M\xEAs atual" },
5309
5310
  { value: "last-30-days", label: "\xDAltimos 30 dias" },
5310
5311
  { value: "last-month", label: "\xDAltimo m\xEAs" },
5311
5312
  { value: "custom", label: "Data personalizada" }
@@ -5381,6 +5382,9 @@ var Content = ({
5381
5382
  case "yesterday":
5382
5383
  const yesterday = dateFns.subDays(today, 1);
5383
5384
  return { startDate: yesterday, endDate: yesterday };
5385
+ case "current-month":
5386
+ const firstDayCurrentMonth = dateFns.startOfMonth(today);
5387
+ return { startDate: firstDayCurrentMonth, endDate: today };
5384
5388
  case "last-30-days":
5385
5389
  return { startDate: dateFns.subDays(today, 29), endDate: today };
5386
5390
  // 29 + today = 30
@@ -6541,10 +6545,9 @@ var TableContent = ({
6541
6545
  className: "block h-8 w-full cursor-pointer appearance-none rounded border border-gray-300 bg-white p-2 text-sm leading-tight text-gray-700 focus:border-gray-500 focus:bg-white focus:outline-none",
6542
6546
  children: [
6543
6547
  /* @__PURE__ */ jsxRuntime.jsx("option", { value: 10, children: "10" }),
6544
- /* @__PURE__ */ jsxRuntime.jsx("option", { value: 20, children: "20" }),
6545
- /* @__PURE__ */ jsxRuntime.jsx("option", { value: 40, children: "40" }),
6546
- /* @__PURE__ */ jsxRuntime.jsx("option", { value: 60, children: "60" }),
6547
- /* @__PURE__ */ jsxRuntime.jsx("option", { value: 80, children: "80" })
6548
+ /* @__PURE__ */ jsxRuntime.jsx("option", { value: 25, children: "25" }),
6549
+ /* @__PURE__ */ jsxRuntime.jsx("option", { value: 50, children: "50" }),
6550
+ /* @__PURE__ */ jsxRuntime.jsx("option", { value: 100, children: "100" })
6548
6551
  ]
6549
6552
  }
6550
6553
  ),