@react-types/calendar
Advanced tools
Comparing version 3.0.0-alpha.1 to 3.0.0-alpha.2
{ | ||
"name": "@react-types/calendar", | ||
"version": "3.0.0-alpha.1", | ||
"version": "3.0.0-alpha.2", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,4 +12,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@internationalized/date": "3.0.0-alpha.1", | ||
"@react-types/shared": "^3.10.0" | ||
"@internationalized/date": "3.0.0-alpha.2", | ||
"@react-types/shared": "^3.11.0" | ||
}, | ||
@@ -22,3 +22,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "16fc29ac722793ffaea083f13760d82ab341cc8d" | ||
"gitHead": "54c2366c4f31bd4bf619126131cd583c12972acc" | ||
} |
@@ -24,7 +24,20 @@ /* | ||
export interface CalendarPropsBase { | ||
timeZone?: string, | ||
/** The minimum allowed date that a user may select. */ | ||
minValue?: DateValue, | ||
/** The maximum allowed date that a user may select. */ | ||
maxValue?: DateValue, | ||
/** | ||
* Whether the calendar is disabled. | ||
* @default false | ||
*/ | ||
isDisabled?: boolean, | ||
/** | ||
* Whether the calendar value is immutable. | ||
* @default false | ||
*/ | ||
isReadOnly?: boolean, | ||
/** | ||
* Whether to automatically focus the calendar when it mounts. | ||
* @default false | ||
*/ | ||
autoFocus?: boolean | ||
@@ -38,2 +51,6 @@ } | ||
export interface SpectrumCalendarProps<T extends DateValue> extends CalendarProps<T>, DOMProps, StyleProps { | ||
/** | ||
* The number of months to display at once. Up to 3 months are supported. | ||
* @default 1 | ||
*/ | ||
visibleMonths?: number | ||
@@ -43,3 +60,7 @@ } | ||
export interface SpectrumRangeCalendarProps<T extends DateValue> extends RangeCalendarProps<T>, DOMProps, StyleProps { | ||
/** | ||
* The number of months to display at once. Up to 3 months are supported. | ||
* @default 1 | ||
*/ | ||
visibleMonths?: number | ||
} |
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
14382
57
+ Added@internationalized/date@3.0.0-alpha.2(transitive)
- Removed@internationalized/date@3.0.0-alpha.1(transitive)
Updated@react-types/shared@^3.11.0