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.4.6 to 3.4.7

10

package.json
{
"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,

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