@ctlyst.id/internal-ui 3.3.14 → 3.3.15

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.mjs CHANGED
@@ -4785,10 +4785,12 @@ var TimeInput2 = forwardRef12(
4785
4785
  isSuccess,
4786
4786
  onChangeTime
4787
4787
  }, ref) => {
4788
- const dateVal = value != null ? value : config2 == null ? void 0 : config2.date;
4788
+ const timeVal = value != null ? value : new Time(0, 0, 0);
4789
+ const dateVal = /* @__PURE__ */ new Date();
4790
+ dateVal.setHours(timeVal.hours, timeVal.minutes, timeVal.seconds, 0);
4789
4791
  const defaultDate = /* @__PURE__ */ new Date();
4790
4792
  defaultDate.setHours(0, 0, 0, 0);
4791
- const date = dateVal ? new Date(dateVal) : defaultDate;
4793
+ const date = dateVal || defaultDate;
4792
4794
  const timeValue = new Time();
4793
4795
  const { getRootProps, getInputProps, options, update, _manager } = useTimescape({
4794
4796
  date,
@@ -5166,7 +5168,16 @@ var Uploader = ({
5166
5168
  });
5167
5169
  const renderHelperText = () => {
5168
5170
  if (Array.isArray(helperText)) {
5169
- return /* @__PURE__ */ jsx66(UnorderedList2, { pl: 2, fontSize: 12, color: "gray.600", "data-test-id": "CT_component_base-image-uploader_helperText", children: helperText.map((text2) => /* @__PURE__ */ jsx66(ListItem2, { children: text2 }, text2)) });
5171
+ return /* @__PURE__ */ jsx66(
5172
+ UnorderedList2,
5173
+ {
5174
+ pl: 2,
5175
+ fontSize: 12,
5176
+ color: "black.medium",
5177
+ "data-test-id": "CT_component_base-image-uploader_helperText",
5178
+ children: helperText.map((text2) => /* @__PURE__ */ jsx66(ListItem2, { children: text2 }, text2))
5179
+ }
5180
+ );
5170
5181
  }
5171
5182
  return helperText;
5172
5183
  };
@@ -5193,7 +5204,6 @@ var Uploader = ({
5193
5204
  const color = isDisabled ? "neutral.500" : "primary.500";
5194
5205
  const containerHeight = !isSmall ? "160px" : "120px";
5195
5206
  const cursorType = filePreview ? "initial" : "pointer";
5196
- console.log(isDragActive);
5197
5207
  return /* @__PURE__ */ jsxs31(FormControl4, { isRequired, children: [
5198
5208
  label && typeof label === "string" ? (
5199
5209
  // eslint-disable-next-line react/jsx-no-useless-fragment