@northlight/ui 2.43.7 → 2.43.8

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.
@@ -5,7 +5,7 @@ import { useDateRangePicker } from '@react-aria/datepicker'
5
5
  import { useMultiStyleConfig, useOutsideClick } from '@chakra-ui/react'
6
6
  import { CheckSolid, XCloseSolid } from '@northlight/icons'
7
7
  import { identity, isNil } from 'ramda'
8
- import { DateValue, parseDate } from '@internationalized/date'
8
+ import { CalendarDateTime, DateValue, parseDate, toCalendarDate } from '@internationalized/date'
9
9
  import { DateRange } from '@react-types/datepicker'
10
10
  import { DateRangePickerProps, DateRange as NorthlightDateRange } from '../types'
11
11
  import { RangeCalendar } from '../components/calendar/quick-navigation'
@@ -117,7 +117,7 @@ export const DateRangePicker = (props: DateRangePickerProps) => {
117
117
  'data-testid': dataTestId,
118
118
  defaultOpen = false,
119
119
  onOpenChange,
120
- placeholderValue,
120
+ placeholderValue = toCalendarDate(new CalendarDateTime(2024, 1, 31)),
121
121
  isDateUnavailable,
122
122
  allowsNonContiguousRanges,
123
123
  startName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@northlight/ui",
3
- "version": "2.43.7",
3
+ "version": "2.43.8",
4
4
  "description": "Northlight UI library, based on Chakra-ui",
5
5
  "license": "MIT",
6
6
  "author": "Camphouse",
@@ -126,5 +126,5 @@
126
126
  "react-dom": ">=18.0.0",
127
127
  "react-router-dom": "^5.0.0"
128
128
  },
129
- "gitHead": "a929b72baaccb92772fc8cd1d04eea348f731b67"
129
+ "gitHead": "518767003b01c98ce6eec67a762d085883cf5dc5"
130
130
  }