@northlight/ui 2.39.2 → 2.39.4

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.
@@ -7981,7 +7981,8 @@ const DateRangePicker = (props) => {
7981
7981
  CustomResetButton,
7982
7982
  onCancelChanges,
7983
7983
  "data-testid": dataTestId,
7984
- defaultOpen = false
7984
+ defaultOpen = false,
7985
+ onOpenChange
7985
7986
  } = props;
7986
7987
  const ref = useRef();
7987
7988
  const { group } = useMultiStyleConfig("DatePicker");
@@ -8008,7 +8009,8 @@ const DateRangePicker = (props) => {
8008
8009
  allowsNonContiguousRanges: props.allowsNonContiguousRanges,
8009
8010
  shouldCloseOnSelect: false,
8010
8011
  hideTimeZone: true,
8011
- defaultOpen
8012
+ defaultOpen,
8013
+ onOpenChange
8012
8014
  });
8013
8015
  const {
8014
8016
  groupProps,
@@ -13849,7 +13851,7 @@ const FormattedNumberInput = (_a) => {
13849
13851
  value: number.toString()
13850
13852
  });
13851
13853
  const validateRange = () => {
13852
- if (isNil(value))
13854
+ if (isNil(value) || isEmpty(value))
13853
13855
  return;
13854
13856
  const vNum = typeof value === "string" ? parseFloat(value) : value;
13855
13857
  if (isNil(numberOfDecimals) && !isPercentage) {