@theroutingcompany/components 0.0.66-alpha.3 → 0.0.66-alpha.4

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.
@@ -14160,20 +14160,22 @@ const H9 = M.td`
14160
14160
  }
14161
14161
  `;
14162
14162
  function q9({
14163
- isDisabled: e,
14164
- isSelectionStart: t,
14165
- isSelectionEnd: r,
14166
- isFocusVisible: n,
14167
- isSelected: o,
14168
- isToday: a
14163
+ isUnavailable: e,
14164
+ isDisabled: t,
14165
+ isSelectionStart: r,
14166
+ isSelectionEnd: n,
14167
+ isFocusVisible: o,
14168
+ isSelected: a,
14169
+ isToday: i
14169
14170
  }) {
14170
14171
  return [
14171
14172
  e && "disabled",
14172
- t && "selection-start",
14173
- r && "selection-end",
14174
- o && "selected",
14175
- n && "focused",
14176
- a && "today"
14173
+ t && "disabled",
14174
+ r && "selection-start",
14175
+ n && "selection-end",
14176
+ a && "selected",
14177
+ o && "focused",
14178
+ i && "today"
14177
14179
  ].filter(Boolean).join(" ");
14178
14180
  }
14179
14181
  function Z9({
@@ -14184,23 +14186,24 @@ function Z9({
14184
14186
  currentMonth: o,
14185
14187
  single: a
14186
14188
  }) {
14187
- const i = K(null), { cellProps: s, buttonProps: l, isSelected: c, isDisabled: d, formattedDate: f } = W9({ date: t, isDisabled: n }, e, i), p = !T4(o, t), m = e.highlightedRange ? Ne(t, e.highlightedRange.start) : c, h = e.highlightedRange ? Ne(t, e.highlightedRange.end) : c, { locale: b } = Ze(), g = Ps(t, b), $ = c && (m || g === 0 || t.day === 1), v = c && (h || g === 6 || t.day === t.calendar.getDaysInMonth(t)), y = [$ && "left", v && "right"].filter(Boolean).join(" "), { focusProps: w, isFocusVisible: P } = bn(), F = Ne(t, r), T = q9({
14189
+ const i = K(null), { cellProps: s, buttonProps: l, isSelected: c, isDisabled: d, isUnavailable: f, formattedDate: p } = W9({ date: t, isDisabled: n }, e, i), m = !T4(o, t), h = e.highlightedRange ? Ne(t, e.highlightedRange.start) : c, b = e.highlightedRange ? Ne(t, e.highlightedRange.end) : c, { locale: g } = Ze(), $ = Ps(t, g), v = c && (h || $ === 0 || t.day === 1), y = c && (b || $ === 6 || t.day === t.calendar.getDaysInMonth(t)), w = [v && "left", y && "right"].filter(Boolean).join(" "), { focusProps: P, isFocusVisible: F } = bn(), T = Ne(t, r), _ = q9({
14190
+ isUnavailable: f,
14188
14191
  isDisabled: d,
14189
14192
  isSelected: c,
14190
- isSelectionStart: m,
14191
- isSelectionEnd: h,
14192
- isFocusVisible: P,
14193
- isToday: F
14193
+ isSelectionStart: h,
14194
+ isSelectionEnd: b,
14195
+ isFocusVisible: F,
14196
+ isToday: T
14194
14197
  });
14195
14198
  return /* @__PURE__ */ x(H9, { ...s, children: /* @__PURE__ */ x(
14196
14199
  G9,
14197
14200
  {
14198
- ...$e(l, w),
14201
+ ...$e(l, P),
14199
14202
  ref: i,
14200
- hidden: p,
14201
- "data-rounded": y,
14202
- "data-state": T,
14203
- children: /* @__PURE__ */ x(Y9, { "data-state": T, single: a, children: f })
14203
+ hidden: m,
14204
+ "data-rounded": w,
14205
+ "data-state": _,
14206
+ children: /* @__PURE__ */ x(Y9, { "data-state": _, single: a, children: p })
14204
14207
  }
14205
14208
  ) });
14206
14209
  }