Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-types/datepicker

Package Overview
Dependencies
Maintainers
2
Versions
657
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-types/datepicker - npm Package Compare versions

Comparing version 3.0.0-nightly-262cc758b-241115 to 3.0.0-nightly-326f48154-241212

15

package.json
{
"name": "@react-types/datepicker",
"version": "3.0.0-nightly-262cc758b-241115",
"version": "3.0.0-nightly-326f48154-241212",
"description": "Spectrum UI components in React",

@@ -12,6 +12,6 @@ "license": "Apache-2.0",

"dependencies": {
"@internationalized/date": "^3.0.0-nightly-262cc758b-241115",
"@react-types/calendar": "^3.0.0-nightly-262cc758b-241115",
"@react-types/overlays": "^3.0.0-nightly-262cc758b-241115",
"@react-types/shared": "^3.0.0-nightly-262cc758b-241115"
"@internationalized/date": "3.0.0-nightly-326f48154-241212",
"@react-types/calendar": "3.0.0-nightly-326f48154-241212",
"@react-types/overlays": "3.0.0-nightly-326f48154-241212",
"@react-types/shared": "3.0.0-nightly-326f48154-241212"
},

@@ -22,5 +22,4 @@ "publishConfig": {

"peerDependencies": {
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
},
"stableVersion": "3.8.3"
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
}
}

@@ -42,9 +42,9 @@ /*

/** 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. */
isDateUnavailable?: (date: DateValue) => boolean,
/** A placeholder date that influences the format of the placeholder shown when no value is selected. Defaults to today's date at midnight. */
placeholderValue?: T,
placeholderValue?: T | null,
/** Whether to display the time in 12 or 24 hour format. By default, this is determined by the user's locale. */

@@ -67,3 +67,3 @@ hourCycle?: 12 | 24,

interface AriaDateFieldBaseProps<T extends DateValue> extends DateFieldBase<T>, AriaLabelingProps, DOMProps {}
export interface DateFieldProps<T extends DateValue> extends DateFieldBase<T>, ValueBase<T | null, MappedDateValue<T>> {}
export interface DateFieldProps<T extends DateValue> extends DateFieldBase<T>, ValueBase<T | null, MappedDateValue<T> | null> {}
export interface AriaDateFieldProps<T extends DateValue> extends DateFieldProps<T>, AriaDateFieldBaseProps<T>, InputDOMProps {}

@@ -80,7 +80,7 @@

export interface DatePickerProps<T extends DateValue> extends DatePickerBase<T>, ValueBase<T | null, MappedDateValue<T>> {}
export interface DatePickerProps<T extends DateValue> extends DatePickerBase<T>, ValueBase<T | null, MappedDateValue<T> | null> {}
export interface AriaDatePickerProps<T extends DateValue> extends DatePickerProps<T>, AriaDatePickerBaseProps<T>, InputDOMProps {}
export type DateRange = RangeValue<DateValue>;
export interface DateRangePickerProps<T extends DateValue> extends Omit<DatePickerBase<T>, 'validate'>, Validation<RangeValue<MappedDateValue<T>>>, ValueBase<RangeValue<T> | null, RangeValue<MappedDateValue<T>>> {
export interface DateRangePickerProps<T extends DateValue> extends Omit<DatePickerBase<T>, 'validate'>, Validation<RangeValue<MappedDateValue<T>>>, ValueBase<RangeValue<T> | null, RangeValue<MappedDateValue<T>> | null> {
/**

@@ -140,3 +140,3 @@ * When combined with `isDateUnavailable`, determines whether non-contiguous ranges,

export interface TimePickerProps<T extends TimeValue> extends InputBase, Validation<MappedTimeValue<T>>, FocusableProps, LabelableProps, HelpTextProps, ValueBase<T | null, MappedTimeValue<T>> {
export interface TimePickerProps<T extends TimeValue> extends InputBase, Validation<MappedTimeValue<T>>, FocusableProps, LabelableProps, HelpTextProps, ValueBase<T | null, MappedTimeValue<T> | null> {
/** Whether to display the time in 12 or 24 hour format. By default, this is determined by the user's locale. */

@@ -162,5 +162,5 @@ hourCycle?: 12 | 24,

/** The minimum allowed time that a user may select. */
minValue?: TimeValue,
minValue?: TimeValue | null,
/** The maximum allowed time that a user may select. */
maxValue?: TimeValue
maxValue?: TimeValue | null
}

@@ -167,0 +167,0 @@

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