@sikka/hawa 0.49.9-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.
@@ -1071,7 +1071,7 @@ var Input = forwardRef5(
1071
1071
  "input",
1072
1072
  {
1073
1073
  required: true,
1074
- dir: props.dir,
1074
+ dir: props.alwaysLTR ? "ltr" : props.dir,
1075
1075
  type: props.type,
1076
1076
  value: props.value || value,
1077
1077
  onChange: handleChange,
@@ -1086,12 +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",
1099
+ props.alwaysLTR && props.dir === "rtl" && "hawa-text-end",
1095
1100
  inputProps == null ? void 0 : inputProps.className
1096
1101
  )
1097
1102
  }