@sikka/hawa 0.2.44-next → 0.2.47-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 +177 -18
- package/dist/index.d.mts +95 -9
- package/dist/index.d.ts +95 -9
- package/dist/index.js +714 -197
- package/dist/index.mjs +667 -149
- package/package.json +4 -2
package/dist/index.css
CHANGED
|
@@ -405,7 +405,7 @@ video {
|
|
|
405
405
|
--border: 240 5.9% 90%;
|
|
406
406
|
--input: 240 5.9% 90%;
|
|
407
407
|
--ring: 240 5.9% 10%;
|
|
408
|
-
--radius: 0.
|
|
408
|
+
--radius: 0.5rem;
|
|
409
409
|
--radius-inner: calc(var(--radius) - calc(var(--radius) / 3));
|
|
410
410
|
}
|
|
411
411
|
|
|
@@ -645,6 +645,12 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
645
645
|
.hawa-pointer-events-auto {
|
|
646
646
|
pointer-events: auto;
|
|
647
647
|
}
|
|
648
|
+
.hawa-visible {
|
|
649
|
+
visibility: visible;
|
|
650
|
+
}
|
|
651
|
+
.hawa-invisible {
|
|
652
|
+
visibility: hidden;
|
|
653
|
+
}
|
|
648
654
|
.hawa-fixed {
|
|
649
655
|
position: fixed;
|
|
650
656
|
}
|
|
@@ -657,9 +663,15 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
657
663
|
.hawa-inset-0 {
|
|
658
664
|
inset: 0px;
|
|
659
665
|
}
|
|
666
|
+
.hawa-bottom-0 {
|
|
667
|
+
bottom: 0px;
|
|
668
|
+
}
|
|
660
669
|
.hawa-bottom-2 {
|
|
661
670
|
bottom: 0.5rem;
|
|
662
671
|
}
|
|
672
|
+
.hawa-bottom-4 {
|
|
673
|
+
bottom: 1rem;
|
|
674
|
+
}
|
|
663
675
|
.hawa-left-0 {
|
|
664
676
|
left: 0px;
|
|
665
677
|
}
|
|
@@ -738,6 +750,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
738
750
|
margin-top: 0.25rem;
|
|
739
751
|
margin-bottom: 0.25rem;
|
|
740
752
|
}
|
|
753
|
+
.hawa-my-4 {
|
|
754
|
+
margin-top: 1rem;
|
|
755
|
+
margin-bottom: 1rem;
|
|
756
|
+
}
|
|
741
757
|
.hawa--mt-1 {
|
|
742
758
|
margin-top: -0.25rem;
|
|
743
759
|
}
|
|
@@ -768,6 +784,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
768
784
|
.hawa-ml-auto {
|
|
769
785
|
margin-left: auto;
|
|
770
786
|
}
|
|
787
|
+
.hawa-mr-2 {
|
|
788
|
+
margin-right: 0.5rem;
|
|
789
|
+
}
|
|
771
790
|
.hawa-mr-3 {
|
|
772
791
|
margin-right: 0.75rem;
|
|
773
792
|
}
|
|
@@ -789,6 +808,12 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
789
808
|
.hawa-mt-3 {
|
|
790
809
|
margin-top: 0.75rem;
|
|
791
810
|
}
|
|
811
|
+
.hawa-mt-4 {
|
|
812
|
+
margin-top: 1rem;
|
|
813
|
+
}
|
|
814
|
+
.hawa-mt-8 {
|
|
815
|
+
margin-top: 2rem;
|
|
816
|
+
}
|
|
792
817
|
.hawa-block {
|
|
793
818
|
display: block;
|
|
794
819
|
}
|
|
@@ -864,6 +889,12 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
864
889
|
.hawa-h-\[16px\] {
|
|
865
890
|
height: 16px;
|
|
866
891
|
}
|
|
892
|
+
.hawa-h-\[185px\] {
|
|
893
|
+
height: 185px;
|
|
894
|
+
}
|
|
895
|
+
.hawa-h-\[1px\] {
|
|
896
|
+
height: 1px;
|
|
897
|
+
}
|
|
867
898
|
.hawa-h-\[200px\] {
|
|
868
899
|
height: 200px;
|
|
869
900
|
}
|
|
@@ -882,11 +913,14 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
882
913
|
.hawa-h-\[30px\] {
|
|
883
914
|
height: 30px;
|
|
884
915
|
}
|
|
916
|
+
.hawa-h-\[36px\] {
|
|
917
|
+
height: 36px;
|
|
918
|
+
}
|
|
885
919
|
.hawa-h-\[38px\] {
|
|
886
920
|
height: 38px;
|
|
887
921
|
}
|
|
888
|
-
.hawa-h
|
|
889
|
-
height:
|
|
922
|
+
.hawa-h-\[44px\] {
|
|
923
|
+
height: 44px;
|
|
890
924
|
}
|
|
891
925
|
.hawa-h-fit {
|
|
892
926
|
height: -moz-fit-content;
|
|
@@ -901,6 +935,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
901
935
|
.hawa-h-screen {
|
|
902
936
|
height: 100vh;
|
|
903
937
|
}
|
|
938
|
+
.hawa-max-h-\[300px\] {
|
|
939
|
+
max-height: 300px;
|
|
940
|
+
}
|
|
904
941
|
.hawa-max-h-fit {
|
|
905
942
|
max-height: -moz-fit-content;
|
|
906
943
|
max-height: fit-content;
|
|
@@ -980,12 +1017,18 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
980
1017
|
.hawa-w-9 {
|
|
981
1018
|
width: 2.25rem;
|
|
982
1019
|
}
|
|
1020
|
+
.hawa-w-\[100px\] {
|
|
1021
|
+
width: 100px;
|
|
1022
|
+
}
|
|
983
1023
|
.hawa-w-\[16px\] {
|
|
984
1024
|
width: 16px;
|
|
985
1025
|
}
|
|
986
1026
|
.hawa-w-\[190px\] {
|
|
987
1027
|
width: 190px;
|
|
988
1028
|
}
|
|
1029
|
+
.hawa-w-\[1px\] {
|
|
1030
|
+
width: 1px;
|
|
1031
|
+
}
|
|
989
1032
|
.hawa-w-\[200px\] {
|
|
990
1033
|
width: 200px;
|
|
991
1034
|
}
|
|
@@ -1007,9 +1050,6 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1007
1050
|
.hawa-w-\[47px\] {
|
|
1008
1051
|
width: 47px;
|
|
1009
1052
|
}
|
|
1010
|
-
.hawa-w-\[64px\] {
|
|
1011
|
-
width: 64px;
|
|
1012
|
-
}
|
|
1013
1053
|
.hawa-w-fit {
|
|
1014
1054
|
width: -moz-fit-content;
|
|
1015
1055
|
width: fit-content;
|
|
@@ -1023,6 +1063,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1023
1063
|
.hawa-min-w-\[8rem\] {
|
|
1024
1064
|
min-width: 8rem;
|
|
1025
1065
|
}
|
|
1066
|
+
.hawa-min-w-fit {
|
|
1067
|
+
min-width: -moz-fit-content;
|
|
1068
|
+
min-width: fit-content;
|
|
1069
|
+
}
|
|
1026
1070
|
.hawa-min-w-full {
|
|
1027
1071
|
min-width: 100%;
|
|
1028
1072
|
}
|
|
@@ -1148,6 +1192,12 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1148
1192
|
-moz-user-select: none;
|
|
1149
1193
|
user-select: none;
|
|
1150
1194
|
}
|
|
1195
|
+
.hawa-resize-none {
|
|
1196
|
+
resize: none;
|
|
1197
|
+
}
|
|
1198
|
+
.hawa-grid-cols-1 {
|
|
1199
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
1200
|
+
}
|
|
1151
1201
|
.hawa-flex-row {
|
|
1152
1202
|
flex-direction: row;
|
|
1153
1203
|
}
|
|
@@ -1238,9 +1288,18 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1238
1288
|
.hawa-overflow-hidden {
|
|
1239
1289
|
overflow: hidden;
|
|
1240
1290
|
}
|
|
1291
|
+
.hawa-overflow-clip {
|
|
1292
|
+
overflow: clip;
|
|
1293
|
+
}
|
|
1241
1294
|
.hawa-overflow-x-auto {
|
|
1242
1295
|
overflow-x: auto;
|
|
1243
1296
|
}
|
|
1297
|
+
.hawa-overflow-y-auto {
|
|
1298
|
+
overflow-y: auto;
|
|
1299
|
+
}
|
|
1300
|
+
.hawa-overflow-x-hidden {
|
|
1301
|
+
overflow-x: hidden;
|
|
1302
|
+
}
|
|
1244
1303
|
.hawa-overflow-y-scroll {
|
|
1245
1304
|
overflow-y: scroll;
|
|
1246
1305
|
}
|
|
@@ -1278,13 +1337,13 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1278
1337
|
border-bottom-right-radius: var(--radius);
|
|
1279
1338
|
border-bottom-left-radius: var(--radius);
|
|
1280
1339
|
}
|
|
1281
|
-
.hawa-rounded-l {
|
|
1282
|
-
border-top-left-radius:
|
|
1283
|
-
border-bottom-left-radius:
|
|
1340
|
+
.hawa-rounded-l-none {
|
|
1341
|
+
border-top-left-radius: 0px;
|
|
1342
|
+
border-bottom-left-radius: 0px;
|
|
1284
1343
|
}
|
|
1285
|
-
.hawa-rounded-r {
|
|
1286
|
-
border-top-right-radius:
|
|
1287
|
-
border-bottom-right-radius:
|
|
1344
|
+
.hawa-rounded-r-none {
|
|
1345
|
+
border-top-right-radius: 0px;
|
|
1346
|
+
border-bottom-right-radius: 0px;
|
|
1288
1347
|
}
|
|
1289
1348
|
.hawa-rounded-t {
|
|
1290
1349
|
border-top-left-radius: var(--radius);
|
|
@@ -1327,6 +1386,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1327
1386
|
.hawa-border-l {
|
|
1328
1387
|
border-left-width: 1px;
|
|
1329
1388
|
}
|
|
1389
|
+
.hawa-border-l-0 {
|
|
1390
|
+
border-left-width: 0px;
|
|
1391
|
+
}
|
|
1330
1392
|
.hawa-border-t {
|
|
1331
1393
|
border-top-width: 1px;
|
|
1332
1394
|
}
|
|
@@ -1422,6 +1484,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1422
1484
|
--tw-bg-opacity: 1;
|
|
1423
1485
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
1424
1486
|
}
|
|
1487
|
+
.hawa-bg-gray-500 {
|
|
1488
|
+
--tw-bg-opacity: 1;
|
|
1489
|
+
background-color: rgb(107 114 128 / var(--tw-bg-opacity));
|
|
1490
|
+
}
|
|
1425
1491
|
.hawa-bg-gray-900 {
|
|
1426
1492
|
--tw-bg-opacity: 1;
|
|
1427
1493
|
background-color: rgb(17 24 39 / var(--tw-bg-opacity));
|
|
@@ -1453,6 +1519,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1453
1519
|
.hawa-bg-primary-foreground {
|
|
1454
1520
|
background-color: hsl(var(--primary-foreground));
|
|
1455
1521
|
}
|
|
1522
|
+
.hawa-bg-primary\/10 {
|
|
1523
|
+
background-color: hsl(var(--primary) / 0.1);
|
|
1524
|
+
}
|
|
1456
1525
|
.hawa-bg-primary\/20 {
|
|
1457
1526
|
background-color: hsl(var(--primary) / 0.2);
|
|
1458
1527
|
}
|
|
@@ -1489,6 +1558,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1489
1558
|
--tw-bg-opacity: 1;
|
|
1490
1559
|
background-color: rgb(254 249 195 / var(--tw-bg-opacity));
|
|
1491
1560
|
}
|
|
1561
|
+
.hawa-bg-opacity-80 {
|
|
1562
|
+
--tw-bg-opacity: 0.8;
|
|
1563
|
+
}
|
|
1492
1564
|
.hawa-bg-cover {
|
|
1493
1565
|
background-size: cover;
|
|
1494
1566
|
}
|
|
@@ -1602,6 +1674,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1602
1674
|
padding-top: 1rem;
|
|
1603
1675
|
padding-bottom: 1rem;
|
|
1604
1676
|
}
|
|
1677
|
+
.hawa-py-6 {
|
|
1678
|
+
padding-top: 1.5rem;
|
|
1679
|
+
padding-bottom: 1.5rem;
|
|
1680
|
+
}
|
|
1605
1681
|
.hawa-pb-0 {
|
|
1606
1682
|
padding-bottom: 0px;
|
|
1607
1683
|
}
|
|
@@ -1656,9 +1732,6 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1656
1732
|
.hawa-text-center {
|
|
1657
1733
|
text-align: center;
|
|
1658
1734
|
}
|
|
1659
|
-
.hawa-text-right {
|
|
1660
|
-
text-align: right;
|
|
1661
|
-
}
|
|
1662
1735
|
.hawa-text-start {
|
|
1663
1736
|
text-align: start;
|
|
1664
1737
|
}
|
|
@@ -1666,9 +1739,6 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1666
1739
|
font-size: 1.5rem;
|
|
1667
1740
|
line-height: 2rem;
|
|
1668
1741
|
}
|
|
1669
|
-
.hawa-text-\[0\.875rem\] {
|
|
1670
|
-
font-size: 0.875rem;
|
|
1671
|
-
}
|
|
1672
1742
|
.hawa-text-\[10px\] {
|
|
1673
1743
|
font-size: 10px;
|
|
1674
1744
|
}
|
|
@@ -1703,6 +1773,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1703
1773
|
.hawa-font-medium {
|
|
1704
1774
|
font-weight: 500;
|
|
1705
1775
|
}
|
|
1776
|
+
.hawa-font-normal {
|
|
1777
|
+
font-weight: 400;
|
|
1778
|
+
}
|
|
1706
1779
|
.hawa-font-semibold {
|
|
1707
1780
|
font-weight: 600;
|
|
1708
1781
|
}
|
|
@@ -1724,6 +1797,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1724
1797
|
.hawa-tracking-widest {
|
|
1725
1798
|
letter-spacing: 0.1em;
|
|
1726
1799
|
}
|
|
1800
|
+
.hawa-text-\[\#666666\] {
|
|
1801
|
+
--tw-text-opacity: 1;
|
|
1802
|
+
color: rgb(102 102 102 / var(--tw-text-opacity));
|
|
1803
|
+
}
|
|
1727
1804
|
.hawa-text-black {
|
|
1728
1805
|
--tw-text-opacity: 1;
|
|
1729
1806
|
color: rgb(0 0 0 / var(--tw-text-opacity));
|
|
@@ -1915,6 +1992,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1915
1992
|
.hawa-duration-500 {
|
|
1916
1993
|
transition-duration: 500ms;
|
|
1917
1994
|
}
|
|
1995
|
+
.hawa-ease-in-out {
|
|
1996
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
1997
|
+
}
|
|
1918
1998
|
.hawa-will-change-transform {
|
|
1919
1999
|
will-change: transform;
|
|
1920
2000
|
}
|
|
@@ -1971,6 +2051,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1971
2051
|
.hawa-delay-300 {
|
|
1972
2052
|
animation-delay: 300ms;
|
|
1973
2053
|
}
|
|
2054
|
+
.hawa-ease-in-out {
|
|
2055
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2056
|
+
}
|
|
1974
2057
|
.hawa-repeat-infinite {
|
|
1975
2058
|
animation-iteration-count: infinite;
|
|
1976
2059
|
}
|
|
@@ -2239,6 +2322,10 @@ body {
|
|
|
2239
2322
|
--tw-ring-opacity: 1;
|
|
2240
2323
|
--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));
|
|
2241
2324
|
}
|
|
2325
|
+
.focus\:hawa-ring-gray-300:focus {
|
|
2326
|
+
--tw-ring-opacity: 1;
|
|
2327
|
+
--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
|
|
2328
|
+
}
|
|
2242
2329
|
.focus\:hawa-ring-ring:focus {
|
|
2243
2330
|
--tw-ring-color: hsl(var(--ring));
|
|
2244
2331
|
}
|
|
@@ -2257,6 +2344,9 @@ body {
|
|
|
2257
2344
|
.focus-visible\:hawa-ring-ring:focus-visible {
|
|
2258
2345
|
--tw-ring-color: hsl(var(--ring));
|
|
2259
2346
|
}
|
|
2347
|
+
.focus-visible\:hawa-ring-offset-0:focus-visible {
|
|
2348
|
+
--tw-ring-offset-width: 0px;
|
|
2349
|
+
}
|
|
2260
2350
|
.focus-visible\:hawa-ring-offset-2:focus-visible {
|
|
2261
2351
|
--tw-ring-offset-width: 2px;
|
|
2262
2352
|
}
|
|
@@ -2393,6 +2483,12 @@ body {
|
|
|
2393
2483
|
.hawa-peer:disabled ~ .peer-disabled\:hawa-opacity-70 {
|
|
2394
2484
|
opacity: 0.7;
|
|
2395
2485
|
}
|
|
2486
|
+
.aria-selected\:hawa-bg-accent[aria-selected="true"] {
|
|
2487
|
+
background-color: hsl(var(--accent));
|
|
2488
|
+
}
|
|
2489
|
+
.aria-selected\:hawa-text-accent-foreground[aria-selected="true"] {
|
|
2490
|
+
color: hsl(var(--accent-foreground));
|
|
2491
|
+
}
|
|
2396
2492
|
.data-\[disabled\]\:hawa-pointer-events-none[data-disabled] {
|
|
2397
2493
|
pointer-events: none;
|
|
2398
2494
|
}
|
|
@@ -2545,6 +2641,10 @@ body {
|
|
|
2545
2641
|
--tw-bg-opacity: 1;
|
|
2546
2642
|
background-color: rgb(229 231 235 / var(--tw-bg-opacity));
|
|
2547
2643
|
}
|
|
2644
|
+
:is(.hawa-dark .dark\:hawa-bg-gray-700) {
|
|
2645
|
+
--tw-bg-opacity: 1;
|
|
2646
|
+
background-color: rgb(55 65 81 / var(--tw-bg-opacity));
|
|
2647
|
+
}
|
|
2548
2648
|
:is(.hawa-dark .dark\:hawa-bg-gray-800) {
|
|
2549
2649
|
--tw-bg-opacity: 1;
|
|
2550
2650
|
background-color: rgb(31 41 55 / var(--tw-bg-opacity));
|
|
@@ -2582,6 +2682,10 @@ body {
|
|
|
2582
2682
|
--tw-text-opacity: 1;
|
|
2583
2683
|
color: rgb(156 163 175 / var(--tw-text-opacity));
|
|
2584
2684
|
}
|
|
2685
|
+
:is(.hawa-dark .dark\:hawa-text-gray-500) {
|
|
2686
|
+
--tw-text-opacity: 1;
|
|
2687
|
+
color: rgb(107 114 128 / var(--tw-text-opacity));
|
|
2688
|
+
}
|
|
2585
2689
|
:is(.hawa-dark .dark\:hawa-text-gray-800) {
|
|
2586
2690
|
--tw-text-opacity: 1;
|
|
2587
2691
|
color: rgb(31 41 55 / var(--tw-text-opacity));
|
|
@@ -2590,6 +2694,9 @@ body {
|
|
|
2590
2694
|
--tw-text-opacity: 1;
|
|
2591
2695
|
color: rgb(22 101 52 / var(--tw-text-opacity));
|
|
2592
2696
|
}
|
|
2697
|
+
:is(.hawa-dark .dark\:hawa-text-muted-foreground) {
|
|
2698
|
+
color: hsl(var(--muted-foreground));
|
|
2699
|
+
}
|
|
2593
2700
|
:is(.hawa-dark .dark\:hawa-text-red-500) {
|
|
2594
2701
|
--tw-text-opacity: 1;
|
|
2595
2702
|
color: rgb(239 68 68 / var(--tw-text-opacity));
|
|
@@ -2640,6 +2747,10 @@ body {
|
|
|
2640
2747
|
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -2px var(--tw-shadow-color);
|
|
2641
2748
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
2642
2749
|
}
|
|
2750
|
+
:is(.hawa-dark .dark\:focus\:hawa-ring-blue-500:focus) {
|
|
2751
|
+
--tw-ring-opacity: 1;
|
|
2752
|
+
--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));
|
|
2753
|
+
}
|
|
2643
2754
|
:is(.hawa-dark .hawa-peer:checked ~ .dark\:peer-checked\:hawa-text-primary) {
|
|
2644
2755
|
color: hsl(var(--primary));
|
|
2645
2756
|
}
|
|
@@ -2714,3 +2825,51 @@ body {
|
|
|
2714
2825
|
max-width: 420px;
|
|
2715
2826
|
}
|
|
2716
2827
|
}
|
|
2828
|
+
.\[\&_\[cmdk-group-heading\]\]\:hawa-px-2 [cmdk-group-heading] {
|
|
2829
|
+
padding-left: 0.5rem;
|
|
2830
|
+
padding-right: 0.5rem;
|
|
2831
|
+
}
|
|
2832
|
+
.\[\&_\[cmdk-group-heading\]\]\:hawa-py-1\.5 [cmdk-group-heading] {
|
|
2833
|
+
padding-top: 0.375rem;
|
|
2834
|
+
padding-bottom: 0.375rem;
|
|
2835
|
+
}
|
|
2836
|
+
.\[\&_\[cmdk-group-heading\]\]\:hawa-text-xs [cmdk-group-heading] {
|
|
2837
|
+
font-size: 0.75rem;
|
|
2838
|
+
line-height: 1rem;
|
|
2839
|
+
}
|
|
2840
|
+
.\[\&_\[cmdk-group-heading\]\]\:hawa-font-medium [cmdk-group-heading] {
|
|
2841
|
+
font-weight: 500;
|
|
2842
|
+
}
|
|
2843
|
+
.\[\&_\[cmdk-group-heading\]\]\:hawa-text-muted-foreground [cmdk-group-heading] {
|
|
2844
|
+
color: hsl(var(--muted-foreground));
|
|
2845
|
+
}
|
|
2846
|
+
.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:hawa-pt-0 [cmdk-group]:not([hidden]) ~[cmdk-group] {
|
|
2847
|
+
padding-top: 0px;
|
|
2848
|
+
}
|
|
2849
|
+
.\[\&_\[cmdk-group\]\]\:hawa-px-2 [cmdk-group] {
|
|
2850
|
+
padding-left: 0.5rem;
|
|
2851
|
+
padding-right: 0.5rem;
|
|
2852
|
+
}
|
|
2853
|
+
.\[\&_\[cmdk-input-wrapper\]_svg\]\:hawa-h-5 [cmdk-input-wrapper] svg {
|
|
2854
|
+
height: 1.25rem;
|
|
2855
|
+
}
|
|
2856
|
+
.\[\&_\[cmdk-input-wrapper\]_svg\]\:hawa-w-5 [cmdk-input-wrapper] svg {
|
|
2857
|
+
width: 1.25rem;
|
|
2858
|
+
}
|
|
2859
|
+
.\[\&_\[cmdk-input\]\]\:hawa-h-12 [cmdk-input] {
|
|
2860
|
+
height: 3rem;
|
|
2861
|
+
}
|
|
2862
|
+
.\[\&_\[cmdk-item\]\]\:hawa-px-2 [cmdk-item] {
|
|
2863
|
+
padding-left: 0.5rem;
|
|
2864
|
+
padding-right: 0.5rem;
|
|
2865
|
+
}
|
|
2866
|
+
.\[\&_\[cmdk-item\]\]\:hawa-py-3 [cmdk-item] {
|
|
2867
|
+
padding-top: 0.75rem;
|
|
2868
|
+
padding-bottom: 0.75rem;
|
|
2869
|
+
}
|
|
2870
|
+
.\[\&_\[cmdk-item\]_svg\]\:hawa-h-5 [cmdk-item] svg {
|
|
2871
|
+
height: 1.25rem;
|
|
2872
|
+
}
|
|
2873
|
+
.\[\&_\[cmdk-item\]_svg\]\:hawa-w-5 [cmdk-item] svg {
|
|
2874
|
+
width: 1.25rem;
|
|
2875
|
+
}
|
package/dist/index.d.mts
CHANGED
|
@@ -3,6 +3,7 @@ import * as React from 'react';
|
|
|
3
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
|
+
import { DialogProps } from '@radix-ui/react-dialog';
|
|
6
7
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
7
8
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
8
9
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
@@ -10,6 +11,8 @@ import * as LabelPrimitive from '@radix-ui/react-label';
|
|
|
10
11
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
11
12
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
12
13
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
14
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
15
|
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
13
16
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
14
17
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
15
18
|
|
|
@@ -146,16 +149,17 @@ interface SwitchProps extends React.ComponentPropsWithoutRef<typeof SwitchPrimit
|
|
|
146
149
|
}
|
|
147
150
|
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
|
|
148
151
|
|
|
152
|
+
type RadioOptionsTypes = {
|
|
153
|
+
value: any;
|
|
154
|
+
label: any;
|
|
155
|
+
disabled?: any;
|
|
156
|
+
sublabel?: any;
|
|
157
|
+
icon?: any;
|
|
158
|
+
};
|
|
149
159
|
type RadioTypes = {
|
|
150
160
|
orientation?: "vertical" | "horizontal";
|
|
151
161
|
design?: "default" | "tabs" | "cards" | "bordered";
|
|
152
|
-
options?:
|
|
153
|
-
value: any;
|
|
154
|
-
label: any;
|
|
155
|
-
disabled?: any;
|
|
156
|
-
sublabel?: any;
|
|
157
|
-
icon?: any;
|
|
158
|
-
}[];
|
|
162
|
+
options?: RadioOptionsTypes[];
|
|
159
163
|
width?: "default" | "full";
|
|
160
164
|
onChangeTab?: any;
|
|
161
165
|
defaultValue?: any;
|
|
@@ -223,6 +227,7 @@ interface PopoverProps {
|
|
|
223
227
|
}
|
|
224
228
|
type HawaPopoverTypes = PopoverProps & React.ComponentProps<typeof PopoverPrimitive.Root>;
|
|
225
229
|
declare const Popover: React.FC<HawaPopoverTypes>;
|
|
230
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
226
231
|
|
|
227
232
|
interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
228
233
|
}
|
|
@@ -352,6 +357,10 @@ type StoreButtonsTypes = {
|
|
|
352
357
|
};
|
|
353
358
|
declare const AppStores: FC<StoreButtonsTypes>;
|
|
354
359
|
|
|
360
|
+
declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
361
|
+
|
|
362
|
+
declare const Progress: React.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
363
|
+
|
|
355
364
|
type BackToTopTypes = {
|
|
356
365
|
paddingX?: number;
|
|
357
366
|
paddingY?: number;
|
|
@@ -363,8 +372,9 @@ declare const BackToTop: FC<BackToTopTypes>;
|
|
|
363
372
|
|
|
364
373
|
type TextFieldTypes = {
|
|
365
374
|
isLoading?: boolean;
|
|
375
|
+
containerClassName?: string;
|
|
366
376
|
margin?: "none" | "normal" | "large";
|
|
367
|
-
width?: "small" | "normal" | "full";
|
|
377
|
+
width?: "small" | "normal" | "full" | "auto";
|
|
368
378
|
/** The label of the input field */
|
|
369
379
|
label?: any;
|
|
370
380
|
/** Disable/Enable multiple line text input field */
|
|
@@ -427,4 +437,80 @@ declare const Logos: {
|
|
|
427
437
|
spinner: (props: IconProps) => React__default.JSX.Element;
|
|
428
438
|
};
|
|
429
439
|
|
|
430
|
-
|
|
440
|
+
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
441
|
+
children?: React.ReactNode;
|
|
442
|
+
} & React.HTMLAttributes<HTMLDivElement> & {
|
|
443
|
+
label?: string | undefined;
|
|
444
|
+
shouldFilter?: boolean | undefined;
|
|
445
|
+
filter?: ((value: string, search: string) => number) | undefined;
|
|
446
|
+
value?: string | undefined;
|
|
447
|
+
onValueChange?: ((value: string) => void) | undefined;
|
|
448
|
+
loop?: boolean | undefined;
|
|
449
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
450
|
+
interface CommandDialogProps extends DialogProps {
|
|
451
|
+
}
|
|
452
|
+
declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => React.JSX.Element;
|
|
453
|
+
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "value" | "onChange"> & {
|
|
454
|
+
value?: string | undefined;
|
|
455
|
+
onValueChange?: ((search: string) => void) | undefined;
|
|
456
|
+
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
457
|
+
declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
458
|
+
children?: React.ReactNode;
|
|
459
|
+
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
460
|
+
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
461
|
+
children?: React.ReactNode;
|
|
462
|
+
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
463
|
+
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
464
|
+
children?: React.ReactNode;
|
|
465
|
+
} & Omit<React.HTMLAttributes<HTMLDivElement>, "heading" | "value"> & {
|
|
466
|
+
heading?: React.ReactNode;
|
|
467
|
+
value?: string | undefined;
|
|
468
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
469
|
+
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement> & {
|
|
470
|
+
alwaysRender?: boolean | undefined;
|
|
471
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
472
|
+
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
473
|
+
children?: React.ReactNode;
|
|
474
|
+
} & Omit<React.HTMLAttributes<HTMLDivElement>, "disabled" | "value" | "onSelect"> & {
|
|
475
|
+
disabled?: boolean | undefined;
|
|
476
|
+
onSelect?: ((value: string) => void) | undefined;
|
|
477
|
+
value?: string | undefined;
|
|
478
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
479
|
+
declare const CommandShortcut: {
|
|
480
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
|
|
481
|
+
displayName: string;
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
declare function Combobox(): React.JSX.Element;
|
|
485
|
+
|
|
486
|
+
type SelectTypes = {
|
|
487
|
+
label?: string;
|
|
488
|
+
options?: {
|
|
489
|
+
value: any;
|
|
490
|
+
label: any;
|
|
491
|
+
}[];
|
|
492
|
+
isCreatable?: boolean;
|
|
493
|
+
isClearable?: boolean;
|
|
494
|
+
isMulti?: boolean;
|
|
495
|
+
isSearchable?: boolean;
|
|
496
|
+
controlClassNames?: string;
|
|
497
|
+
containerClassNames?: string;
|
|
498
|
+
onChange?: any;
|
|
499
|
+
helperText?: any;
|
|
500
|
+
onInputChange?: any;
|
|
501
|
+
native?: any;
|
|
502
|
+
width?: "full" | "small";
|
|
503
|
+
value?: any;
|
|
504
|
+
children?: any;
|
|
505
|
+
getOptionLabel?: any;
|
|
506
|
+
disabled?: boolean;
|
|
507
|
+
defaultValue?: any;
|
|
508
|
+
isLoading?: any;
|
|
509
|
+
texts?: {
|
|
510
|
+
noOptions?: string;
|
|
511
|
+
createLabel?: string;
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
declare const Select: FC<SelectTypes>;
|
|
515
|
+
|
|
516
|
+
export { ActionCard, Alert, AppStores, BackToTop, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Chip, CodeBlock, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, FileDropzone, Input, Label, Loading, Logos, MenuItemType, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, Progress, Radio, RadioOptionsTypes, ScrollArea, ScrollBar, Select, Separator, Skeleton, Slider, SubItem, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TextareaProps, Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, buttonVariants };
|