@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.js
CHANGED
@@ -6275,7 +6275,7 @@ var Uploader = ({
|
|
6275
6275
|
maxFiles: 1,
|
6276
6276
|
maxSize: maxFileSize == null ? void 0 : maxFileSize.validate,
|
6277
6277
|
noClick: isDisabled || !!filePreview,
|
6278
|
-
noDrag: isDisabled
|
6278
|
+
noDrag: isDisabled,
|
6279
6279
|
validator
|
6280
6280
|
});
|
6281
6281
|
const renderHelperText = () => {
|
@@ -6375,7 +6375,7 @@ var Uploader = ({
|
|
6375
6375
|
"data-test-id": `CT_component_base-image-uploader_image-preview${testId ? `_${testId}` : ""}`,
|
6376
6376
|
justify: "center",
|
6377
6377
|
align: "center",
|
6378
|
-
children: filePreview.includes("blob") &&
|
6378
|
+
children: filePreview.includes("blob") && acceptFile.some(([type]) => typeof type === "string" && type.includes("image/")) ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
6379
6379
|
import_react95.Image,
|
6380
6380
|
{
|
6381
6381
|
h: size2 === "lg" ? "120" : "100",
|