@ctlyst.id/internal-ui 5.5.3 → 5.5.4

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 CHANGED
@@ -3355,7 +3355,7 @@ var Datepicker = ({
3355
3355
  sx: props.selectsRange ? { caretColor: "transparent" } : {},
3356
3356
  addOnRight: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_react21.InputRightElement, { alignSelf: "center", bottom: 0, flexDir: "row-reverse", width: "auto", mr: 2, gap: 2, children: [
3357
3357
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_internal_icon6.Calendar, { size: 4, color: "neutral.400" }),
3358
- value && !props.disabled && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3358
+ value && !props.disabled && props.isClearable && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
3359
3359
  import_react37.IconButton,
3360
3360
  {
3361
3361
  "data-test-id": "H0rseVCzGIaqoLho-EPbu",