@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.
@@ -22,7 +22,7 @@ import { useRadioGroupState } from '@react-stately/radio';
22
22
  import { useCheckboxGroupState } from '@react-stately/checkbox';
23
23
  import { useDateSegment, useDateField, useDatePicker, useDateRangePicker } from '@react-aria/datepicker';
24
24
  import { useDateFieldState, useDatePickerState, useDateRangePickerState } from '@react-stately/datepicker';
25
- import { createCalendar, today, isSameMonth, getWeeksInMonth, GregorianCalendar, parseDate, startOfWeek, endOfWeek, startOfMonth, endOfMonth, startOfYear, endOfYear } from '@internationalized/date';
25
+ import { createCalendar, today, isSameMonth, getWeeksInMonth, GregorianCalendar, toCalendarDate, CalendarDateTime, parseDate, startOfWeek, endOfWeek, startOfMonth, endOfMonth, startOfYear, endOfYear } from '@internationalized/date';
26
26
  import { useDateFormatter, useLocale, I18nProvider } from '@react-aria/i18n';
27
27
  import { useCalendarState } from '@react-stately/calendar';
28
28
  import { useCalendarCell, useCalendarGrid, useCalendar } from '@react-aria/calendar';
@@ -7343,7 +7343,7 @@ const DatePicker = (props) => {
7343
7343
  maxValue,
7344
7344
  isReadOnly,
7345
7345
  isRequired,
7346
- placeholderValue,
7346
+ placeholderValue = toCalendarDate(new CalendarDateTime(2024, 1, 31)),
7347
7347
  isDateUnavailable,
7348
7348
  granularity,
7349
7349
  hourCycle,
@@ -15752,7 +15752,7 @@ const ComboPicker = (_a) => {
15752
15752
  onChange == null ? void 0 : onChange(getNewValue(option, input));
15753
15753
  }, [valueProp == null ? void 0 : valueProp.input, valueProp == null ? void 0 : valueProp.option, defaultToZeroIfEmpty, options]);
15754
15754
  const buttonWidth = (_b2 = (_a2 = buttonRef.current) == null ? void 0 : _a2.offsetWidth) != null ? _b2 : 0;
15755
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
15755
+ return /* @__PURE__ */ React.createElement(Box, { position: "relative", width: "100%" }, /* @__PURE__ */ React.createElement(
15756
15756
  FormattedNumberInput,
15757
15757
  __spreadProps(__spreadValues$1({
15758
15758
  width: "100%",