@ctlyst.id/internal-ui 5.5.0 → 5.5.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/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
@@ -6137,7 +6137,7 @@ var Uploader = ({
|
|
6137
6137
|
maxFiles: 1,
|
6138
6138
|
maxSize: maxFileSize == null ? void 0 : maxFileSize.validate,
|
6139
6139
|
noClick: isDisabled || !!filePreview,
|
6140
|
-
noDrag: isDisabled
|
6140
|
+
noDrag: isDisabled,
|
6141
6141
|
validator
|
6142
6142
|
});
|
6143
6143
|
const renderHelperText = () => {
|
@@ -6237,7 +6237,7 @@ var Uploader = ({
|
|
6237
6237
|
"data-test-id": `CT_component_base-image-uploader_image-preview${testId ? `_${testId}` : ""}`,
|
6238
6238
|
justify: "center",
|
6239
6239
|
align: "center",
|
6240
|
-
children: filePreview.includes("blob") &&
|
6240
|
+
children: filePreview.includes("blob") && acceptFile.some(([type]) => typeof type === "string" && type.includes("image/")) ? /* @__PURE__ */ jsx67(
|
6241
6241
|
ChakraImage,
|
6242
6242
|
{
|
6243
6243
|
h: size2 === "lg" ? "120" : "100",
|