@ctlyst.id/internal-ui 3.3.6 → 3.3.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -5294,6 +5294,7 @@ var Uploader = ({
|
|
5294
5294
|
const color = isDisabled ? "neutral.500" : "primary.500";
|
5295
5295
|
const containerHeight = !isSmall ? "160px" : "120px";
|
5296
5296
|
const cursorType = filePreview ? "initial" : "pointer";
|
5297
|
+
console.log(isDragActive);
|
5297
5298
|
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_react88.FormControl, { isRequired, children: [
|
5298
5299
|
label && typeof label === "string" ? (
|
5299
5300
|
// eslint-disable-next-line react/jsx-no-useless-fragment
|
@@ -5374,7 +5375,7 @@ var Uploader = ({
|
|
5374
5375
|
fontSize: size2 === "sm" ? "text.md" : "text.xl",
|
5375
5376
|
mb: size2 === "sm" ? "0" : "2",
|
5376
5377
|
textAlign: "center",
|
5377
|
-
children: uploadFileText && size2 === "lg" ?
|
5378
|
+
children: uploadFileText && size2 === "lg" ? uploadFileText : "Upload"
|
5378
5379
|
}
|
5379
5380
|
),
|
5380
5381
|
size2 === "lg" && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_react88.Text, { fontSize: 12, children: filePreview ? dragReplaceText != null ? dragReplaceText : messages.dragReplace : dragInActiveText != null ? dragInActiveText : messages.dragInActive })
|