@northlight/ui 2.2.0 → 2.2.1
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.mjs
CHANGED
|
@@ -10897,8 +10897,10 @@ function SelectField(_a) {
|
|
|
10897
10897
|
variant: "danger",
|
|
10898
10898
|
size: "sm",
|
|
10899
10899
|
fontSize: "xs",
|
|
10900
|
-
hidden: value ===
|
|
10901
|
-
onClick:
|
|
10900
|
+
hidden: value === void 0 || !isClearable,
|
|
10901
|
+
onClick: () => {
|
|
10902
|
+
onChange(void 0);
|
|
10903
|
+
},
|
|
10902
10904
|
icon: /* @__PURE__ */ React.createElement(Icon$1, { as: XCloseSolid })
|
|
10903
10905
|
}
|
|
10904
10906
|
))
|