@northlight/ui 2.32.0 → 2.32.2
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
|
@@ -12649,7 +12649,7 @@
|
|
|
12649
12649
|
variant: "danger",
|
|
12650
12650
|
size: "sm",
|
|
12651
12651
|
fontSize: "xs",
|
|
12652
|
-
hidden: value
|
|
12652
|
+
hidden: ramda.isNil(value) || !isClearable,
|
|
12653
12653
|
onClick: () => {
|
|
12654
12654
|
onChange(void 0);
|
|
12655
12655
|
onChangeCallback(void 0, { action: "clear", removedValues: value });
|
|
@@ -14342,7 +14342,7 @@
|
|
|
14342
14342
|
if (!ramda.is(Number, inputValue) && defaultToZeroIfEmpty) {
|
|
14343
14343
|
handleInputChange(clamp(min, max, 0));
|
|
14344
14344
|
}
|
|
14345
|
-
}, [valueProp == null ? void 0 : valueProp.input]);
|
|
14345
|
+
}, [valueProp == null ? void 0 : valueProp.input, defaultToZeroIfEmpty]);
|
|
14346
14346
|
return /* @__PURE__ */ React.createElement(react.InputGroup, null, /* @__PURE__ */ React.createElement(
|
|
14347
14347
|
FormattedNumberInput,
|
|
14348
14348
|
__spreadValues$1({
|