@northlight/ui 2.43.4 → 2.43.6

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.
@@ -21,7 +21,7 @@ import { useRadioGroupState } from '@react-stately/radio';
21
21
  import { useCheckboxGroupState } from '@react-stately/checkbox';
22
22
  import { useDateSegment, useDateField, useDatePicker, useDateRangePicker } from '@react-aria/datepicker';
23
23
  import { useDateFieldState, useDatePickerState, useDateRangePickerState } from '@react-stately/datepicker';
24
- import { createCalendar, today, isSameMonth, getWeeksInMonth, GregorianCalendar, parseDate, startOfWeek, endOfWeek, startOfMonth, endOfMonth, startOfYear, endOfYear } from '@internationalized/date';
24
+ import { createCalendar, today, isSameMonth, getWeeksInMonth, GregorianCalendar, toCalendarDate, CalendarDateTime, parseDate, startOfWeek, endOfWeek, startOfMonth, endOfMonth, startOfYear, endOfYear } from '@internationalized/date';
25
25
  import { useDateFormatter, useLocale, I18nProvider } from '@react-aria/i18n';
26
26
  import { useCalendarState } from '@react-stately/calendar';
27
27
  import { useCalendarCell, useCalendarGrid, useCalendar } from '@react-aria/calendar';
@@ -6330,7 +6330,7 @@ const DatePicker = (props) => {
6330
6330
  maxValue,
6331
6331
  isReadOnly,
6332
6332
  isRequired,
6333
- placeholderValue,
6333
+ placeholderValue = toCalendarDate(new CalendarDateTime(2024, 1, 31)),
6334
6334
  isDateUnavailable,
6335
6335
  granularity,
6336
6336
  hourCycle,