@react-spectrum/calendar 3.3.1 → 3.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -136,12 +136,12 @@ export function CalendarBase<T extends CalendarState | RangeCalendarState>(props
136
136
  onClick={() => state.focusNextPage()}
137
137
  tabIndex={-1} />
138
138
  </VisuallyHidden>
139
- {state.validationState === 'invalid' &&
139
+ {state.isValueInvalid &&
140
140
  <HelpText
141
141
  showErrorIcon
142
142
  errorMessage={props.errorMessage || stringFormatter.format('invalidSelection', {selectedCount: 'highlightedRange' in state ? 2 : 1})}
143
143
  errorMessageProps={errorMessageProps}
144
- validationState="invalid"
144
+ isInvalid
145
145
  // Intentionally a global class name so it can be targeted in DatePicker CSS...
146
146
  UNSAFE_className="spectrum-Calendar-helpText" />
147
147
  }