@sikka/hawa 0.2.41-next → 0.2.43-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/index.css +245 -13
- package/dist/index.d.mts +104 -2
- package/dist/index.d.ts +104 -2
- package/dist/index.js +2288 -50
- package/dist/index.mjs +2329 -67
- package/package.json +4 -1
package/dist/index.css
CHANGED
|
@@ -388,7 +388,7 @@ video {
|
|
|
388
388
|
:root {
|
|
389
389
|
--background: 0 0% 100%;
|
|
390
390
|
--foreground: 240 10% 3.9%;
|
|
391
|
-
--card:
|
|
391
|
+
--card: 0 0% 100%;
|
|
392
392
|
--card-foreground: 240 10% 3.9%;
|
|
393
393
|
--popover: 0 0% 100%;
|
|
394
394
|
--popover-foreground: 240 10% 3.9%;
|
|
@@ -402,24 +402,17 @@ video {
|
|
|
402
402
|
--accent-foreground: 240 5.9% 10%;
|
|
403
403
|
--destructive: 0 84.2% 60.2%;
|
|
404
404
|
--destructive-foreground: 0 0% 98%;
|
|
405
|
-
--info: 209 62% 50%;
|
|
406
|
-
--info-foreground: 0 0% 98%;
|
|
407
|
-
--success: 148 48% 43%;
|
|
408
|
-
--success-foreground: 0 0% 98%;
|
|
409
|
-
--warning: 24 75% 50%;
|
|
410
|
-
--warning-foreground: 0 0% 98%;
|
|
411
|
-
--error: 0 84.2% 60.2%;
|
|
412
|
-
--error-foreground: 0 0% 98%;
|
|
413
405
|
--border: 240 5.9% 90%;
|
|
414
406
|
--input: 240 5.9% 90%;
|
|
415
|
-
--ring: 240 5%
|
|
416
|
-
--radius: 0.
|
|
407
|
+
--ring: 240 5.9% 10%;
|
|
408
|
+
--radius: 0.1rem;
|
|
417
409
|
--radius-inner: calc(var(--radius) - calc(var(--radius) / 3));
|
|
418
410
|
}
|
|
411
|
+
|
|
419
412
|
.dark {
|
|
420
413
|
--background: 240 10% 3.9%;
|
|
421
414
|
--foreground: 0 0% 98%;
|
|
422
|
-
--card:
|
|
415
|
+
--card: 240 10% 3.9%;
|
|
423
416
|
--card-foreground: 0 0% 98%;
|
|
424
417
|
--popover: 240 10% 3.9%;
|
|
425
418
|
--popover-foreground: 0 0% 98%;
|
|
@@ -432,7 +425,7 @@ video {
|
|
|
432
425
|
--accent: 240 3.7% 15.9%;
|
|
433
426
|
--accent-foreground: 0 0% 98%;
|
|
434
427
|
--destructive: 0 62.8% 30.6%;
|
|
435
|
-
--destructive-foreground: 0
|
|
428
|
+
--destructive-foreground: 0 0% 98%;
|
|
436
429
|
--border: 240 3.7% 15.9%;
|
|
437
430
|
--input: 240 3.7% 15.9%;
|
|
438
431
|
--ring: 240 4.9% 83.9%;
|
|
@@ -673,6 +666,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
673
666
|
.hawa-left-2 {
|
|
674
667
|
left: 0.5rem;
|
|
675
668
|
}
|
|
669
|
+
.hawa-left-3 {
|
|
670
|
+
left: 0.75rem;
|
|
671
|
+
}
|
|
676
672
|
.hawa-left-4 {
|
|
677
673
|
left: 1rem;
|
|
678
674
|
}
|
|
@@ -682,6 +678,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
682
678
|
.hawa-right-0 {
|
|
683
679
|
right: 0px;
|
|
684
680
|
}
|
|
681
|
+
.hawa-right-1 {
|
|
682
|
+
right: 0.25rem;
|
|
683
|
+
}
|
|
685
684
|
.hawa-right-2 {
|
|
686
685
|
right: 0.5rem;
|
|
687
686
|
}
|
|
@@ -691,12 +690,21 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
691
690
|
.hawa-top-0 {
|
|
692
691
|
top: 0px;
|
|
693
692
|
}
|
|
693
|
+
.hawa-top-1\/2 {
|
|
694
|
+
top: 50%;
|
|
695
|
+
}
|
|
694
696
|
.hawa-top-2 {
|
|
695
697
|
top: 0.5rem;
|
|
696
698
|
}
|
|
697
699
|
.hawa-top-4 {
|
|
698
700
|
top: 1rem;
|
|
699
701
|
}
|
|
702
|
+
.hawa-top-\[22px\] {
|
|
703
|
+
top: 22px;
|
|
704
|
+
}
|
|
705
|
+
.hawa-top-\[41px\] {
|
|
706
|
+
top: 41px;
|
|
707
|
+
}
|
|
700
708
|
.hawa-top-\[50\%\] {
|
|
701
709
|
top: 50%;
|
|
702
710
|
}
|
|
@@ -715,6 +723,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
715
723
|
.hawa-m-0 {
|
|
716
724
|
margin: 0px;
|
|
717
725
|
}
|
|
726
|
+
.hawa-m-2 {
|
|
727
|
+
margin: 0.5rem;
|
|
728
|
+
}
|
|
718
729
|
.hawa--mx-1 {
|
|
719
730
|
margin-left: -0.25rem;
|
|
720
731
|
margin-right: -0.25rem;
|
|
@@ -730,12 +741,24 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
730
741
|
.hawa--mt-1 {
|
|
731
742
|
margin-top: -0.25rem;
|
|
732
743
|
}
|
|
744
|
+
.hawa-mb-0 {
|
|
745
|
+
margin-bottom: 0px;
|
|
746
|
+
}
|
|
733
747
|
.hawa-mb-1 {
|
|
734
748
|
margin-bottom: 0.25rem;
|
|
735
749
|
}
|
|
750
|
+
.hawa-mb-2 {
|
|
751
|
+
margin-bottom: 0.5rem;
|
|
752
|
+
}
|
|
753
|
+
.hawa-mb-3 {
|
|
754
|
+
margin-bottom: 0.75rem;
|
|
755
|
+
}
|
|
736
756
|
.hawa-mb-4 {
|
|
737
757
|
margin-bottom: 1rem;
|
|
738
758
|
}
|
|
759
|
+
.hawa-mb-5 {
|
|
760
|
+
margin-bottom: 1.25rem;
|
|
761
|
+
}
|
|
739
762
|
.hawa-ml-2 {
|
|
740
763
|
margin-left: 0.5rem;
|
|
741
764
|
}
|
|
@@ -751,6 +774,12 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
751
774
|
.hawa-mr-8 {
|
|
752
775
|
margin-right: 2rem;
|
|
753
776
|
}
|
|
777
|
+
.hawa-mt-0 {
|
|
778
|
+
margin-top: 0px;
|
|
779
|
+
}
|
|
780
|
+
.hawa-mt-1 {
|
|
781
|
+
margin-top: 0.25rem;
|
|
782
|
+
}
|
|
754
783
|
.hawa-mt-10 {
|
|
755
784
|
margin-top: 2.5rem;
|
|
756
785
|
}
|
|
@@ -826,6 +855,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
826
855
|
.hawa-h-9 {
|
|
827
856
|
height: 2.25rem;
|
|
828
857
|
}
|
|
858
|
+
.hawa-h-\[0\.8px\] {
|
|
859
|
+
height: 0.8px;
|
|
860
|
+
}
|
|
829
861
|
.hawa-h-\[16px\] {
|
|
830
862
|
height: 16px;
|
|
831
863
|
}
|
|
@@ -844,6 +876,12 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
844
876
|
.hawa-h-\[30px\] {
|
|
845
877
|
height: 30px;
|
|
846
878
|
}
|
|
879
|
+
.hawa-h-\[38px\] {
|
|
880
|
+
height: 38px;
|
|
881
|
+
}
|
|
882
|
+
.hawa-h-auto {
|
|
883
|
+
height: auto;
|
|
884
|
+
}
|
|
847
885
|
.hawa-h-fit {
|
|
848
886
|
height: -moz-fit-content;
|
|
849
887
|
height: fit-content;
|
|
@@ -854,6 +892,13 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
854
892
|
.hawa-h-px {
|
|
855
893
|
height: 1px;
|
|
856
894
|
}
|
|
895
|
+
.hawa-h-screen {
|
|
896
|
+
height: 100vh;
|
|
897
|
+
}
|
|
898
|
+
.hawa-max-h-fit {
|
|
899
|
+
max-height: -moz-fit-content;
|
|
900
|
+
max-height: fit-content;
|
|
901
|
+
}
|
|
857
902
|
.hawa-max-h-screen {
|
|
858
903
|
max-height: 100vh;
|
|
859
904
|
}
|
|
@@ -869,6 +914,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
869
914
|
.hawa-w-1 {
|
|
870
915
|
width: 0.25rem;
|
|
871
916
|
}
|
|
917
|
+
.hawa-w-1\/2 {
|
|
918
|
+
width: 50%;
|
|
919
|
+
}
|
|
872
920
|
.hawa-w-10 {
|
|
873
921
|
width: 2.5rem;
|
|
874
922
|
}
|
|
@@ -926,6 +974,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
926
974
|
.hawa-w-\[16px\] {
|
|
927
975
|
width: 16px;
|
|
928
976
|
}
|
|
977
|
+
.hawa-w-\[190px\] {
|
|
978
|
+
width: 190px;
|
|
979
|
+
}
|
|
929
980
|
.hawa-w-\[200px\] {
|
|
930
981
|
width: 200px;
|
|
931
982
|
}
|
|
@@ -944,6 +995,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
944
995
|
.hawa-w-\[47px\] {
|
|
945
996
|
width: 47px;
|
|
946
997
|
}
|
|
998
|
+
.hawa-w-\[64px\] {
|
|
999
|
+
width: 64px;
|
|
1000
|
+
}
|
|
947
1001
|
.hawa-w-fit {
|
|
948
1002
|
width: -moz-fit-content;
|
|
949
1003
|
width: fit-content;
|
|
@@ -951,6 +1005,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
951
1005
|
.hawa-w-full {
|
|
952
1006
|
width: 100%;
|
|
953
1007
|
}
|
|
1008
|
+
.hawa-w-screen {
|
|
1009
|
+
width: 100vw;
|
|
1010
|
+
}
|
|
954
1011
|
.hawa-min-w-\[8rem\] {
|
|
955
1012
|
min-width: 8rem;
|
|
956
1013
|
}
|
|
@@ -960,6 +1017,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
960
1017
|
.hawa-max-w-2xl {
|
|
961
1018
|
max-width: 42rem;
|
|
962
1019
|
}
|
|
1020
|
+
.hawa-max-w-2xs {
|
|
1021
|
+
max-width: 250px;
|
|
1022
|
+
}
|
|
963
1023
|
.hawa-max-w-4xl {
|
|
964
1024
|
max-width: 56rem;
|
|
965
1025
|
}
|
|
@@ -1002,6 +1062,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1002
1062
|
--tw-translate-x: -0.125rem;
|
|
1003
1063
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1004
1064
|
}
|
|
1065
|
+
.hawa--translate-y-1\/2 {
|
|
1066
|
+
--tw-translate-y: -50%;
|
|
1067
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1068
|
+
}
|
|
1005
1069
|
.hawa-translate-x-0 {
|
|
1006
1070
|
--tw-translate-x: 0px;
|
|
1007
1071
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -1165,6 +1229,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1165
1229
|
.hawa-overflow-x-auto {
|
|
1166
1230
|
overflow-x: auto;
|
|
1167
1231
|
}
|
|
1232
|
+
.hawa-overflow-y-scroll {
|
|
1233
|
+
overflow-y: scroll;
|
|
1234
|
+
}
|
|
1168
1235
|
.hawa-whitespace-nowrap {
|
|
1169
1236
|
white-space: nowrap;
|
|
1170
1237
|
}
|
|
@@ -1196,6 +1263,14 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1196
1263
|
border-bottom-right-radius: var(--radius);
|
|
1197
1264
|
border-bottom-left-radius: var(--radius);
|
|
1198
1265
|
}
|
|
1266
|
+
.hawa-rounded-l {
|
|
1267
|
+
border-top-left-radius: var(--radius);
|
|
1268
|
+
border-bottom-left-radius: var(--radius);
|
|
1269
|
+
}
|
|
1270
|
+
.hawa-rounded-r {
|
|
1271
|
+
border-top-right-radius: var(--radius);
|
|
1272
|
+
border-bottom-right-radius: var(--radius);
|
|
1273
|
+
}
|
|
1199
1274
|
.hawa-rounded-t {
|
|
1200
1275
|
border-top-left-radius: var(--radius);
|
|
1201
1276
|
border-top-right-radius: var(--radius);
|
|
@@ -1204,6 +1279,24 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1204
1279
|
border-top-left-radius: 0px;
|
|
1205
1280
|
border-top-right-radius: 0px;
|
|
1206
1281
|
}
|
|
1282
|
+
.hawa-rounded-bl-lg {
|
|
1283
|
+
border-bottom-left-radius: var(--radius);
|
|
1284
|
+
}
|
|
1285
|
+
.hawa-rounded-bl-none {
|
|
1286
|
+
border-bottom-left-radius: 0px;
|
|
1287
|
+
}
|
|
1288
|
+
.hawa-rounded-br-lg {
|
|
1289
|
+
border-bottom-right-radius: var(--radius);
|
|
1290
|
+
}
|
|
1291
|
+
.hawa-rounded-tl-lg {
|
|
1292
|
+
border-top-left-radius: var(--radius);
|
|
1293
|
+
}
|
|
1294
|
+
.hawa-rounded-tr-lg {
|
|
1295
|
+
border-top-right-radius: var(--radius);
|
|
1296
|
+
}
|
|
1297
|
+
.hawa-rounded-tr-none {
|
|
1298
|
+
border-top-right-radius: 0px;
|
|
1299
|
+
}
|
|
1207
1300
|
.hawa-border {
|
|
1208
1301
|
border-width: 1px;
|
|
1209
1302
|
}
|
|
@@ -1216,6 +1309,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1216
1309
|
.hawa-border-b-2 {
|
|
1217
1310
|
border-bottom-width: 2px;
|
|
1218
1311
|
}
|
|
1312
|
+
.hawa-border-dashed {
|
|
1313
|
+
border-style: dashed;
|
|
1314
|
+
}
|
|
1219
1315
|
.hawa-border-black {
|
|
1220
1316
|
--tw-border-opacity: 1;
|
|
1221
1317
|
border-color: rgb(0 0 0 / var(--tw-border-opacity));
|
|
@@ -1245,6 +1341,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1245
1341
|
.hawa-border-primary {
|
|
1246
1342
|
border-color: hsl(var(--primary));
|
|
1247
1343
|
}
|
|
1344
|
+
.hawa-border-transparent {
|
|
1345
|
+
border-color: transparent;
|
|
1346
|
+
}
|
|
1248
1347
|
.hawa-bg-background {
|
|
1249
1348
|
background-color: hsl(var(--background));
|
|
1250
1349
|
}
|
|
@@ -1293,6 +1392,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1293
1392
|
--tw-bg-opacity: 1;
|
|
1294
1393
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1295
1394
|
}
|
|
1395
|
+
.hawa-bg-gray-900 {
|
|
1396
|
+
--tw-bg-opacity: 1;
|
|
1397
|
+
background-color: rgb(17 24 39 / var(--tw-bg-opacity));
|
|
1398
|
+
}
|
|
1296
1399
|
.hawa-bg-green-100 {
|
|
1297
1400
|
--tw-bg-opacity: 1;
|
|
1298
1401
|
background-color: rgb(220 252 231 / var(--tw-bg-opacity));
|
|
@@ -1308,6 +1411,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1308
1411
|
.hawa-bg-muted {
|
|
1309
1412
|
background-color: hsl(var(--muted));
|
|
1310
1413
|
}
|
|
1414
|
+
.hawa-bg-muted\/20 {
|
|
1415
|
+
background-color: hsl(var(--muted) / 0.2);
|
|
1416
|
+
}
|
|
1311
1417
|
.hawa-bg-popover {
|
|
1312
1418
|
background-color: hsl(var(--popover));
|
|
1313
1419
|
}
|
|
@@ -1466,9 +1572,15 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1466
1572
|
.hawa-pb-0 {
|
|
1467
1573
|
padding-bottom: 0px;
|
|
1468
1574
|
}
|
|
1575
|
+
.hawa-pb-2 {
|
|
1576
|
+
padding-bottom: 0.5rem;
|
|
1577
|
+
}
|
|
1469
1578
|
.hawa-pl-0 {
|
|
1470
1579
|
padding-left: 0px;
|
|
1471
1580
|
}
|
|
1581
|
+
.hawa-pl-10 {
|
|
1582
|
+
padding-left: 2.5rem;
|
|
1583
|
+
}
|
|
1472
1584
|
.hawa-pl-2 {
|
|
1473
1585
|
padding-left: 0.5rem;
|
|
1474
1586
|
}
|
|
@@ -1496,6 +1608,12 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1496
1608
|
.hawa-pt-1 {
|
|
1497
1609
|
padding-top: 0.25rem;
|
|
1498
1610
|
}
|
|
1611
|
+
.hawa-pt-2 {
|
|
1612
|
+
padding-top: 0.5rem;
|
|
1613
|
+
}
|
|
1614
|
+
.hawa-pt-4 {
|
|
1615
|
+
padding-top: 1rem;
|
|
1616
|
+
}
|
|
1499
1617
|
.hawa-pt-6 {
|
|
1500
1618
|
padding-top: 1.5rem;
|
|
1501
1619
|
}
|
|
@@ -1505,6 +1623,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1505
1623
|
.hawa-text-center {
|
|
1506
1624
|
text-align: center;
|
|
1507
1625
|
}
|
|
1626
|
+
.hawa-text-right {
|
|
1627
|
+
text-align: right;
|
|
1628
|
+
}
|
|
1508
1629
|
.hawa-text-start {
|
|
1509
1630
|
text-align: start;
|
|
1510
1631
|
}
|
|
@@ -1512,6 +1633,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1512
1633
|
font-size: 1.5rem;
|
|
1513
1634
|
line-height: 2rem;
|
|
1514
1635
|
}
|
|
1636
|
+
.hawa-text-\[0\.875rem\] {
|
|
1637
|
+
font-size: 0.875rem;
|
|
1638
|
+
}
|
|
1515
1639
|
.hawa-text-\[10px\] {
|
|
1516
1640
|
font-size: 10px;
|
|
1517
1641
|
}
|
|
@@ -1626,6 +1750,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1626
1750
|
.hawa-text-muted-foreground {
|
|
1627
1751
|
color: hsl(var(--muted-foreground));
|
|
1628
1752
|
}
|
|
1753
|
+
.hawa-text-muted-foreground\/50 {
|
|
1754
|
+
color: hsl(var(--muted-foreground) / 0.5);
|
|
1755
|
+
}
|
|
1629
1756
|
.hawa-text-popover-foreground {
|
|
1630
1757
|
color: hsl(var(--popover-foreground));
|
|
1631
1758
|
}
|
|
@@ -1639,6 +1766,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1639
1766
|
--tw-text-opacity: 1;
|
|
1640
1767
|
color: rgb(239 68 68 / var(--tw-text-opacity));
|
|
1641
1768
|
}
|
|
1769
|
+
.hawa-text-red-600 {
|
|
1770
|
+
--tw-text-opacity: 1;
|
|
1771
|
+
color: rgb(220 38 38 / var(--tw-text-opacity));
|
|
1772
|
+
}
|
|
1642
1773
|
.hawa-text-red-700 {
|
|
1643
1774
|
--tw-text-opacity: 1;
|
|
1644
1775
|
color: rgb(185 28 28 / var(--tw-text-opacity));
|
|
@@ -1813,6 +1944,60 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1813
1944
|
body {
|
|
1814
1945
|
font-family: "IBM Plex Sans Arabic", sans-serif;
|
|
1815
1946
|
}
|
|
1947
|
+
/*
|
|
1948
|
+
@layer base {
|
|
1949
|
+
:root {
|
|
1950
|
+
--background: 0 0% 100%;
|
|
1951
|
+
--foreground: 240 10% 3.9%;
|
|
1952
|
+
--card: 210 50% 98%;
|
|
1953
|
+
--card-foreground: 240 10% 3.9%;
|
|
1954
|
+
--popover: 0 0% 100%;
|
|
1955
|
+
--popover-foreground: 240 10% 3.9%;
|
|
1956
|
+
--primary: 240 5.9% 10%;
|
|
1957
|
+
--primary-foreground: 0 0% 98%;
|
|
1958
|
+
--secondary: 240 4.8% 95.9%;
|
|
1959
|
+
--secondary-foreground: 240 5.9% 10%;
|
|
1960
|
+
--muted: 240 4.8% 95.9%;
|
|
1961
|
+
--muted-foreground: 240 3.8% 46.1%;
|
|
1962
|
+
--accent: 240 4.8% 95.9%;
|
|
1963
|
+
--accent-foreground: 240 5.9% 10%;
|
|
1964
|
+
--destructive: 0 84.2% 60.2%;
|
|
1965
|
+
--destructive-foreground: 0 0% 98%;
|
|
1966
|
+
--info: 209 62% 50%;
|
|
1967
|
+
--info-foreground: 0 0% 98%;
|
|
1968
|
+
--success: 148 48% 43%;
|
|
1969
|
+
--success-foreground: 0 0% 98%;
|
|
1970
|
+
--warning: 24 75% 50%;
|
|
1971
|
+
--warning-foreground: 0 0% 98%;
|
|
1972
|
+
--error: 0 84.2% 60.2%;
|
|
1973
|
+
--error-foreground: 0 0% 98%;
|
|
1974
|
+
--border: 240 5.9% 90%;
|
|
1975
|
+
--input: 240 5.9% 90%;
|
|
1976
|
+
--ring: 240 5% 64.9%;
|
|
1977
|
+
--radius: 0.5rem;
|
|
1978
|
+
}
|
|
1979
|
+
.dark {
|
|
1980
|
+
--background: 240 10% 3.9%;
|
|
1981
|
+
--foreground: 0 0% 98%;
|
|
1982
|
+
--card: 0 0% 2%;
|
|
1983
|
+
--card-foreground: 0 0% 98%;
|
|
1984
|
+
--popover: 240 10% 3.9%;
|
|
1985
|
+
--popover-foreground: 0 0% 98%;
|
|
1986
|
+
--primary: 0 0% 98%;
|
|
1987
|
+
--primary-foreground: 240 5.9% 10%;
|
|
1988
|
+
--secondary: 240 3.7% 15.9%;
|
|
1989
|
+
--secondary-foreground: 0 0% 98%;
|
|
1990
|
+
--muted: 240 3.7% 15.9%;
|
|
1991
|
+
--muted-foreground: 240 5% 64.9%;
|
|
1992
|
+
--accent: 240 3.7% 15.9%;
|
|
1993
|
+
--accent-foreground: 0 0% 98%;
|
|
1994
|
+
--destructive: 0 62.8% 30.6%;
|
|
1995
|
+
--destructive-foreground: 0 85.7% 97.3%;
|
|
1996
|
+
--border: 240 3.7% 15.9%;
|
|
1997
|
+
--input: 240 3.7% 15.9%;
|
|
1998
|
+
--ring: 240 4.9% 83.9%;
|
|
1999
|
+
}
|
|
2000
|
+
} */
|
|
1816
2001
|
.placeholder\:hawa-text-muted-foreground::-moz-placeholder {
|
|
1817
2002
|
color: hsl(var(--muted-foreground));
|
|
1818
2003
|
}
|
|
@@ -1908,6 +2093,10 @@ body {
|
|
|
1908
2093
|
--tw-bg-opacity: 1;
|
|
1909
2094
|
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
|
1910
2095
|
}
|
|
2096
|
+
.hover\:hawa-bg-gray-200:hover {
|
|
2097
|
+
--tw-bg-opacity: 1;
|
|
2098
|
+
background-color: rgb(229 231 235 / var(--tw-bg-opacity));
|
|
2099
|
+
}
|
|
1911
2100
|
.hover\:hawa-bg-gray-300:hover {
|
|
1912
2101
|
--tw-bg-opacity: 1;
|
|
1913
2102
|
background-color: rgb(209 213 219 / var(--tw-bg-opacity));
|
|
@@ -1919,6 +2108,12 @@ body {
|
|
|
1919
2108
|
.hover\:hawa-bg-muted-foreground\/20:hover {
|
|
1920
2109
|
background-color: hsl(var(--muted-foreground) / 0.2);
|
|
1921
2110
|
}
|
|
2111
|
+
.hover\:hawa-bg-muted\/50:hover {
|
|
2112
|
+
background-color: hsl(var(--muted) / 0.5);
|
|
2113
|
+
}
|
|
2114
|
+
.hover\:hawa-bg-primary:hover {
|
|
2115
|
+
background-color: hsl(var(--primary));
|
|
2116
|
+
}
|
|
1922
2117
|
.hover\:hawa-bg-primary\/10:hover {
|
|
1923
2118
|
background-color: hsl(var(--primary) / 0.1);
|
|
1924
2119
|
}
|
|
@@ -1959,6 +2154,9 @@ body {
|
|
|
1959
2154
|
.hover\:hawa-text-primary:hover {
|
|
1960
2155
|
color: hsl(var(--primary));
|
|
1961
2156
|
}
|
|
2157
|
+
.hover\:hawa-text-primary-foreground:hover {
|
|
2158
|
+
color: hsl(var(--primary-foreground));
|
|
2159
|
+
}
|
|
1962
2160
|
.hover\:hawa-text-secondary-foreground:hover {
|
|
1963
2161
|
color: hsl(var(--secondary-foreground));
|
|
1964
2162
|
}
|
|
@@ -1979,6 +2177,10 @@ body {
|
|
|
1979
2177
|
--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));
|
|
1980
2178
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
1981
2179
|
}
|
|
2180
|
+
.focus\:hawa-border-blue-500:focus {
|
|
2181
|
+
--tw-border-opacity: 1;
|
|
2182
|
+
border-color: rgb(59 130 246 / var(--tw-border-opacity));
|
|
2183
|
+
}
|
|
1982
2184
|
.focus\:hawa-bg-accent:focus {
|
|
1983
2185
|
background-color: hsl(var(--accent));
|
|
1984
2186
|
}
|
|
@@ -2000,6 +2202,10 @@ body {
|
|
|
2000
2202
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
2001
2203
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
2002
2204
|
}
|
|
2205
|
+
.focus\:hawa-ring-blue-500:focus {
|
|
2206
|
+
--tw-ring-opacity: 1;
|
|
2207
|
+
--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));
|
|
2208
|
+
}
|
|
2003
2209
|
.focus\:hawa-ring-ring:focus {
|
|
2004
2210
|
--tw-ring-color: hsl(var(--ring));
|
|
2005
2211
|
}
|
|
@@ -2043,6 +2249,10 @@ body {
|
|
|
2043
2249
|
.disabled\:hawa-cursor-not-allowed:disabled {
|
|
2044
2250
|
cursor: not-allowed;
|
|
2045
2251
|
}
|
|
2252
|
+
.disabled\:hawa-bg-gray-200:disabled {
|
|
2253
|
+
--tw-bg-opacity: 1;
|
|
2254
|
+
background-color: rgb(229 231 235 / var(--tw-bg-opacity));
|
|
2255
|
+
}
|
|
2046
2256
|
.disabled\:hawa-opacity-50:disabled {
|
|
2047
2257
|
opacity: 0.5;
|
|
2048
2258
|
}
|
|
@@ -2173,6 +2383,9 @@ body {
|
|
|
2173
2383
|
--tw-translate-x: var(--radix-toast-swipe-move-x);
|
|
2174
2384
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
2175
2385
|
}
|
|
2386
|
+
.data-\[state\=active\]\:hawa-bg-primary[data-state=active] {
|
|
2387
|
+
background-color: hsl(var(--primary));
|
|
2388
|
+
}
|
|
2176
2389
|
.data-\[state\=checked\]\:hawa-bg-primary[data-state=checked] {
|
|
2177
2390
|
background-color: hsl(var(--primary));
|
|
2178
2391
|
}
|
|
@@ -2182,6 +2395,9 @@ body {
|
|
|
2182
2395
|
.data-\[state\=open\]\:hawa-bg-accent[data-state=open] {
|
|
2183
2396
|
background-color: hsl(var(--accent));
|
|
2184
2397
|
}
|
|
2398
|
+
.data-\[state\=active\]\:hawa-text-primary-foreground[data-state=active] {
|
|
2399
|
+
color: hsl(var(--primary-foreground));
|
|
2400
|
+
}
|
|
2185
2401
|
.data-\[state\=checked\]\:hawa-text-primary-foreground[data-state=checked] {
|
|
2186
2402
|
color: hsl(var(--primary-foreground));
|
|
2187
2403
|
}
|
|
@@ -2191,6 +2407,11 @@ body {
|
|
|
2191
2407
|
.data-\[disabled\]\:hawa-opacity-50[data-disabled] {
|
|
2192
2408
|
opacity: 0.5;
|
|
2193
2409
|
}
|
|
2410
|
+
.data-\[state\=active\]\:hawa-shadow-sm[data-state=active] {
|
|
2411
|
+
--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
2412
|
+
--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
|
|
2413
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
2414
|
+
}
|
|
2194
2415
|
.data-\[swipe\=move\]\:hawa-transition-none[data-swipe=move] {
|
|
2195
2416
|
transition-property: none;
|
|
2196
2417
|
}
|
|
@@ -2273,6 +2494,9 @@ body {
|
|
|
2273
2494
|
--tw-border-opacity: 1;
|
|
2274
2495
|
border-color: rgb(55 65 81 / var(--tw-border-opacity));
|
|
2275
2496
|
}
|
|
2497
|
+
:is(.hawa-dark .dark\:hawa-border-primary\/10) {
|
|
2498
|
+
border-color: hsl(var(--primary) / 0.1);
|
|
2499
|
+
}
|
|
2276
2500
|
:is(.hawa-dark .dark\:hawa-bg-background) {
|
|
2277
2501
|
background-color: hsl(var(--background));
|
|
2278
2502
|
}
|
|
@@ -2333,6 +2557,10 @@ body {
|
|
|
2333
2557
|
--tw-text-opacity: 1;
|
|
2334
2558
|
color: rgb(22 101 52 / var(--tw-text-opacity));
|
|
2335
2559
|
}
|
|
2560
|
+
:is(.hawa-dark .dark\:hawa-text-red-500) {
|
|
2561
|
+
--tw-text-opacity: 1;
|
|
2562
|
+
color: rgb(239 68 68 / var(--tw-text-opacity));
|
|
2563
|
+
}
|
|
2336
2564
|
:is(.hawa-dark .dark\:hawa-text-red-800) {
|
|
2337
2565
|
--tw-text-opacity: 1;
|
|
2338
2566
|
color: rgb(153 27 27 / var(--tw-text-opacity));
|
|
@@ -2355,6 +2583,10 @@ body {
|
|
|
2355
2583
|
--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
|
|
2356
2584
|
--tw-gradient-stops: var(--tw-gradient-from), rgb(255 255 255 / 0.1) var(--tw-gradient-via-position), var(--tw-gradient-to);
|
|
2357
2585
|
}
|
|
2586
|
+
:is(.hawa-dark .dark\:hover\:hawa-bg-gray-600:hover) {
|
|
2587
|
+
--tw-bg-opacity: 1;
|
|
2588
|
+
background-color: rgb(75 85 99 / var(--tw-bg-opacity));
|
|
2589
|
+
}
|
|
2358
2590
|
:is(.hawa-dark .dark\:hover\:hawa-bg-gray-700:hover) {
|
|
2359
2591
|
--tw-bg-opacity: 1;
|
|
2360
2592
|
background-color: rgb(55 65 81 / var(--tw-bg-opacity));
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import React__default, { FC, ReactNode } from 'react';
|
|
3
|
+
import React__default, { FC, ReactNode, ChangeEvent, RefObject, PropsWithRef } from 'react';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
6
6
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
@@ -10,6 +10,7 @@ import * as LabelPrimitive from '@radix-ui/react-label';
|
|
|
10
10
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
11
11
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
12
12
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
13
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
13
14
|
|
|
14
15
|
declare const buttonVariants: (props?: ({
|
|
15
16
|
variant?: "link" | "default" | "light" | "destructive" | "outline" | "secondary" | "ghost" | "neoBrutalism" | null | undefined;
|
|
@@ -266,6 +267,14 @@ interface DropdownMenuProps {
|
|
|
266
267
|
}
|
|
267
268
|
declare const DropdownMenu: React.FC<DropdownMenuProps>;
|
|
268
269
|
|
|
270
|
+
type ColorPickerTypes = {
|
|
271
|
+
/** The hex code for the color */
|
|
272
|
+
color?: any;
|
|
273
|
+
/** Fires everytime the color changes */
|
|
274
|
+
handleChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
275
|
+
};
|
|
276
|
+
declare const ColorPicker: FC<ColorPickerTypes>;
|
|
277
|
+
|
|
269
278
|
type PinInputTypes = {
|
|
270
279
|
/** Label text to display for the Pin Input */
|
|
271
280
|
label?: string;
|
|
@@ -292,10 +301,103 @@ type ImageCardTypes = {
|
|
|
292
301
|
};
|
|
293
302
|
declare const ActionCard: FC<ImageCardTypes>;
|
|
294
303
|
|
|
304
|
+
type FileDropzoneTypes = {
|
|
305
|
+
/** The text label above the component. Consistant with the other form input fields */
|
|
306
|
+
label?: string;
|
|
307
|
+
files: [File];
|
|
308
|
+
setFiles: any;
|
|
309
|
+
setDeletedFiles: any;
|
|
310
|
+
maxFiles: number;
|
|
311
|
+
accept: any;
|
|
312
|
+
onAcceptedFiles: any;
|
|
313
|
+
showPreview: any;
|
|
314
|
+
onDeleteFile: any;
|
|
315
|
+
onClearFiles: any;
|
|
316
|
+
maxSize: number;
|
|
317
|
+
errorMessages: string;
|
|
318
|
+
disclaimer?: boolean;
|
|
319
|
+
termsLink?: string;
|
|
320
|
+
privacyLink?: string;
|
|
321
|
+
/** The translation object, use this to replace the default text with any translated text you want.*/
|
|
322
|
+
texts: {
|
|
323
|
+
errorUploading: any;
|
|
324
|
+
clickHereToUpload: any;
|
|
325
|
+
maxFileSize: any;
|
|
326
|
+
tooManyFiles: any;
|
|
327
|
+
fileTooLarge: any;
|
|
328
|
+
acceptedFileTypes: any;
|
|
329
|
+
invalidFileType: any;
|
|
330
|
+
terms?: string;
|
|
331
|
+
privacyPolicy?: string;
|
|
332
|
+
disclaimer?: string;
|
|
333
|
+
and?: string;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
declare const FileDropzone: React__default.FunctionComponent<FileDropzoneTypes>;
|
|
337
|
+
|
|
338
|
+
type PhoneInputTypes = {
|
|
339
|
+
preferredCountry?: any;
|
|
340
|
+
helperText?: any;
|
|
341
|
+
label?: string;
|
|
342
|
+
value?: any;
|
|
343
|
+
country?: any;
|
|
344
|
+
handleChange?: any;
|
|
345
|
+
};
|
|
346
|
+
declare const PhoneInput: FC<PhoneInputTypes>;
|
|
347
|
+
|
|
295
348
|
type StoreButtonsTypes = {
|
|
296
349
|
store: "apple" | "google";
|
|
297
350
|
mode: "dark" | "light";
|
|
298
351
|
};
|
|
299
352
|
declare const AppStores: FC<StoreButtonsTypes>;
|
|
300
353
|
|
|
301
|
-
|
|
354
|
+
type BackToTopTypes = {
|
|
355
|
+
paddingX?: number;
|
|
356
|
+
paddingY?: number;
|
|
357
|
+
paddingThreshold?: number;
|
|
358
|
+
corner?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
359
|
+
anchor: RefObject<HTMLInputElement>;
|
|
360
|
+
};
|
|
361
|
+
declare const BackToTop: FC<BackToTopTypes>;
|
|
362
|
+
|
|
363
|
+
type TextFieldTypes = {
|
|
364
|
+
isLoading?: boolean;
|
|
365
|
+
margin?: "none" | "normal" | "large";
|
|
366
|
+
width?: "small" | "normal" | "full";
|
|
367
|
+
/** The label of the input field */
|
|
368
|
+
label?: any;
|
|
369
|
+
/** Disable/Enable multiple line text input field */
|
|
370
|
+
multiline?: boolean;
|
|
371
|
+
/** The small red text under the input field to show validation or a hint. */
|
|
372
|
+
helperText?: any;
|
|
373
|
+
/** The value of the input field */
|
|
374
|
+
value?: any;
|
|
375
|
+
props?: PropsWithRef<"input">;
|
|
376
|
+
/** The type of input field. Same as the types of the HTML input element */
|
|
377
|
+
type?: any;
|
|
378
|
+
/** The placeholder of the input field */
|
|
379
|
+
placeholder?: any;
|
|
380
|
+
defaultValue?: any;
|
|
381
|
+
name?: any;
|
|
382
|
+
inputProps?: any;
|
|
383
|
+
onChange?: any;
|
|
384
|
+
ref?: any;
|
|
385
|
+
/** The icon inside the input field */
|
|
386
|
+
icon?: any;
|
|
387
|
+
/** Boolean to enable/disable editing the input field and using it as a text field */
|
|
388
|
+
preview?: boolean;
|
|
389
|
+
autoComplete?: any;
|
|
390
|
+
maxLength?: any;
|
|
391
|
+
className?: any;
|
|
392
|
+
iconInside?: React__default.ReactNode;
|
|
393
|
+
};
|
|
394
|
+
declare const Input: FC<TextFieldTypes>;
|
|
395
|
+
|
|
396
|
+
declare const Tabs: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
397
|
+
orientation?: "horizontal" | "vertical" | undefined;
|
|
398
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
399
|
+
declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
400
|
+
declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
401
|
+
declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
402
|
+
|
|
403
|
+
export { ActionCard, Alert, AppStores, BackToTop, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Chip, CodeBlock, ColorPicker, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, FileDropzone, Input, Label, Loading, MenuItemType, PhoneInput, PinInput, Popover, PopoverContent, Radio, Skeleton, Slider, SubItem, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TextareaProps, Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, buttonVariants };
|