@northlight/ui 2.24.6 → 2.25.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.d.ts +7 -1
- package/dist/es/northlight.js +8 -2
- package/dist/es/northlight.js.map +1 -1
- package/dist/umd/northlight.cjs +8 -2
- package/dist/umd/northlight.cjs.map +1 -1
- package/dist/umd/northlight.min.cjs +2 -2
- package/dist/umd/northlight.min.cjs.map +1 -1
- package/package.json +2 -2
package/dist/umd/northlight.cjs
CHANGED
|
@@ -12397,7 +12397,11 @@
|
|
|
12397
12397
|
);
|
|
12398
12398
|
onChangeCallback(values, event);
|
|
12399
12399
|
},
|
|
12400
|
-
value: value ? options == null ? void 0 : options.flatMap(
|
|
12400
|
+
value: value ? options == null ? void 0 : options.flatMap(
|
|
12401
|
+
(inner) => inner.options ? inner.options : inner
|
|
12402
|
+
).filter(
|
|
12403
|
+
(option) => isMulti ? value.includes(option.value) : ramda.equals(value, option.value)
|
|
12404
|
+
) : null
|
|
12401
12405
|
}, rest)
|
|
12402
12406
|
)
|
|
12403
12407
|
), /* @__PURE__ */ React.createElement(
|
|
@@ -13862,7 +13866,8 @@
|
|
|
13862
13866
|
onOptionChange,
|
|
13863
13867
|
width = "100%",
|
|
13864
13868
|
variant = "outline",
|
|
13865
|
-
initialValue
|
|
13869
|
+
initialValue,
|
|
13870
|
+
menuPlacement = "bottom"
|
|
13866
13871
|
}) => {
|
|
13867
13872
|
const initialSelectedOption = React.useMemo(
|
|
13868
13873
|
() => {
|
|
@@ -13935,6 +13940,7 @@
|
|
|
13935
13940
|
return /* @__PURE__ */ React.createElement(react.Box, { ref }, /* @__PURE__ */ React.createElement(
|
|
13936
13941
|
chakraReactSelect.CreatableSelect,
|
|
13937
13942
|
{
|
|
13943
|
+
menuPlacement,
|
|
13938
13944
|
chakraStyles: __spreadProps(__spreadValues({}, customSelectStyles), {
|
|
13939
13945
|
container: (provided) => __spreadProps(__spreadValues({}, provided), {
|
|
13940
13946
|
width
|