@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.
- package/dist/blocks/auth/index.js +6 -2
- package/dist/blocks/auth/index.mjs +1 -1
- package/dist/blocks/index.js +6 -2
- package/dist/blocks/index.mjs +1 -1
- package/dist/blocks/misc/index.js +6 -2
- package/dist/blocks/misc/index.mjs +1 -1
- package/dist/{chunk-HKHXE2VO.mjs → chunk-2IGBXSJF.mjs} +6 -2
- package/dist/{chunk-LDN5RXGD.mjs → chunk-Z6S6PTPG.mjs} +6 -2
- package/dist/dataTable/index.js +6 -2
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +6 -2
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/elements/index.js +6 -2
- package/dist/elements/index.mjs +1 -1
- package/dist/index.css +3 -0
- package/dist/index.js +6 -2
- package/dist/index.mjs +6 -2
- package/dist/input/index.js +6 -2
- package/dist/input/index.js.map +1 -1
- package/dist/input/index.mjs +6 -2
- package/dist/input/index.mjs.map +1 -1
- package/dist/passwordInput/index.js +6 -2
- package/dist/passwordInput/index.js.map +1 -1
- package/dist/passwordInput/index.mjs +6 -2
- package/dist/passwordInput/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -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 ? {
|
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
|
}
|
package/dist/blocks/index.js
CHANGED
@@ -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 ? {
|
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
|
}
|
package/dist/blocks/index.mjs
CHANGED
@@ -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 ? {
|
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
|
}
|
@@ -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 ? {
|
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
|
}
|
@@ -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 ? {
|
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
|
}
|
package/dist/dataTable/index.js
CHANGED
@@ -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 ? {
|
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
|
}
|