@ctlyst.id/internal-ui 5.5.0 → 5.5.2

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
@@ -4975,14 +4975,16 @@ var InputOption = ({
4975
4975
  isIndeterminate: checkedState === CHECKBOX_STATE.INDETERMINATE,
4976
4976
  isDisabled,
4977
4977
  pointerEvents: "none",
4978
- "data-test-id": "CT_component_select-checkbox_select-all-option"
4978
+ "data-test-id": "CT_component_select-checkbox_select-all-option",
4979
+ isInvalid: false
4979
4980
  }
4980
4981
  ) : /* @__PURE__ */ jsx58(
4981
4982
  Checkbox2,
4982
4983
  {
4983
4984
  pointerEvents: "none",
4984
4985
  isChecked: isSelected,
4985
- "data-test-id": "CT_component_select-checkbox_option-checkbox"
4986
+ "data-test-id": "CT_component_select-checkbox_option-checkbox",
4987
+ isInvalid: false
4986
4988
  }
4987
4989
  ),
4988
4990
  /* @__PURE__ */ jsx58(Text14, { textStyle: "text.sm", "data-test-id": `select-checkbox-option-label-${data.value}`, children })
@@ -6137,7 +6139,7 @@ var Uploader = ({
6137
6139
  maxFiles: 1,
6138
6140
  maxSize: maxFileSize == null ? void 0 : maxFileSize.validate,
6139
6141
  noClick: isDisabled || !!filePreview,
6140
- noDrag: isDisabled || !!filePreview,
6142
+ noDrag: isDisabled,
6141
6143
  validator
6142
6144
  });
6143
6145
  const renderHelperText = () => {
@@ -6237,7 +6239,7 @@ var Uploader = ({
6237
6239
  "data-test-id": `CT_component_base-image-uploader_image-preview${testId ? `_${testId}` : ""}`,
6238
6240
  justify: "center",
6239
6241
  align: "center",
6240
- children: filePreview.includes("blob") && !acceptFile.some(([type]) => typeof type === "string" && type.includes("image/")) ? /* @__PURE__ */ jsx67(
6242
+ children: filePreview.includes("blob") && acceptFile.some(([type]) => typeof type === "string" && type.includes("image/")) ? /* @__PURE__ */ jsx67(
6241
6243
  ChakraImage,
6242
6244
  {
6243
6245
  h: size2 === "lg" ? "120" : "100",