@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.mjs
CHANGED
@@ -5178,6 +5178,7 @@ var Uploader = ({
|
|
5178
5178
|
const color = isDisabled ? "neutral.500" : "primary.500";
|
5179
5179
|
const containerHeight = !isSmall ? "160px" : "120px";
|
5180
5180
|
const cursorType = filePreview ? "initial" : "pointer";
|
5181
|
+
console.log(isDragActive);
|
5181
5182
|
return /* @__PURE__ */ jsxs31(FormControl4, { isRequired, children: [
|
5182
5183
|
label && typeof label === "string" ? (
|
5183
5184
|
// eslint-disable-next-line react/jsx-no-useless-fragment
|
@@ -5258,7 +5259,7 @@ var Uploader = ({
|
|
5258
5259
|
fontSize: size2 === "sm" ? "text.md" : "text.xl",
|
5259
5260
|
mb: size2 === "sm" ? "0" : "2",
|
5260
5261
|
textAlign: "center",
|
5261
|
-
children: uploadFileText && size2 === "lg" ?
|
5262
|
+
children: uploadFileText && size2 === "lg" ? uploadFileText : "Upload"
|
5262
5263
|
}
|
5263
5264
|
),
|
5264
5265
|
size2 === "lg" && /* @__PURE__ */ jsx66(Text18, { fontSize: 12, children: filePreview ? dragReplaceText != null ? dragReplaceText : messages.dragReplace : dragInActiveText != null ? dragInActiveText : messages.dragInActive })
|