@ctlyst.id/internal-ui 3.3.6 → 3.3.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -4873,7 +4873,7 @@ var InputTimeArea = (0, import_react84.forwardRef)((props, ref) => {
|
|
4873
4873
|
bg: "neutral.300"
|
4874
4874
|
},
|
4875
4875
|
boxSizing: "content-box",
|
4876
|
-
height: "
|
4876
|
+
height: "22px",
|
4877
4877
|
ref,
|
4878
4878
|
p: "2px",
|
4879
4879
|
sx: {
|
@@ -4966,7 +4966,7 @@ var TimeInput2 = (0, import_react84.forwardRef)(
|
|
4966
4966
|
alignItems: "center",
|
4967
4967
|
gap: 3,
|
4968
4968
|
children: [
|
4969
|
-
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_react84.Flex, { gap:
|
4969
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_react84.Flex, { gap: "1px", width: "100%", alignItems: "center", pl: 2, children: [
|
4970
4970
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(InputTimeArea, { ...hoursProps }),
|
4971
4971
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { children: ":" }),
|
4972
4972
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(InputTimeArea, { ...getInputProps("minutes") }),
|
@@ -4976,7 +4976,7 @@ var TimeInput2 = (0, import_react84.forwardRef)(
|
|
4976
4976
|
] }),
|
4977
4977
|
options.hour12 && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_react84.Input, { p: 0, ...getInputProps("am/pm") })
|
4978
4978
|
] }),
|
4979
|
-
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_internal_icon10.Clock, { color: "neutral.400" }),
|
4979
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_internal_icon10.Clock, { color: "neutral.400", size: 4 }),
|
4980
4980
|
addOnRight
|
4981
4981
|
]
|
4982
4982
|
}
|
@@ -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 })
|