@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.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
@@ -5189,14 +5189,16 @@ var InputOption = ({
|
|
5189
5189
|
isIndeterminate: checkedState === CHECKBOX_STATE.INDETERMINATE,
|
5190
5190
|
isDisabled,
|
5191
5191
|
pointerEvents: "none",
|
5192
|
-
"data-test-id": "CT_component_select-checkbox_select-all-option"
|
5192
|
+
"data-test-id": "CT_component_select-checkbox_select-all-option",
|
5193
|
+
isInvalid: false
|
5193
5194
|
}
|
5194
5195
|
) : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
5195
5196
|
import_react80.Checkbox,
|
5196
5197
|
{
|
5197
5198
|
pointerEvents: "none",
|
5198
5199
|
isChecked: isSelected,
|
5199
|
-
"data-test-id": "CT_component_select-checkbox_option-checkbox"
|
5200
|
+
"data-test-id": "CT_component_select-checkbox_option-checkbox",
|
5201
|
+
isInvalid: false
|
5200
5202
|
}
|
5201
5203
|
),
|
5202
5204
|
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react80.Text, { textStyle: "text.sm", "data-test-id": `select-checkbox-option-label-${data.value}`, children })
|
@@ -6275,7 +6277,7 @@ var Uploader = ({
|
|
6275
6277
|
maxFiles: 1,
|
6276
6278
|
maxSize: maxFileSize == null ? void 0 : maxFileSize.validate,
|
6277
6279
|
noClick: isDisabled || !!filePreview,
|
6278
|
-
noDrag: isDisabled
|
6280
|
+
noDrag: isDisabled,
|
6279
6281
|
validator
|
6280
6282
|
});
|
6281
6283
|
const renderHelperText = () => {
|
@@ -6375,7 +6377,7 @@ var Uploader = ({
|
|
6375
6377
|
"data-test-id": `CT_component_base-image-uploader_image-preview${testId ? `_${testId}` : ""}`,
|
6376
6378
|
justify: "center",
|
6377
6379
|
align: "center",
|
6378
|
-
children: filePreview.includes("blob") &&
|
6380
|
+
children: filePreview.includes("blob") && acceptFile.some(([type]) => typeof type === "string" && type.includes("image/")) ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
6379
6381
|
import_react95.Image,
|
6380
6382
|
{
|
6381
6383
|
h: size2 === "lg" ? "120" : "100",
|