@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.
- package/dist/blocks/auth/index.js +7 -2
- package/dist/blocks/auth/index.mjs +1 -1
- package/dist/blocks/index.js +7 -2
- package/dist/blocks/index.mjs +1 -1
- package/dist/blocks/misc/index.js +7 -2
- package/dist/blocks/misc/index.mjs +1 -1
- package/dist/{chunk-5CD5WZIQ.mjs → chunk-2IGBXSJF.mjs} +7 -2
- package/dist/{chunk-JT7R3L5O.mjs → chunk-Z6S6PTPG.mjs} +7 -2
- package/dist/dataTable/index.js +7 -2
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +7 -2
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/elements/index.d.mts +2 -0
- package/dist/elements/index.d.ts +2 -0
- package/dist/elements/index.js +7 -2
- package/dist/elements/index.mjs +1 -1
- package/dist/index.css +3 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +7 -2
- package/dist/index.mjs +7 -2
- package/dist/input/index.d.mts +2 -0
- package/dist/input/index.d.ts +2 -0
- package/dist/input/index.js +7 -2
- package/dist/input/index.js.map +1 -1
- package/dist/input/index.mjs +7 -2
- package/dist/input/index.mjs.map +1 -1
- package/dist/passwordInput/index.js +7 -2
- package/dist/passwordInput/index.js.map +1 -1
- package/dist/passwordInput/index.mjs +7 -2
- package/dist/passwordInput/index.mjs.map +1 -1
- package/package.json +4 -4
@@ -1340,7 +1340,7 @@ var Input = (0, import_react8.forwardRef)(
|
|
1340
1340
|
"input",
|
1341
1341
|
{
|
1342
1342
|
required: true,
|
1343
|
-
dir: props.dir,
|
1343
|
+
dir: props.alwaysLTR ? "ltr" : props.dir,
|
1344
1344
|
type: props.type,
|
1345
1345
|
value: props.value || value,
|
1346
1346
|
onChange: handleChange,
|
@@ -1355,12 +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",
|
1368
|
+
props.alwaysLTR && props.dir === "rtl" && "hawa-text-end",
|
1364
1369
|
inputProps == null ? void 0 : inputProps.className
|
1365
1370
|
)
|
1366
1371
|
}
|
package/dist/blocks/index.js
CHANGED
@@ -1361,7 +1361,7 @@ var Input = (0, import_react8.forwardRef)(
|
|
1361
1361
|
"input",
|
1362
1362
|
{
|
1363
1363
|
required: true,
|
1364
|
-
dir: props.dir,
|
1364
|
+
dir: props.alwaysLTR ? "ltr" : props.dir,
|
1365
1365
|
type: props.type,
|
1366
1366
|
value: props.value || value,
|
1367
1367
|
onChange: handleChange,
|
@@ -1376,12 +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",
|
1389
|
+
props.alwaysLTR && props.dir === "rtl" && "hawa-text-end",
|
1385
1390
|
inputProps == null ? void 0 : inputProps.className
|
1386
1391
|
)
|
1387
1392
|
}
|
package/dist/blocks/index.mjs
CHANGED
@@ -1265,7 +1265,7 @@ var Input = (0, import_react28.forwardRef)(
|
|
1265
1265
|
"input",
|
1266
1266
|
{
|
1267
1267
|
required: true,
|
1268
|
-
dir: props.dir,
|
1268
|
+
dir: props.alwaysLTR ? "ltr" : props.dir,
|
1269
1269
|
type: props.type,
|
1270
1270
|
value: props.value || value,
|
1271
1271
|
onChange: handleChange,
|
@@ -1280,12 +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",
|
1293
|
+
props.alwaysLTR && props.dir === "rtl" && "hawa-text-end",
|
1289
1294
|
inputProps == null ? void 0 : inputProps.className
|
1290
1295
|
)
|
1291
1296
|
}
|
@@ -276,7 +276,7 @@ var Input = forwardRef(
|
|
276
276
|
"input",
|
277
277
|
{
|
278
278
|
required: true,
|
279
|
-
dir: props.dir,
|
279
|
+
dir: props.alwaysLTR ? "ltr" : props.dir,
|
280
280
|
type: props.type,
|
281
281
|
value: props.value || value,
|
282
282
|
onChange: handleChange,
|
@@ -291,12 +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",
|
304
|
+
props.alwaysLTR && props.dir === "rtl" && "hawa-text-end",
|
300
305
|
inputProps == null ? void 0 : inputProps.className
|
301
306
|
)
|
302
307
|
}
|
@@ -440,7 +440,7 @@ var Input = forwardRef2(
|
|
440
440
|
"input",
|
441
441
|
{
|
442
442
|
required: true,
|
443
|
-
dir: props.dir,
|
443
|
+
dir: props.alwaysLTR ? "ltr" : props.dir,
|
444
444
|
type: props.type,
|
445
445
|
value: props.value || value,
|
446
446
|
onChange: handleChange,
|
@@ -455,12 +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",
|
468
|
+
props.alwaysLTR && props.dir === "rtl" && "hawa-text-end",
|
464
469
|
inputProps == null ? void 0 : inputProps.className
|
465
470
|
)
|
466
471
|
}
|
package/dist/dataTable/index.js
CHANGED
@@ -1098,7 +1098,7 @@ var Input = (0, import_react6.forwardRef)(
|
|
1098
1098
|
"input",
|
1099
1099
|
{
|
1100
1100
|
required: true,
|
1101
|
-
dir: props.dir,
|
1101
|
+
dir: props.alwaysLTR ? "ltr" : props.dir,
|
1102
1102
|
type: props.type,
|
1103
1103
|
value: props.value || value,
|
1104
1104
|
onChange: handleChange,
|
@@ -1113,12 +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",
|
1126
|
+
props.alwaysLTR && props.dir === "rtl" && "hawa-text-end",
|
1122
1127
|
inputProps == null ? void 0 : inputProps.className
|
1123
1128
|
)
|
1124
1129
|
}
|