@northlight/ui 2.43.3 → 2.43.5

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,
@@ -8593,7 +8593,7 @@ const DateRangePicker = (props) => {
8593
8593
  isInvalid,
8594
8594
  variant
8595
8595
  },
8596
- /* @__PURE__ */ React.createElement(HStack, { paddingInlineStart: "1a", "data-test-id": "daterange-picker-input-field", paddingInlineEnd: 10 }, /* @__PURE__ */ React.createElement(
8596
+ /* @__PURE__ */ React.createElement(HStack, { paddingInlineStart: "1a", "data-testid": "daterange-picker-input-field", paddingInlineEnd: 10 }, /* @__PURE__ */ React.createElement(
8597
8597
  DateField,
8598
8598
  __spreadProps$g(__spreadValues$1r({}, restStartFieldProps), {
8599
8599
  id: startFieldId,
@@ -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%",