@sunggang/ui-lib 0.3.4 → 0.3.5
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/index.esm2.js +10 -1
- package/package.json +1 -1
package/index.esm2.js
CHANGED
|
@@ -47197,6 +47197,11 @@ var MultipleSelect = function(param) {
|
|
|
47197
47197
|
return _object_spread_props$8(_object_spread$b({}, provided), {
|
|
47198
47198
|
minHeight: "42px"
|
|
47199
47199
|
});
|
|
47200
|
+
},
|
|
47201
|
+
menuPortal: function(base) {
|
|
47202
|
+
return _object_spread_props$8(_object_spread$b({}, base), {
|
|
47203
|
+
zIndex: 9999
|
|
47204
|
+
});
|
|
47200
47205
|
}
|
|
47201
47206
|
};
|
|
47202
47207
|
return /*#__PURE__*/ jsxs("div", {
|
|
@@ -47221,7 +47226,11 @@ var MultipleSelect = function(param) {
|
|
|
47221
47226
|
options: newOptions,
|
|
47222
47227
|
placeholder: (item === null || item === void 0 ? void 0 : item.placeholder) || "請選擇",
|
|
47223
47228
|
styles: customStyles,
|
|
47224
|
-
|
|
47229
|
+
menuPortalTarget: typeof window !== "undefined" ? document.body : null,
|
|
47230
|
+
closeMenuOnSelect: false,
|
|
47231
|
+
noOptionsMessage: function() {
|
|
47232
|
+
return "沒有可選項目";
|
|
47233
|
+
}
|
|
47225
47234
|
}));
|
|
47226
47235
|
}
|
|
47227
47236
|
}),
|