@react-types/calendar
Advanced tools
Comparing version 3.0.0-nightly.1383 to 3.0.0-nightly.1386
{ | ||
"name": "@react-types/calendar", | ||
"version": "3.0.0-nightly.1383+df9eb3253", | ||
"version": "3.0.0-nightly.1386+7e8a7f696", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,4 +12,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@internationalized/date": "3.0.0-nightly.3074+df9eb3253", | ||
"@react-types/shared": "3.0.0-nightly.1383+df9eb3253" | ||
"@internationalized/date": "3.0.0-nightly.3077+7e8a7f696", | ||
"@react-types/shared": "3.0.0-nightly.1386+7e8a7f696" | ||
}, | ||
@@ -22,3 +22,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "df9eb3253328c2aee23de4ff3d48c63b4d8222e8" | ||
"gitHead": "7e8a7f69685139b3574453b424a5ad4c8fa4e808" | ||
} |
@@ -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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
14433
57