cloudmr-ux 1.7.7 → 1.7.9
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/index.js +9 -2
- package/dist/index.mjs +9 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1137,7 +1137,7 @@ var CMRSelectUpload = (props) => {
|
|
|
1137
1137
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_DialogTitle6.default, { children: "Select or Upload" }),
|
|
1138
1138
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_DialogContent6.default, { sx: { width: 520 }, children: [
|
|
1139
1139
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_DialogContentText5.default, { sx: { pl: 1, pr: 1, pb: 0 }, children: uploading ? "Please wait for the upload to finish." : "" }),
|
|
1140
|
-
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1140
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Box3.default, { sx: { p: 1 }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1141
1141
|
import_react_select.default,
|
|
1142
1142
|
{
|
|
1143
1143
|
isDisabled: uploading,
|
|
@@ -1154,9 +1154,16 @@ var CMRSelectUpload = (props) => {
|
|
|
1154
1154
|
selectFileIndex(-1);
|
|
1155
1155
|
}
|
|
1156
1156
|
},
|
|
1157
|
+
menuPortalTarget: document.body,
|
|
1158
|
+
menuPosition: "fixed",
|
|
1157
1159
|
styles: {
|
|
1158
1160
|
container: (base) => ({ ...base, width: "100%" }),
|
|
1159
|
-
|
|
1161
|
+
menuPortal: (base) => ({ ...base, zIndex: 9999 }),
|
|
1162
|
+
menuList: (base) => ({
|
|
1163
|
+
...base,
|
|
1164
|
+
maxHeight: "300px",
|
|
1165
|
+
overflowY: "auto"
|
|
1166
|
+
})
|
|
1160
1167
|
}
|
|
1161
1168
|
}
|
|
1162
1169
|
) }),
|
package/dist/index.mjs
CHANGED
|
@@ -1089,7 +1089,7 @@ var CMRSelectUpload = (props) => {
|
|
|
1089
1089
|
/* @__PURE__ */ jsx18(DialogTitle6, { children: "Select or Upload" }),
|
|
1090
1090
|
/* @__PURE__ */ jsxs12(DialogContent6, { sx: { width: 520 }, children: [
|
|
1091
1091
|
/* @__PURE__ */ jsx18(DialogContentText5, { sx: { pl: 1, pr: 1, pb: 0 }, children: uploading ? "Please wait for the upload to finish." : "" }),
|
|
1092
|
-
/* @__PURE__ */ jsx18(
|
|
1092
|
+
/* @__PURE__ */ jsx18(Box4, { sx: { p: 1 }, children: /* @__PURE__ */ jsx18(
|
|
1093
1093
|
Select2,
|
|
1094
1094
|
{
|
|
1095
1095
|
isDisabled: uploading,
|
|
@@ -1106,9 +1106,16 @@ var CMRSelectUpload = (props) => {
|
|
|
1106
1106
|
selectFileIndex(-1);
|
|
1107
1107
|
}
|
|
1108
1108
|
},
|
|
1109
|
+
menuPortalTarget: document.body,
|
|
1110
|
+
menuPosition: "fixed",
|
|
1109
1111
|
styles: {
|
|
1110
1112
|
container: (base) => ({ ...base, width: "100%" }),
|
|
1111
|
-
|
|
1113
|
+
menuPortal: (base) => ({ ...base, zIndex: 9999 }),
|
|
1114
|
+
menuList: (base) => ({
|
|
1115
|
+
...base,
|
|
1116
|
+
maxHeight: "300px",
|
|
1117
|
+
overflowY: "auto"
|
|
1118
|
+
})
|
|
1112
1119
|
}
|
|
1113
1120
|
}
|
|
1114
1121
|
) }),
|