cloudmr-ux 1.7.9 → 1.8.0

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.d.ts CHANGED
@@ -248,6 +248,7 @@ interface CMRSelectUploadProps extends CMRUploadProps {
248
248
  onSelected: (file?: UploadedFile) => void;
249
249
  chosenFile?: string;
250
250
  buttonText?: string;
251
+ selectStyles?: any;
251
252
  /**
252
253
  * Enforces the extension of selected files
253
254
  */
package/dist/index.js CHANGED
@@ -1156,15 +1156,7 @@ var CMRSelectUpload = (props) => {
1156
1156
  },
1157
1157
  menuPortalTarget: document.body,
1158
1158
  menuPosition: "fixed",
1159
- styles: {
1160
- container: (base) => ({ ...base, width: "100%" }),
1161
- menuPortal: (base) => ({ ...base, zIndex: 9999 }),
1162
- menuList: (base) => ({
1163
- ...base,
1164
- maxHeight: "300px",
1165
- overflowY: "auto"
1166
- })
1167
- }
1159
+ styles: props.selectStyles
1168
1160
  }
1169
1161
  ) }),
1170
1162
  /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_Box3.default, { sx: { pt: 2, justifyContent: "center", display: "flex", padding: "8px" }, children: [
package/dist/index.mjs CHANGED
@@ -1108,15 +1108,7 @@ var CMRSelectUpload = (props) => {
1108
1108
  },
1109
1109
  menuPortalTarget: document.body,
1110
1110
  menuPosition: "fixed",
1111
- styles: {
1112
- container: (base) => ({ ...base, width: "100%" }),
1113
- menuPortal: (base) => ({ ...base, zIndex: 9999 }),
1114
- menuList: (base) => ({
1115
- ...base,
1116
- maxHeight: "300px",
1117
- overflowY: "auto"
1118
- })
1119
- }
1111
+ styles: props.selectStyles
1120
1112
  }
1121
1113
  ) }),
1122
1114
  /* @__PURE__ */ jsxs12(Box4, { sx: { pt: 2, justifyContent: "center", display: "flex", padding: "8px" }, children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudmr-ux",
3
- "version": "1.7.9",
3
+ "version": "1.8.0",
4
4
  "author": "erosmontin@gmail.com",
5
5
  "license": "MIT",
6
6
  "repository": "erosmontin/cloudmr-ux",