@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.
package/dist/umd/northlight.cjs
CHANGED
|
@@ -7958,7 +7958,8 @@
|
|
|
7958
7958
|
CustomResetButton,
|
|
7959
7959
|
onCancelChanges,
|
|
7960
7960
|
"data-testid": dataTestId,
|
|
7961
|
-
defaultOpen = false
|
|
7961
|
+
defaultOpen = false,
|
|
7962
|
+
onOpenChange
|
|
7962
7963
|
} = props;
|
|
7963
7964
|
const ref = React.useRef();
|
|
7964
7965
|
const { group } = react.useMultiStyleConfig("DatePicker");
|
|
@@ -7985,7 +7986,8 @@
|
|
|
7985
7986
|
allowsNonContiguousRanges: props.allowsNonContiguousRanges,
|
|
7986
7987
|
shouldCloseOnSelect: false,
|
|
7987
7988
|
hideTimeZone: true,
|
|
7988
|
-
defaultOpen
|
|
7989
|
+
defaultOpen,
|
|
7990
|
+
onOpenChange
|
|
7989
7991
|
});
|
|
7990
7992
|
const {
|
|
7991
7993
|
groupProps,
|
|
@@ -13826,7 +13828,7 @@
|
|
|
13826
13828
|
value: number.toString()
|
|
13827
13829
|
});
|
|
13828
13830
|
const validateRange = () => {
|
|
13829
|
-
if (ramda.isNil(value))
|
|
13831
|
+
if (ramda.isNil(value) || ramda.isEmpty(value))
|
|
13830
13832
|
return;
|
|
13831
13833
|
const vNum = typeof value === "string" ? parseFloat(value) : value;
|
|
13832
13834
|
if (ramda.isNil(numberOfDecimals) && !isPercentage) {
|