impact-nova 2.5.10 → 2.5.11

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.
Files changed (59) hide show
  1. package/dist/components/data/expandable-list-item/expandable-list-item-attributes.js +3 -2
  2. package/dist/components/data/expandable-list-item/expandable-list-item-metrics.js +3 -2
  3. package/dist/components/data-display/calendar/calendar-apply-validation.d.ts +2 -0
  4. package/dist/components/data-display/calendar/calendar-apply-validation.js +64 -67
  5. package/dist/components/data-display/calendar/calendar-available-view.d.ts +27 -0
  6. package/dist/components/data-display/calendar/calendar-available-view.js +85 -0
  7. package/dist/components/data-display/calendar/calendar-day-picker-components.d.ts +4 -2
  8. package/dist/components/data-display/calendar/calendar-day-picker-components.js +163 -152
  9. package/dist/components/data-display/calendar/calendar-day-picker-view.js +77 -76
  10. package/dist/components/data-display/calendar/calendar-fiscal-period-nav.d.ts +6 -0
  11. package/dist/components/data-display/calendar/calendar-fiscal-period-nav.js +34 -18
  12. package/dist/components/data-display/calendar/calendar-month-utils.d.ts +5 -0
  13. package/dist/components/data-display/calendar/calendar-month-utils.js +85 -64
  14. package/dist/components/data-display/calendar/calendar-selection-appearance.d.ts +1 -0
  15. package/dist/components/data-display/calendar/calendar-selection-appearance.js +31 -30
  16. package/dist/components/data-display/calendar/calendar-week-number-cell.d.ts +2 -1
  17. package/dist/components/data-display/calendar/calendar-week-number-cell.js +55 -41
  18. package/dist/components/data-display/calendar/calendar-year-panes.d.ts +2 -0
  19. package/dist/components/data-display/calendar/calendar-year-panes.js +3 -1
  20. package/dist/components/data-display/calendar/calendar.js +146 -143
  21. package/dist/components/data-display/calendar/calendar.types.d.ts +5 -0
  22. package/dist/components/data-display/calendar/use-calendar-day-picker-config.d.ts +2 -1
  23. package/dist/components/data-display/calendar/use-calendar-day-picker-config.js +79 -74
  24. package/dist/components/data-display/calendar/use-calendar-state.d.ts +3 -1
  25. package/dist/components/data-display/calendar/use-calendar-state.js +403 -325
  26. package/dist/components/feedback/tooltip/tab-tooltip-render.js +3 -2
  27. package/dist/components/flows/command-palette/shortcut-settings.js +10 -10
  28. package/dist/components/flows/filter-panel/filter-panel.js +4 -4
  29. package/dist/components/forms/date-picker/date-picker.js +60 -58
  30. package/dist/components/forms/date-picker/date-picker.types.d.ts +5 -0
  31. package/dist/components/forms/date-picker/date-range-picker.js +66 -64
  32. package/dist/components/forms/date-picker/fiscal-pass-through.d.ts +1 -0
  33. package/dist/components/forms/date-picker/fiscal-pass-through.js +3 -2
  34. package/dist/components/forms/date-picker/month-picker.js +61 -59
  35. package/dist/components/forms/date-picker/month-range-picker.js +63 -61
  36. package/dist/components/forms/date-picker/multi-date-picker.js +51 -49
  37. package/dist/components/forms/date-picker/multi-month-picker.js +49 -47
  38. package/dist/components/forms/date-picker/multi-quarter-picker.js +46 -44
  39. package/dist/components/forms/date-picker/multi-week-picker.js +53 -51
  40. package/dist/components/forms/date-picker/multi-year-picker.js +48 -46
  41. package/dist/components/forms/date-picker/quarter-picker.js +46 -44
  42. package/dist/components/forms/date-picker/quarter-range-picker.js +45 -43
  43. package/dist/components/forms/date-picker/week-picker.js +68 -66
  44. package/dist/components/forms/date-picker/week-range-picker.js +82 -80
  45. package/dist/components/forms/date-picker/year-picker.js +47 -45
  46. package/dist/components/forms/date-picker/year-range-picker.js +47 -45
  47. package/dist/components/forms/select/components/SelectTriggerValue.js +3 -2
  48. package/dist/components/forms/select/components/Submenu.js +3 -2
  49. package/dist/form-react/Fields/DateInputField.js +51 -50
  50. package/dist/form-react/Fields/DateRangeField.js +14 -13
  51. package/dist/form-react/Fields/MonthRangeField.js +29 -28
  52. package/dist/form-react/Fields/MultiMonthPickerField.js +13 -12
  53. package/dist/form-react/Fields/MultiWeekPickerField.js +18 -17
  54. package/dist/form-react/Fields/WeekRangePicker.js +22 -21
  55. package/dist/form-react/types/fields.types.d.ts +12 -0
  56. package/dist/impact-nova.css +1 -1
  57. package/dist/llms/rules/installation.js +1 -1
  58. package/dist/llms/rules/requirements.js +1 -1
  59. package/package.json +1 -1
