@react-aria/datepicker
Advanced tools
Comparing version 3.0.0-nightly.2989 to 3.0.0-nightly.2992
import { AriaDateFieldProps, AriaTimeFieldProps, DateValue, TimeValue, AriaDatePickerProps, AriaDateRangePickerProps } from "@react-types/datepicker"; | ||
import { DateFieldState, TimeFieldState, DatePickerState, DateSegment, DateRangePickerState } from "@react-stately/datepicker"; | ||
import { DOMAttributes, GroupDOMAttributes, ValidationResult } from "@react-types/shared"; | ||
import React, { InputHTMLAttributes, RefObject } from "react"; | ||
import { DOMAttributes, GroupDOMAttributes, RefObject, ValidationResult } from "@react-types/shared"; | ||
import React, { InputHTMLAttributes } from "react"; | ||
import { AriaButtonProps } from "@react-types/button"; | ||
@@ -6,0 +6,0 @@ import { AriaDialogProps } from "@react-types/dialog"; |
@@ -7,6 +7,6 @@ var $c1905b78f6d2f5bf$exports = require("./intlStrings.main.js"); | ||
var $bxHoL$reactstatelyform = require("@react-stately/form"); | ||
var $bxHoL$react = require("react"); | ||
var $bxHoL$reactarialabel = require("@react-aria/label"); | ||
var $bxHoL$reactariainteractions = require("@react-aria/interactions"); | ||
var $bxHoL$reactariai18n = require("@react-aria/i18n"); | ||
var $bxHoL$react = require("react"); | ||
@@ -13,0 +13,0 @@ |
@@ -7,6 +7,6 @@ import $4lVjK$intlStringsmodulejs from "./intlStrings.module.js"; | ||
import {privateValidationStateProp as $4lVjK$privateValidationStateProp} from "@react-stately/form"; | ||
import {useMemo as $4lVjK$useMemo} from "react"; | ||
import {useField as $4lVjK$useField} from "@react-aria/label"; | ||
import {useFocusWithin as $4lVjK$useFocusWithin} from "@react-aria/interactions"; | ||
import {useLocalizedStringFormatter as $4lVjK$useLocalizedStringFormatter, useLocale as $4lVjK$useLocale} from "@react-aria/i18n"; | ||
import {useMemo as $4lVjK$useMemo} from "react"; | ||
@@ -13,0 +13,0 @@ |
var $19S5E$reactariafocus = require("@react-aria/focus"); | ||
var $19S5E$reactariautils = require("@react-aria/utils"); | ||
var $19S5E$reactariai18n = require("@react-aria/i18n"); | ||
var $19S5E$react = require("react"); | ||
var $19S5E$reactariai18n = require("@react-aria/i18n"); | ||
var $19S5E$reactariainteractions = require("@react-aria/interactions"); | ||
@@ -6,0 +6,0 @@ |
import {createFocusManager as $7CEvq$createFocusManager, getFocusableTreeWalker as $7CEvq$getFocusableTreeWalker} from "@react-aria/focus"; | ||
import {mergeProps as $7CEvq$mergeProps} from "@react-aria/utils"; | ||
import {useLocale as $7CEvq$useLocale} from "@react-aria/i18n"; | ||
import {useMemo as $7CEvq$useMemo} from "react"; | ||
import {useLocale as $7CEvq$useLocale} from "@react-aria/i18n"; | ||
import {usePress as $7CEvq$usePress} from "@react-aria/interactions"; | ||
@@ -6,0 +6,0 @@ |
@@ -7,6 +7,6 @@ var $4acc2f407c169e55$exports = require("./useDateField.main.js"); | ||
var $Xt1Bd$reactariautils = require("@react-aria/utils"); | ||
var $Xt1Bd$react = require("react"); | ||
var $Xt1Bd$reactarialabel = require("@react-aria/label"); | ||
var $Xt1Bd$reactariainteractions = require("@react-aria/interactions"); | ||
var $Xt1Bd$reactariai18n = require("@react-aria/i18n"); | ||
var $Xt1Bd$react = require("react"); | ||
@@ -13,0 +13,0 @@ |
@@ -7,6 +7,6 @@ import {focusManagerSymbol as $16f0b7bb276bc17e$export$7b3062cd49e80452, roleSymbol as $16f0b7bb276bc17e$export$300019f83c56d282} from "./useDateField.module.js"; | ||
import {useDescription as $eIQ1H$useDescription, useId as $eIQ1H$useId, filterDOMProps as $eIQ1H$filterDOMProps, mergeProps as $eIQ1H$mergeProps} from "@react-aria/utils"; | ||
import {useMemo as $eIQ1H$useMemo, useRef as $eIQ1H$useRef} from "react"; | ||
import {useField as $eIQ1H$useField} from "@react-aria/label"; | ||
import {useFocusWithin as $eIQ1H$useFocusWithin} from "@react-aria/interactions"; | ||
import {useLocalizedStringFormatter as $eIQ1H$useLocalizedStringFormatter, useLocale as $eIQ1H$useLocale} from "@react-aria/i18n"; | ||
import {useMemo as $eIQ1H$useMemo, useRef as $eIQ1H$useRef} from "react"; | ||
@@ -13,0 +13,0 @@ |
{ | ||
"name": "@react-aria/datepicker", | ||
"version": "3.0.0-nightly.2989+76365df43", | ||
"version": "3.0.0-nightly.2992+546ffa41f", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,19 +25,19 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@internationalized/date": "3.5.5-nightly.4701+76365df43", | ||
"@internationalized/number": "3.5.4-nightly.4701+76365df43", | ||
"@internationalized/string": "3.2.4-nightly.4701+76365df43", | ||
"@react-aria/focus": "3.0.0-nightly.2989+76365df43", | ||
"@react-aria/form": "3.0.6-nightly.4701+76365df43", | ||
"@react-aria/i18n": "3.0.0-nightly.2989+76365df43", | ||
"@react-aria/interactions": "3.0.0-nightly.2989+76365df43", | ||
"@react-aria/label": "3.0.0-nightly.2989+76365df43", | ||
"@react-aria/spinbutton": "3.0.0-nightly.2989+76365df43", | ||
"@react-aria/utils": "3.0.0-nightly.2989+76365df43", | ||
"@react-stately/datepicker": "3.0.0-nightly.2989+76365df43", | ||
"@react-stately/form": "3.0.4-nightly.4701+76365df43", | ||
"@react-types/button": "3.9.5-nightly.4701+76365df43", | ||
"@react-types/calendar": "3.0.0-nightly.2989+76365df43", | ||
"@react-types/datepicker": "3.0.0-nightly.2989+76365df43", | ||
"@react-types/dialog": "3.5.11-nightly.4701+76365df43", | ||
"@react-types/shared": "3.0.0-nightly.2989+76365df43", | ||
"@internationalized/date": "3.5.5-nightly.4704+546ffa41f", | ||
"@internationalized/number": "3.5.4-nightly.4704+546ffa41f", | ||
"@internationalized/string": "3.2.4-nightly.4704+546ffa41f", | ||
"@react-aria/focus": "3.0.0-nightly.2992+546ffa41f", | ||
"@react-aria/form": "3.0.6-nightly.4704+546ffa41f", | ||
"@react-aria/i18n": "3.0.0-nightly.2992+546ffa41f", | ||
"@react-aria/interactions": "3.0.0-nightly.2992+546ffa41f", | ||
"@react-aria/label": "3.0.0-nightly.2992+546ffa41f", | ||
"@react-aria/spinbutton": "3.0.0-nightly.2992+546ffa41f", | ||
"@react-aria/utils": "3.0.0-nightly.2992+546ffa41f", | ||
"@react-stately/datepicker": "3.0.0-nightly.2992+546ffa41f", | ||
"@react-stately/form": "3.0.4-nightly.4704+546ffa41f", | ||
"@react-types/button": "3.9.5-nightly.4704+546ffa41f", | ||
"@react-types/calendar": "3.0.0-nightly.2992+546ffa41f", | ||
"@react-types/datepicker": "3.0.0-nightly.2992+546ffa41f", | ||
"@react-types/dialog": "3.5.11-nightly.4704+546ffa41f", | ||
"@react-types/shared": "3.0.0-nightly.2992+546ffa41f", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -52,3 +52,3 @@ }, | ||
}, | ||
"gitHead": "76365df434b6f65b137113557ba14a32ea466c8f" | ||
"gitHead": "546ffa41f7d1d3a566950a14d8f46cf726891220" | ||
} |
@@ -16,5 +16,5 @@ /* | ||
import {DateFieldState, TimeFieldState} from '@react-stately/datepicker'; | ||
import {DOMAttributes, GroupDOMAttributes, KeyboardEvent, ValidationResult} from '@react-types/shared'; | ||
import {DOMAttributes, GroupDOMAttributes, KeyboardEvent, RefObject, ValidationResult} from '@react-types/shared'; | ||
import {filterDOMProps, mergeProps, useDescription, useFormReset} from '@react-aria/utils'; | ||
import {InputHTMLAttributes, RefObject, useEffect, useMemo, useRef} from 'react'; | ||
import {InputHTMLAttributes, useEffect, useMemo, useRef} from 'react'; | ||
// @ts-ignore | ||
@@ -21,0 +21,0 @@ import intlMessages from '../intl/*.json'; |
@@ -19,3 +19,3 @@ /* | ||
import {DatePickerState} from '@react-stately/datepicker'; | ||
import {DOMAttributes, GroupDOMAttributes, KeyboardEvent, ValidationResult} from '@react-types/shared'; | ||
import {DOMAttributes, GroupDOMAttributes, KeyboardEvent, RefObject, ValidationResult} from '@react-types/shared'; | ||
import {filterDOMProps, mergeProps, useDescription, useId} from '@react-aria/utils'; | ||
@@ -25,3 +25,2 @@ // @ts-ignore | ||
import {privateValidationStateProp} from '@react-stately/form'; | ||
import {RefObject, useMemo} from 'react'; | ||
import {roleSymbol} from './useDateField'; | ||
@@ -32,2 +31,3 @@ import {useDatePickerGroup} from './useDatePickerGroup'; | ||
import {useLocale, useLocalizedStringFormatter} from '@react-aria/i18n'; | ||
import {useMemo} from 'react'; | ||
@@ -34,0 +34,0 @@ export interface DatePickerAria extends ValidationResult { |
import {createFocusManager, getFocusableTreeWalker} from '@react-aria/focus'; | ||
import {DateFieldState, DatePickerState, DateRangePickerState} from '@react-stately/datepicker'; | ||
import {FocusableElement, KeyboardEvent} from '@react-types/shared'; | ||
import {FocusableElement, KeyboardEvent, RefObject} from '@react-types/shared'; | ||
import {mergeProps} from '@react-aria/utils'; | ||
import {RefObject, useMemo} from 'react'; | ||
import {useLocale} from '@react-aria/i18n'; | ||
import {useMemo} from 'react'; | ||
import {usePress} from '@react-aria/interactions'; | ||
@@ -18,3 +18,3 @@ | ||
} | ||
if (e.altKey && (e.key === 'ArrowDown' || e.key === 'ArrowUp') && 'setOpen' in state) { | ||
@@ -21,0 +21,0 @@ e.preventDefault(); |
@@ -19,3 +19,3 @@ /* | ||
import {DEFAULT_VALIDATION_RESULT, mergeValidation, privateValidationStateProp} from '@react-stately/form'; | ||
import {DOMAttributes, GroupDOMAttributes, KeyboardEvent, ValidationResult} from '@react-types/shared'; | ||
import {DOMAttributes, GroupDOMAttributes, KeyboardEvent, RefObject, ValidationResult} from '@react-types/shared'; | ||
import {filterDOMProps, mergeProps, useDescription, useId} from '@react-aria/utils'; | ||
@@ -26,3 +26,2 @@ import {focusManagerSymbol, roleSymbol} from './useDateField'; | ||
import {RangeCalendarProps} from '@react-types/calendar'; | ||
import {RefObject, useMemo, useRef} from 'react'; | ||
import {useDatePickerGroup} from './useDatePickerGroup'; | ||
@@ -32,2 +31,3 @@ import {useField} from '@react-aria/label'; | ||
import {useLocale, useLocalizedStringFormatter} from '@react-aria/i18n'; | ||
import {useMemo, useRef} from 'react'; | ||
@@ -34,0 +34,0 @@ export interface DateRangePickerAria extends ValidationResult { |
@@ -18,3 +18,4 @@ /* | ||
import {NumberParser} from '@internationalized/number'; | ||
import React, {RefObject, useMemo, useRef} from 'react'; | ||
import React, {useMemo, useRef} from 'react'; | ||
import {RefObject} from '@react-types/shared'; | ||
import {useDateFormatter, useFilter, useLocale} from '@react-aria/i18n'; | ||
@@ -21,0 +22,0 @@ import {useDisplayNames} from './useDisplayNames'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
540695
6425