Socket
Socket
Sign inDemoInstall

@react-types/calendar

Package Overview
Dependencies
Maintainers
2
Versions
549
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-types/calendar - npm Package Compare versions

Comparing version 3.0.0-alpha.1 to 3.0.0-alpha.2

8

package.json
{
"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
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc