@react-types/calendar
Advanced tools
Comparing version 3.0.0-nightly-a98da553e-241116 to 3.0.0-nightly-b3a4d6c11-241119
{ | ||
"name": "@react-types/calendar", | ||
"version": "3.0.0-nightly-a98da553e-241116", | ||
"version": "3.0.0-nightly-b3a4d6c11-241119", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,4 +12,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@internationalized/date": "^3.0.0-nightly-a98da553e-241116", | ||
"@react-types/shared": "^3.0.0-nightly-a98da553e-241116" | ||
"@internationalized/date": "^3.0.0-nightly-b3a4d6c11-241119", | ||
"@react-types/shared": "^3.0.0-nightly-b3a4d6c11-241119" | ||
}, | ||
@@ -20,5 +20,5 @@ "publishConfig": { | ||
"peerDependencies": { | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" | ||
}, | ||
"stableVersion": "3.4.10" | ||
} |
@@ -47,5 +47,5 @@ /* | ||
/** Controls the currently focused date within the calendar. */ | ||
focusedValue?: DateValue, | ||
focusedValue?: DateValue | null, | ||
/** The date that is focused when the calendar first mounts (uncountrolled). */ | ||
defaultFocusedValue?: DateValue, | ||
defaultFocusedValue?: DateValue | null, | ||
/** Handler that is called when the focused date changes. */ | ||
@@ -70,4 +70,4 @@ onFocusChange?: (date: CalendarDate) => void, | ||
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> | null> { | ||
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>>> { | ||
/** | ||
@@ -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
4790