@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/es/northlight.js
CHANGED
|
@@ -12687,7 +12687,7 @@ const BaseSelectField = (_a, ref) => {
|
|
|
12687
12687
|
variant: "danger",
|
|
12688
12688
|
size: "sm",
|
|
12689
12689
|
fontSize: "xs",
|
|
12690
|
-
hidden: value
|
|
12690
|
+
hidden: isNil(value) || !isClearable,
|
|
12691
12691
|
onClick: () => {
|
|
12692
12692
|
onChange(void 0);
|
|
12693
12693
|
onChangeCallback(void 0, { action: "clear", removedValues: value });
|
|
@@ -14380,7 +14380,7 @@ const ComboPicker = (_a) => {
|
|
|
14380
14380
|
if (!is(Number, inputValue) && defaultToZeroIfEmpty) {
|
|
14381
14381
|
handleInputChange(clamp(min, max, 0));
|
|
14382
14382
|
}
|
|
14383
|
-
}, [valueProp == null ? void 0 : valueProp.input]);
|
|
14383
|
+
}, [valueProp == null ? void 0 : valueProp.input, defaultToZeroIfEmpty]);
|
|
14384
14384
|
return /* @__PURE__ */ React.createElement(InputGroup, null, /* @__PURE__ */ React.createElement(
|
|
14385
14385
|
FormattedNumberInput,
|
|
14386
14386
|
__spreadValues$1({
|