@@ -1,67 +1,73 @@
1
- import { jsx as i, jsxs as q } from "react/jsx-runtime";
2
- import * as v from "react";
3
- import { useDayPicker as le } from "react-day-picker";
4
- import { ChevronRight as J } from "impact-nova-icons";
1
+ import { jsx as i, jsxs as M } from "react/jsx-runtime";
2
+ import * as k from "react";
3
+ import { useDayPicker as ue } from "react-day-picker";
4
+ import { ChevronRight as Q } from "impact-nova-icons";
5
5
  import { cn as y } from "../../../lib/utils.js";
6
- import { Button as M } from "../../primitives/button/button.js";
7
- import { Select as Q } from "../../forms/select/select.js";
8
- import { CalendarCaptionHeader as ce } from "./calendar-caption-header.js";
9
- import { CalendarDayButton as de } from "./calendar-day-button.js";
10
- import { PanelIndexContext as P } from "./calendar-panel-context.js";
11
- import { CalendarWeekNumberCell as me } from "./calendar-week-number-cell.js";
12
- import { paneCivilMonthIndex as fe } from "./calendar-week-number-header.js";
13
- import { buildFiscalYear as ue } from "../../../lib/fiscal-calendar/build-year.js";
14
- import { civilMonthAtOffset as N, midMonthDate as F, visibleMonthForPeriod as U, periodForCivilMonth as X } from "./calendar-fiscal-period-nav.js";
15
- import { getAvailableMonths as pe } from "./calendar-month-utils.js";
16
- import { isCalendarPaddingWeek as Z, weekHasInMonthSelection as he, weekIntervalContinues as ve } from "./calendar-padding-week.utils.js";
17
- import { isForeignFiscalWeekRow as $, fiscalPeriodForWeek as L } from "./calendar-week-utils.js";
18
- import { FiscalPeriodCaptionSelect as xe } from "./fiscal-period-caption-select.js";
19
- function I(D, h, d) {
20
- if (h != null && D)
6
+ import { Button as U } from "../../primitives/button/button.js";
7
+ import { Select as X } from "../../forms/select/select.js";
8
+ import { CalendarCaptionHeader as me } from "./calendar-caption-header.js";
9
+ import { CalendarDayButton as pe } from "./calendar-day-button.js";
10
+ import { PanelIndexContext as D } from "./calendar-panel-context.js";
11
+ import { CalendarWeekNumberCell as he } from "./calendar-week-number-cell.js";
12
+ import { paneCivilMonthIndex as ve } from "./calendar-week-number-header.js";
13
+ import { buildFiscalYear as xe } from "../../../lib/fiscal-calendar/build-year.js";
14
+ import { civilMonthAtOffset as N, midMonthDate as g, periodForFiscalYearChange as ke, visibleMonthForPeriod as Z, periodsAvailableInBounds as Pe, periodForCivilMonth as $ } from "./calendar-fiscal-period-nav.js";
15
+ import { getAvailableMonths as ye, isWeekSelectableInBounds as De } from "./calendar-month-utils.js";
16
+ import { isCalendarPaddingWeek as L, weekHasInMonthSelection as Se, weekIntervalContinues as We } from "./calendar-padding-week.utils.js";
17
+ import { isForeignFiscalWeekRow as T, fiscalPeriodForWeek as V } from "./calendar-week-utils.js";
18
+ import { FiscalPeriodCaptionSelect as be } from "./fiscal-period-caption-select.js";
19
+ function C(h, f, l) {
20
+ if (f != null && h)
21
21
  try {
22
- return ue(D, h).periods;
22
+ return xe(h, f).periods;
23
23
  } catch {
24
24
  }
25
- return d ?? [];
25
+ return l ?? [];
26
26
  }
27
- function ze({
28
- buttonVariant: D,
29
- pickerType: h,
30
- calendarKind: d,
31
- currentMonth: x,
32
- monthsFull: g,
33
- monthsShort: T,
34
- resolvedStartMonth: V,
35
- resolvedEndMonth: K,
36
- availableYears: C,
37
- fiscalPeriods: S,
27
+ function K(h, f, l) {
28
+ const S = h.days[0]?.date, m = h.days[h.days.length - 1]?.date;
29
+ return !S || !m ? !1 : De(S, m, f, l);
30
+ }
31
+ function Je({
32
+ buttonVariant: h,
33
+ pickerType: f,
34
+ calendarKind: l,
35
+ granularity: S,
36
+ currentMonth: m,
37
+ monthsFull: A,
38
+ monthsShort: ee,
39
+ resolvedStartMonth: te,
40
+ resolvedEndMonth: oe,
41
+ availableYears: Y,
42
+ fiscalPeriods: F,
38
43
  fiscalConfig: W,
39
- weekStartsOn: ee,
40
- previousMonthLabel: A,
41
- nextMonthLabel: Y,
42
- monthPlaceholder: j,
43
- yearPlaceholder: te,
44
- weekNumberLabel: oe,
45
- weekNumberHeader: O,
46
- weekLabel: ne,
47
- fiscalWeekNumberLabel: re,
48
- fiscalWeekAriaLabel: ie,
49
- getCellMeta: c,
50
- onMonthChange: k,
51
- onWeekSelect: R,
52
- periodRowHover: z = !1,
53
- weekMode: B = "single",
54
- showPeriodBoundaries: se = !1,
55
- components: ae
44
+ weekStartsOn: ne,
45
+ previousMonthLabel: B,
46
+ nextMonthLabel: j,
47
+ monthPlaceholder: O,
48
+ yearPlaceholder: re,
49
+ weekNumberLabel: ie,
50
+ weekNumberHeader: R,
51
+ weekLabel: se,
52
+ fiscalWeekNumberLabel: ae,
53
+ fiscalWeekAriaLabel: le,
54
+ getCellMeta: d,
55
+ onMonthChange: P,
56
+ onWeekSelect: z,
57
+ periodRowHover: _ = !1,
58
+ weekMode: E = "single",
59
+ showPeriodBoundaries: ce = !1,
60
+ disabled: w,
61
+ components: de
56
62
  }) {
57
- function _(e) {
58
- if (d !== "fiscal") return;
59
- const t = N(x, e);
60
- return X(
61
- I(
63
+ function G(e) {
64
+ if (l !== "fiscal") return;
65
+ const t = N(m, e);
66
+ return $(
67
+ C(
62
68
  W,
63
- c?.(F(t))?.fy ?? c?.(t)?.fy,
64
- S
69
+ d?.(g(t))?.fy ?? d?.(t)?.fy,
70
+ F
65
71
  ),
66
72
  t.getFullYear(),
67
73
  t.getMonth()
@@ -70,226 +76,231 @@ function ze({
70
76
  return {
71
77
  Root: ({ className: e, rootRef: t, ...o }) => /* @__PURE__ */ i("div", { "data-slot": "calendar", ref: t, className: y(e), ...o }),
72
78
  Chevron: ({ className: e, orientation: t, ...o }) => t === "left" ? /* @__PURE__ */ i(
73
- J,
79
+ Q,
74
80
  {
75
81
  size: 16,
76
82
  className: y("rotate-180 text-content", e),
77
83
  ...o
78
84
  }
79
- ) : t === "right" ? /* @__PURE__ */ i(J, { size: 16, className: y("text-content", e), ...o }) : /* @__PURE__ */ i("span", {}),
85
+ ) : t === "right" ? /* @__PURE__ */ i(Q, { size: 16, className: y("text-content", e), ...o }) : /* @__PURE__ */ i("span", {}),
80
86
  PreviousMonthButton: (e) => /* @__PURE__ */ i(
81
- M,
87
+ U,
82
88
  {
83
- variant: D,
89
+ variant: h,
84
90
  size: "icon",
85
91
  className: "h-7 w-7",
86
- "aria-label": A,
87
- title: A,
92
+ "aria-label": B,
93
+ title: B,
88
94
  ...e
89
95
  }
90
96
  ),
91
97
  NextMonthButton: (e) => /* @__PURE__ */ i(
92
- M,
98
+ U,
93
99
  {
94
- variant: D,
100
+ variant: h,
95
101
  size: "icon",
96
102
  className: "h-7 w-7",
97
- "aria-label": Y,
98
- title: Y,
103
+ "aria-label": j,
104
+ title: j,
99
105
  ...e
100
106
  }
101
107
  ),
102
108
  MonthCaption: ({ displayIndex: e, calendarMonth: t, ...o }) => /* @__PURE__ */ i("div", { ...o }),
103
109
  Month: ({ calendarMonth: e, displayIndex: t, className: o, children: r, ...s }) => {
104
- const l = v.Children.toArray(r), f = l[l.length - 1], a = l.slice(0, -1);
105
- return /* @__PURE__ */ i(P.Provider, { value: t, children: /* @__PURE__ */ q("div", { className: y(o), ...s, children: [
106
- a.length > 0 ? /* @__PURE__ */ i(ce, { children: a }) : null,
107
- f
110
+ const c = k.Children.toArray(r), p = c[c.length - 1], a = c.slice(0, -1);
111
+ return /* @__PURE__ */ i(D.Provider, { value: t, children: /* @__PURE__ */ M("div", { className: y(o), ...s, children: [
112
+ a.length > 0 ? /* @__PURE__ */ i(me, { children: a }) : null,
113
+ p
108
114
  ] }) });
109
115
  },
110
116
  Months: ({ className: e, children: t, ...o }) => /* @__PURE__ */ i(
111
117
  "div",
112
118
  {
113
119
  "data-slot": "day-months",
114
- "data-period-row-hover": z ? "true" : void 0,
115
- "data-week-gutter-track": h === "week" ? "true" : void 0,
120
+ "data-period-row-hover": _ ? "true" : void 0,
121
+ "data-week-gutter-track": f === "week" ? "true" : void 0,
116
122
  className: y(e),
117
123
  ...o,
118
124
  children: t
119
125
  }
120
126
  ),
121
127
  DropdownNav: ({ children: e, className: t, ...o }) => {
122
- if (d !== "fiscal")
128
+ if (l !== "fiscal")
123
129
  return /* @__PURE__ */ i("div", { className: t, ...o, children: e });
124
- const r = v.Children.toArray(e), s = (n) => v.isValidElement(n) && n.key != null ? String(n.key) : "", l = r.find((n) => s(n).endsWith("year")), f = r.find((n) => s(n).endsWith("month")), a = r.filter((n) => {
125
- const m = s(n);
126
- return !m.endsWith("year") && !m.endsWith("month");
130
+ const r = k.Children.toArray(e), s = (n) => k.isValidElement(n) && n.key != null ? String(n.key) : "", c = r.find((n) => s(n).endsWith("year")), p = r.find((n) => s(n).endsWith("month")), a = r.filter((n) => {
131
+ const u = s(n);
132
+ return !u.endsWith("year") && !u.endsWith("month");
127
133
  });
128
- return /* @__PURE__ */ q("div", { className: t, ...o, children: [
129
- l,
130
- f,
134
+ return /* @__PURE__ */ M("div", { className: t, ...o, children: [
135
+ c,
136
+ p,
131
137
  a
132
138
  ] });
133
139
  },
134
140
  MonthsDropdown: ({ value: e }) => {
135
- const t = v.useContext(P), o = t > 0, r = N(x, t), s = r.getFullYear();
136
- if (d === "fiscal" && W) {
137
- const a = c?.(F(r)) ?? c?.(r), n = I(W, a?.fy, S), m = X(
141
+ const t = k.useContext(D), o = t > 0, r = N(m, t), s = r.getFullYear();
142
+ if (l === "fiscal" && W) {
143
+ const a = d?.(g(r)) ?? d?.(r), n = C(W, a?.fy, F), u = Pe(n, w), v = $(
138
144
  n,
139
145
  r.getFullYear(),
140
146
  r.getMonth()
141
147
  );
142
148
  return /* @__PURE__ */ i(
143
- xe,
149
+ be,
144
150
  {
145
- periods: n,
146
- selectedPeriod: m,
147
- placeholder: j,
148
- onPeriodChange: (u) => {
149
- k(U(u, o));
151
+ periods: u,
152
+ selectedPeriod: v,
153
+ placeholder: O,
154
+ onPeriodChange: (x) => {
155
+ P(Z(x, o));
150
156
  }
151
157
  }
152
158
  );
153
159
  }
154
- const f = pe(
160
+ const p = ye(
155
161
  s,
156
- g,
157
- V,
158
- K
162
+ A,
163
+ te,
164
+ oe
159
165
  );
160
166
  return /* @__PURE__ */ i(
161
- Q,
167
+ X,
162
168
  {
163
- value: f.find((a) => a.value === e?.toString()),
169
+ value: p.find((a) => a.value === e?.toString()),
164
170
  onChange: (a) => {
165
171
  if (a && "value" in a) {
166
172
  const n = parseInt(a.value);
167
- k(o ? new Date(s, n - 1, 1) : new Date(s, n, 1));
173
+ P(o ? new Date(s, n - 1, 1) : new Date(s, n, 1));
168
174
  }
169
175
  },
170
176
  scrollToSelectedOnOpen: !0,
171
- options: f,
177
+ options: p,
172
178
  className: "w-[116px] shrink-0",
173
179
  menuWidth: "160px",
174
180
  isSearchable: !0,
175
181
  isClearable: !1,
176
- placeholder: j
182
+ placeholder: O
177
183
  }
178
184
  );
179
185
  },
180
186
  YearsDropdown: ({ value: e }) => {
181
- const t = v.useContext(P), o = t > 0, r = d === "fiscal" && W, s = N(x, t), l = r ? c?.(F(s)) ?? c?.(s) : void 0, f = r && l?.fy != null ? String(l.fy) : e?.toString();
187
+ const t = k.useContext(D), o = t > 0, r = l === "fiscal" && W, s = N(m, t), c = r ? d?.(g(s)) ?? d?.(s) : void 0, p = r && c?.fy != null ? String(c.fy) : e?.toString();
182
188
  return /* @__PURE__ */ i(
183
- Q,
189
+ X,
184
190
  {
185
- value: C.find((n) => n.value === f),
191
+ value: Y.find((n) => n.value === p),
186
192
  onChange: (n) => {
187
193
  if (n && "value" in n) {
188
- const m = parseInt(n.value);
194
+ const u = parseInt(n.value);
189
195
  if (r) {
190
- const u = I(W, m, S), p = u.find((b) => b.period === l?.fiscalPeriod) ?? u[0];
191
- p && k(U(p, o));
196
+ const v = ke({
197
+ periods: C(W, u, F),
198
+ preferredPeriod: c?.fiscalPeriod,
199
+ disabled: w
200
+ });
201
+ v && P(Z(v, o));
192
202
  return;
193
203
  }
194
204
  if (o) {
195
- const u = new Date(
196
- x.getFullYear(),
197
- x.getMonth() + 1,
205
+ const v = new Date(
206
+ m.getFullYear(),
207
+ m.getMonth() + 1,
198
208
  1
199
209
  ).getMonth();
200
- k(new Date(m, u - 1, 1));
210
+ P(new Date(u, v - 1, 1));
201
211
  } else
202
- k(new Date(m, x.getMonth(), 1));
212
+ P(new Date(u, m.getMonth(), 1));
203
213
  }
204
214
  },
205
215
  scrollToSelectedOnOpen: !0,
206
- options: C,
216
+ options: Y,
207
217
  className: "w-[116px] shrink-0",
208
218
  menuWidth: "140px",
209
219
  isSearchable: !0,
210
220
  isClearable: !1,
211
- placeholder: te
221
+ placeholder: re
212
222
  }
213
223
  );
214
224
  },
215
225
  DayButton: (e) => /* @__PURE__ */ i(
216
- de,
226
+ pe,
217
227
  {
218
228
  ...e,
219
- pickerType: h,
229
+ pickerType: f,
220
230
  modifiers: {
221
231
  ...e.modifiers,
222
- ...se ? {
223
- fiscal_period_start: !!c?.(e.day.date)?.isPeriodStart,
224
- fiscal_period_end: !!c?.(e.day.date)?.isPeriodEnd
232
+ ...ce ? {
233
+ fiscal_period_start: !!d?.(e.day.date)?.isPeriodStart,
234
+ fiscal_period_end: !!d?.(e.day.date)?.isPeriodEnd
225
235
  } : {}
226
236
  }
227
237
  }
228
238
  ),
229
239
  Week: ({ week: e, className: t, children: o, onClick: r, ...s }) => {
230
- const { isSelected: l } = le(), f = v.useContext(P), a = Z(e), n = h === "week", m = L(e, c), u = _(f), p = a || $({
231
- calendarKind: d,
232
- weekPeriod: m,
233
- panePeriod: u
234
- }), b = z && !p ? m : void 0, E = !p && he(e, l), G = h === "week" && B !== "multiple" && B !== "multi-range" && E ? ve(e, l, {
235
- joinAdjacentWeek: d === "fiscal",
236
- panePeriod: u,
237
- periodForDate: (w) => c?.(w)?.fiscalPeriod
240
+ const { isSelected: c } = ue(), p = k.useContext(D), a = L(e), n = f === "week", u = V(e, d), v = G(p), x = a || T({
241
+ calendarKind: l,
242
+ weekPeriod: u,
243
+ panePeriod: v
244
+ }), fe = _ && !x ? u : void 0, I = n && !x && !K(e, w, S), H = !x && !I && Se(e, c), q = f === "week" && E !== "multiple" && E !== "multi-range" && H ? We(e, c, {
245
+ joinAdjacentWeek: l === "fiscal",
246
+ panePeriod: v,
247
+ periodForDate: (b) => d?.(b)?.fiscalPeriod
238
248
  }) : { prev: !1, next: !1 };
239
249
  return /* @__PURE__ */ i(
240
250
  "tr",
241
251
  {
242
252
  className: y(
243
253
  t,
244
- p && "invisible order-last",
245
- n && !p && "cursor-pointer"
254
+ x && "invisible order-last",
255
+ n && !x && !I && "cursor-pointer"
246
256
  ),
247
257
  ...s,
248
- "aria-hidden": p || void 0,
249
- "data-fiscal-period": b,
250
- "data-week-selected": E ? !0 : void 0,
251
- "data-week-continues-next": G.next || void 0,
252
- "data-week-continues-prev": G.prev || void 0,
253
- onClick: n && !p ? (w) => {
254
- if (r?.(w), w.defaultPrevented) return;
255
- const H = w.target;
256
- H.closest("button") || H.closest("[data-week-number]") || R(e);
258
+ "aria-hidden": x || void 0,
259
+ "data-fiscal-period": fe,
260
+ "data-week-selected": H ? !0 : void 0,
261
+ "data-week-continues-next": q.next || void 0,
262
+ "data-week-continues-prev": q.prev || void 0,
263
+ onClick: n && !x && !I ? (b) => {
264
+ if (r?.(b), b.defaultPrevented) return;
265
+ const J = b.target;
266
+ J.closest("button") || J.closest("[data-week-number]") || z(e);
257
267
  } : r,
258
268
  children: o
259
269
  }
260
270
  );
261
271
  },
262
272
  WeekNumber: ({ week: e, ...t }) => {
263
- const o = v.useContext(P), r = Z(e) || $({
264
- calendarKind: d,
265
- weekPeriod: L(e, c),
266
- panePeriod: _(o)
273
+ const o = k.useContext(D), r = L(e) || T({
274
+ calendarKind: l,
275
+ weekPeriod: V(e, d),
276
+ panePeriod: G(o)
267
277
  });
268
278
  return /* @__PURE__ */ i(
269
- me,
279
+ he,
270
280
  {
271
281
  week: e,
272
- weekStartsOn: ee,
273
- pickerType: h,
274
- calendarKind: d,
275
- weekNumberLabel: oe,
276
- weekLabel: ne,
277
- fiscalWeekNumberLabel: re,
278
- fiscalWeekAriaLabel: ie,
279
- getCellMeta: c,
280
- onWeekSelect: R,
282
+ weekStartsOn: ne,
283
+ pickerType: f,
284
+ calendarKind: l,
285
+ weekNumberLabel: ie,
286
+ weekLabel: se,
287
+ fiscalWeekNumberLabel: ae,
288
+ fiscalWeekAriaLabel: le,
289
+ getCellMeta: d,
290
+ onWeekSelect: z,
281
291
  ...t,
282
- blank: r
292
+ blank: r,
293
+ blocked: f === "week" && !K(e, w, S)
283
294
  }
284
295
  );
285
296
  },
286
297
  WeekNumberHeader: (e) => {
287
- const t = v.useContext(P), o = fe(d, x, t), r = o === void 0 ? O : T[o], s = o === void 0 ? O : g[o];
298
+ const t = k.useContext(D), o = ve(l, m, t), r = o === void 0 ? R : ee[o], s = o === void 0 ? R : A[o];
288
299
  return /* @__PURE__ */ i("th", { ...e, "aria-label": s, children: r });
289
300
  },
290
- ...ae
301
+ ...de
291
302
  };
292
303
  }
293
304
  export {
294
- ze as buildCalendarDayPickerComponents
305
+ Je as buildCalendarDayPickerComponents
295
306
  };