@northlight/ui 2.38.2 → 2.38.3

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.
@@ -7956,7 +7956,8 @@
7956
7956
  savedDateRange,
7957
7957
  defaultDateRange,
7958
7958
  CustomResetButton,
7959
- onCancelChanges
7959
+ onCancelChanges,
7960
+ "data-testid": dataTestId
7960
7961
  } = props;
7961
7962
  const ref = React.useRef();
7962
7963
  const { group } = react.useMultiStyleConfig("DatePicker");
@@ -7992,7 +7993,7 @@
7992
7993
  dialogProps,
7993
7994
  calendarProps
7994
7995
  } = datepicker.useDateRangePicker(
7995
- {
7996
+ __spreadValues$1o({
7996
7997
  onChange: (date) => {
7997
7998
  onChangeCallback({
7998
7999
  startDate: date == null ? void 0 : date.start.toString(),
@@ -8010,7 +8011,7 @@
8010
8011
  startName: props.startName,
8011
8012
  endName: props.endName,
8012
8013
  "aria-label": "Date range picker"
8013
- },
8014
+ }, !ramda.isNil(dataTestId) && { "data-testid": dataTestId }),
8014
8015
  state,
8015
8016
  ref
8016
8017
  );