@northlight/ui 2.43.6 → 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.6",
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": "656ca98cae903229b8d93e831abce5d852ba02c1"
129
+ "gitHead": "518767003b01c98ce6eec67a762d085883cf5dc5"
130
130
  }
@@ -80,6 +80,7 @@ async function main () {
80
80
  <head>
81
81
  <meta charset="UTF-8" />
82
82
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
83
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
83
84
  <title>Sandbox</title>
84
85
  </head>
85
86
  <body>
@@ -107,6 +108,7 @@ async function main () {
107
108
  <head>
108
109
  <meta charset="UTF-8" />
109
110
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
111
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
110
112
  <title>Sandbox</title>
111
113
  </head>
112
114
  <body>
@@ -801,7 +801,6 @@ body {
801
801
  border-radius: var(--sandbox-radius-lg);
802
802
  border: 1px solid var(--sandbox-border);
803
803
  background: var(--sandbox-card);
804
- overflow: hidden;
805
804
  }
806
805
 
807
806
  .sandbox-tabs-bar {