@jk-core/components 1.1.20 → 1.1.22

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
@@ -884,7 +884,7 @@ function ke({
884
884
  [L["day-tile__day--before"]]: p.thisMonth !== "this",
885
885
  [L["day-tile__day--hide-before"]]: f && p.thisMonth === "before",
886
886
  [L["day-tile__day--hide-after"]]: o && p.thisMonth === "after",
887
- [L["day-tile__day--tile"]]: !!(i && i()),
887
+ [L["day-tile__day--tile"]]: !!(i && i(p.date, "day")),
888
888
  [L["day-tile__day--range"]]: $e(p.date, t) || !!t?.[0] && $e(p.date, [t[0], r])
889
889
  }),
890
890
  type: "button",
@@ -916,7 +916,7 @@ function ke({
916
916
  }),
917
917
  children: [
918
918
  p.date.getDate(),
919
- i && i()
919
+ i && i(p.date, "day")
920
920
  ]
921
921
  }
922
922
  )
@@ -1215,7 +1215,7 @@ function Kt({
1215
1215
  disabled: l(f),
1216
1216
  children: [
1217
1217
  /* @__PURE__ */ n.jsx("span", { children: `${f + 1}월` }),
1218
- !!d(new Date(a.getFullYear(), f - 1, 1), "month") && d(new Date(a.getFullYear(), f - 1, 1), "month")
1218
+ !!d(new Date(a.getFullYear(), f, 1), "month") && d(new Date(a.getFullYear(), f, 1), "month")
1219
1219
  ]
1220
1220
  },
1221
1221
  f
@@ -1312,14 +1312,14 @@ function tr({
1312
1312
  className: E({
1313
1313
  [re["year-tile__year"]]: !0,
1314
1314
  [re["year-tile__year--selected"]]: !!t && t.getFullYear() === o,
1315
- [re["year-tile__year--border"]]: !!i(new Date(o, 1, 1), "year")
1315
+ [re["year-tile__year--border"]]: !!i(new Date(o, 0, 1), "year")
1316
1316
  }),
1317
1317
  type: "button",
1318
1318
  ref: t && t.getFullYear() === o ? l : null,
1319
1319
  onClick: () => a(o),
1320
1320
  children: [
1321
1321
  /* @__PURE__ */ n.jsx("span", { className: re["yearTile__year--year"], children: o }),
1322
- i(new Date(o, 1, 1), "year") && /* @__PURE__ */ n.jsx("div", { className: re["yearTile__year--tile"], children: i(new Date(o, 1, 1), "year") })
1322
+ i(new Date(o, 0, 1), "year") && /* @__PURE__ */ n.jsx("div", { className: re["yearTile__year--tile"], children: i(new Date(o, 0, 1), "year") })
1323
1323
  ]
1324
1324
  },
1325
1325
  o
@@ -1406,7 +1406,7 @@ function nr({
1406
1406
  selectedDate: [a, null],
1407
1407
  weeksInMonth: p,
1408
1408
  handleDayClick: j,
1409
- tileContent: () => u ? u(a, e) : null,
1409
+ tileContent: u,
1410
1410
  max: s,
1411
1411
  min: o
1412
1412
  }