@react-types/calendar
Advanced tools
Comparing version 3.4.6 to 3.4.7
{ | ||
"name": "@react-types/calendar", | ||
"version": "3.4.6", | ||
"version": "3.4.7", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,4 +12,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@internationalized/date": "^3.5.4", | ||
"@react-types/shared": "^3.23.1" | ||
"@internationalized/date": "^3.5.5", | ||
"@react-types/shared": "^3.24.0" | ||
}, | ||
@@ -20,5 +20,5 @@ "publishConfig": { | ||
"peerDependencies": { | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" | ||
}, | ||
"gitHead": "b77d7d594dff4dcfb5359bffbcfd18142b146433" | ||
"gitHead": "86d80e3216bc32e75108831cf3a5a720bc849206" | ||
} |
@@ -26,5 +26,5 @@ /* | ||
/** The minimum allowed date that a user may select. */ | ||
minValue?: DateValue, | ||
minValue?: DateValue | null, | ||
/** The maximum allowed date that a user may select. */ | ||
maxValue?: DateValue, | ||
maxValue?: DateValue | null, | ||
/** Callback that is called for each date of the calendar. If it returns true, then the date is unavailable. */ | ||
@@ -69,5 +69,5 @@ isDateUnavailable?: (date: DateValue) => boolean, | ||
export type DateRange = RangeValue<DateValue>; | ||
export interface CalendarProps<T extends DateValue> extends CalendarPropsBase, ValueBase<T | null, MappedDateValue<T>> {} | ||
export interface RangeCalendarProps<T extends DateValue> extends CalendarPropsBase, ValueBase<RangeValue<T> | null, RangeValue<MappedDateValue<T>>> { | ||
export type DateRange = RangeValue<DateValue> | null; | ||
export interface CalendarProps<T extends DateValue | null> extends CalendarPropsBase, ValueBase<T | null, MappedDateValue<T>> {} | ||
export interface RangeCalendarProps<T extends DateValue | null> extends CalendarPropsBase, ValueBase<RangeValue<T>> { | ||
/** | ||
@@ -74,0 +74,0 @@ * When combined with `isDateUnavailable`, determines whether non-contiguous ranges, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16036