@sikka/hawa 0.49.10-next → 0.49.11-next

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.
@@ -1086,13 +1086,17 @@ var Input = forwardRef5(
1086
1086
  className: cn(
1087
1087
  defaultInputStyle,
1088
1088
  "focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-0 dark:hawa-text-white",
1089
- {
1089
+ props.alwaysLTR ? {
1090
+ "hawa-ps-9": props.endIcon,
1091
+ "hawa-pe-9": props.startIcon,
1092
+ "hawa-ps-[60px]": countPosition === "center"
1093
+ } : {
1090
1094
  "hawa-pe-9": props.endIcon,
1091
1095
  "hawa-ps-9": props.startIcon,
1092
1096
  "hawa-pe-[60px]": countPosition === "center"
1093
1097
  },
1094
1098
  preview && "hawa-border-transparent hawa-bg-transparent hawa-px-0",
1095
- props.alwaysLTR && "hawa-text-end",
1099
+ props.alwaysLTR && props.dir === "rtl" && "hawa-text-end",
1096
1100
  inputProps == null ? void 0 : inputProps.className
1097
1101
  )
1098
1102
  }