@sikka/hawa 0.49.10-next → 0.49.12-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.
@@ -1355,13 +1355,17 @@ var Input = (0, import_react8.forwardRef)(
1355
1355
  className: cn(
1356
1356
  defaultInputStyle,
1357
1357
  "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",
1358
- {
1358
+ props.alwaysLTR && props.dir === "rtl" ? {
1359
+ "hawa-ps-9": props.endIcon,
1360
+ "hawa-pe-9": props.startIcon,
1361
+ "hawa-ps-[60px]": countPosition === "center"
1362
+ } : {
1359
1363
  "hawa-pe-9": props.endIcon,
1360
1364
  "hawa-ps-9": props.startIcon,
1361
1365
  "hawa-pe-[60px]": countPosition === "center"
1362
1366
  },
1363
1367
  preview && "hawa-border-transparent hawa-bg-transparent hawa-px-0",
1364
- props.alwaysLTR && "hawa-text-end",
1368
+ props.alwaysLTR && props.dir === "rtl" && "hawa-text-end",
1365
1369
  inputProps == null ? void 0 : inputProps.className
1366
1370
  )
1367
1371
  }
@@ -5,7 +5,7 @@ import {
5
5
  TabsContent,
6
6
  TabsList,
7
7
  TabsTrigger
8
- } from "../../chunk-LDN5RXGD.mjs";
8
+ } from "../../chunk-AQXHMINT.mjs";
9
9
  import {
10
10
  StopPropagationWrapper
11
11
  } from "../../chunk-47APBDKK.mjs";
@@ -1376,13 +1376,17 @@ var Input = (0, import_react8.forwardRef)(
1376
1376
  className: cn(
1377
1377
  defaultInputStyle,
1378
1378
  "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",
1379
- {
1379
+ props.alwaysLTR && props.dir === "rtl" ? {
1380
+ "hawa-ps-9": props.endIcon,
1381
+ "hawa-pe-9": props.startIcon,
1382
+ "hawa-ps-[60px]": countPosition === "center"
1383
+ } : {
1380
1384
  "hawa-pe-9": props.endIcon,
1381
1385
  "hawa-ps-9": props.startIcon,
1382
1386
  "hawa-pe-[60px]": countPosition === "center"
1383
1387
  },
1384
1388
  preview && "hawa-border-transparent hawa-bg-transparent hawa-px-0",
1385
- props.alwaysLTR && "hawa-text-end",
1389
+ props.alwaysLTR && props.dir === "rtl" && "hawa-text-end",
1386
1390
  inputProps == null ? void 0 : inputProps.className
1387
1391
  )
1388
1392
  }
@@ -17,7 +17,7 @@ import {
17
17
  TabsList,
18
18
  TabsTrigger,
19
19
  Textarea
20
- } from "../chunk-HKHXE2VO.mjs";
20
+ } from "../chunk-BV3MFTYE.mjs";
21
21
  import {
22
22
  getHotkeyHandler
23
23
  } from "../chunk-WQR4XZGL.mjs";
@@ -1280,13 +1280,17 @@ var Input = (0, import_react28.forwardRef)(
1280
1280
  className: cn(
1281
1281
  defaultInputStyle,
1282
1282
  "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",
1283
- {
1283
+ props.alwaysLTR && props.dir === "rtl" ? {
1284
+ "hawa-ps-9": props.endIcon,
1285
+ "hawa-pe-9": props.startIcon,
1286
+ "hawa-ps-[60px]": countPosition === "center"
1287
+ } : {
1284
1288
  "hawa-pe-9": props.endIcon,
1285
1289
  "hawa-ps-9": props.startIcon,
1286
1290
  "hawa-pe-[60px]": countPosition === "center"
1287
1291
  },
1288
1292
  preview && "hawa-border-transparent hawa-bg-transparent hawa-px-0",
1289
- props.alwaysLTR && "hawa-text-end",
1293
+ props.alwaysLTR && props.dir === "rtl" && "hawa-text-end",
1290
1294
  inputProps == null ? void 0 : inputProps.className
1291
1295
  )
1292
1296
  }
@@ -6,7 +6,7 @@ import {
6
6
  TabsList,
7
7
  TabsTrigger,
8
8
  getHotkeyHandler
9
- } from "../../chunk-LDN5RXGD.mjs";
9
+ } from "../../chunk-AQXHMINT.mjs";
10
10
  import {
11
11
  ScrollArea
12
12
  } from "../../chunk-B53SP2WZ.mjs";
@@ -455,13 +455,17 @@ var Input = forwardRef2(
455
455
  className: cn(
456
456
  defaultInputStyle,
457
457
  "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",
458
- {
458
+ props.alwaysLTR && props.dir === "rtl" ? {
459
+ "hawa-ps-9": props.endIcon,
460
+ "hawa-pe-9": props.startIcon,
461
+ "hawa-ps-[60px]": countPosition === "center"
462
+ } : {
459
463
  "hawa-pe-9": props.endIcon,
460
464
  "hawa-ps-9": props.startIcon,
461
465
  "hawa-pe-[60px]": countPosition === "center"
462
466
  },
463
467
  preview && "hawa-border-transparent hawa-bg-transparent hawa-px-0",
464
- props.alwaysLTR && "hawa-text-end",
468
+ props.alwaysLTR && props.dir === "rtl" && "hawa-text-end",
465
469
  inputProps == null ? void 0 : inputProps.className
466
470
  )
467
471
  }
@@ -291,13 +291,17 @@ var Input = forwardRef(
291
291
  className: cn(
292
292
  defaultInputStyle,
293
293
  "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",
294
- {
294
+ props.alwaysLTR && props.dir === "rtl" ? {
295
+ "hawa-ps-9": props.endIcon,
296
+ "hawa-pe-9": props.startIcon,
297
+ "hawa-ps-[60px]": countPosition === "center"
298
+ } : {
295
299
  "hawa-pe-9": props.endIcon,
296
300
  "hawa-ps-9": props.startIcon,
297
301
  "hawa-pe-[60px]": countPosition === "center"
298
302
  },
299
303
  preview && "hawa-border-transparent hawa-bg-transparent hawa-px-0",
300
- props.alwaysLTR && "hawa-text-end",
304
+ props.alwaysLTR && props.dir === "rtl" && "hawa-text-end",
301
305
  inputProps == null ? void 0 : inputProps.className
302
306
  )
303
307
  }
@@ -1113,13 +1113,17 @@ var Input = (0, import_react6.forwardRef)(
1113
1113
  className: cn(
1114
1114
  defaultInputStyle,
1115
1115
  "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",
1116
- {
1116
+ props.alwaysLTR && props.dir === "rtl" ? {
1117
+ "hawa-ps-9": props.endIcon,
1118
+ "hawa-pe-9": props.startIcon,
1119
+ "hawa-ps-[60px]": countPosition === "center"
1120
+ } : {
1117
1121
  "hawa-pe-9": props.endIcon,
1118
1122
  "hawa-ps-9": props.startIcon,
1119
1123
  "hawa-pe-[60px]": countPosition === "center"
1120
1124
  },
1121
1125
  preview && "hawa-border-transparent hawa-bg-transparent hawa-px-0",
1122
- props.alwaysLTR && "hawa-text-end",
1126
+ props.alwaysLTR && props.dir === "rtl" && "hawa-text-end",
1123
1127
  inputProps == null ? void 0 : inputProps.className
1124
1128
  )
1125
1129
  }