@fileverse/ui 2.0.0 → 2.2.0
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.cjs.js +1463 -1463
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +228 -12
- package/dist/index.es.d.ts +104 -9
- package/dist/index.es.js +11229 -6518
- package/dist/index.es.js.map +1 -1
- package/package.json +2 -1
package/dist/index.css
CHANGED
|
@@ -497,6 +497,13 @@ video {
|
|
|
497
497
|
line-height: 40px;
|
|
498
498
|
}
|
|
499
499
|
|
|
500
|
+
.\!text-heading-xlg {
|
|
501
|
+
font-family: system-ui !important;
|
|
502
|
+
font-size: 24px !important;
|
|
503
|
+
font-weight: 500 !important;
|
|
504
|
+
line-height: 32px !important;
|
|
505
|
+
}
|
|
506
|
+
|
|
500
507
|
.text-heading-xlg {
|
|
501
508
|
font-family: system-ui;
|
|
502
509
|
font-size: 24px;
|
|
@@ -708,6 +715,11 @@ video {
|
|
|
708
715
|
background-color: hsl(var(--color-button-danger-hover));
|
|
709
716
|
}
|
|
710
717
|
|
|
718
|
+
.\!color-button-floating {
|
|
719
|
+
background-color: hsl(var(--color-button-floating)) !important;
|
|
720
|
+
border-color: hsl(var(--color-border-default)) !important;
|
|
721
|
+
}
|
|
722
|
+
|
|
711
723
|
.color-border-default {
|
|
712
724
|
border-color: hsl(var(--color-border-default));
|
|
713
725
|
}
|
|
@@ -961,33 +973,69 @@ video {
|
|
|
961
973
|
.invisible {
|
|
962
974
|
visibility: hidden;
|
|
963
975
|
}
|
|
976
|
+
.fixed {
|
|
977
|
+
position: fixed;
|
|
978
|
+
}
|
|
964
979
|
.absolute {
|
|
965
980
|
position: absolute;
|
|
966
981
|
}
|
|
967
982
|
.relative {
|
|
968
983
|
position: relative;
|
|
969
984
|
}
|
|
985
|
+
.inset-0 {
|
|
986
|
+
inset: 0px;
|
|
987
|
+
}
|
|
970
988
|
.-bottom-8 {
|
|
971
989
|
bottom: -2rem;
|
|
972
990
|
}
|
|
991
|
+
.-bottom-\[11\%\] {
|
|
992
|
+
bottom: -11%;
|
|
993
|
+
}
|
|
994
|
+
.-left-1 {
|
|
995
|
+
left: -0.25rem;
|
|
996
|
+
}
|
|
973
997
|
.-left-4 {
|
|
974
998
|
left: -1rem;
|
|
975
999
|
}
|
|
1000
|
+
.-top-1 {
|
|
1001
|
+
top: -0.25rem;
|
|
1002
|
+
}
|
|
976
1003
|
.-top-4 {
|
|
977
1004
|
top: -1rem;
|
|
978
1005
|
}
|
|
1006
|
+
.-top-40 {
|
|
1007
|
+
top: -10rem;
|
|
1008
|
+
}
|
|
979
1009
|
.bottom-0 {
|
|
980
1010
|
bottom: 0px;
|
|
981
1011
|
}
|
|
1012
|
+
.bottom-5 {
|
|
1013
|
+
bottom: 1.25rem;
|
|
1014
|
+
}
|
|
982
1015
|
.left-1\/2 {
|
|
983
1016
|
left: 50%;
|
|
984
1017
|
}
|
|
1018
|
+
.left-2 {
|
|
1019
|
+
left: 0.5rem;
|
|
1020
|
+
}
|
|
985
1021
|
.left-3 {
|
|
986
1022
|
left: 0.75rem;
|
|
987
1023
|
}
|
|
1024
|
+
.left-\[10\%\] {
|
|
1025
|
+
left: 10%;
|
|
1026
|
+
}
|
|
1027
|
+
.right-0 {
|
|
1028
|
+
right: 0px;
|
|
1029
|
+
}
|
|
1030
|
+
.right-2 {
|
|
1031
|
+
right: 0.5rem;
|
|
1032
|
+
}
|
|
988
1033
|
.right-3 {
|
|
989
1034
|
right: 0.75rem;
|
|
990
1035
|
}
|
|
1036
|
+
.right-5 {
|
|
1037
|
+
right: 1.25rem;
|
|
1038
|
+
}
|
|
991
1039
|
.z-10 {
|
|
992
1040
|
z-index: 10;
|
|
993
1041
|
}
|
|
@@ -1005,6 +1053,9 @@ video {
|
|
|
1005
1053
|
margin-top: auto;
|
|
1006
1054
|
margin-bottom: auto;
|
|
1007
1055
|
}
|
|
1056
|
+
.mb-14 {
|
|
1057
|
+
margin-bottom: 3.5rem;
|
|
1058
|
+
}
|
|
1008
1059
|
.mb-2 {
|
|
1009
1060
|
margin-bottom: 0.5rem;
|
|
1010
1061
|
}
|
|
@@ -1014,6 +1065,9 @@ video {
|
|
|
1014
1065
|
.ml-2 {
|
|
1015
1066
|
margin-left: 0.5rem;
|
|
1016
1067
|
}
|
|
1068
|
+
.mr-1 {
|
|
1069
|
+
margin-right: 0.25rem;
|
|
1070
|
+
}
|
|
1017
1071
|
.mr-2 {
|
|
1018
1072
|
margin-right: 0.5rem;
|
|
1019
1073
|
}
|
|
@@ -1056,6 +1110,9 @@ video {
|
|
|
1056
1110
|
.table {
|
|
1057
1111
|
display: table;
|
|
1058
1112
|
}
|
|
1113
|
+
.grid {
|
|
1114
|
+
display: grid;
|
|
1115
|
+
}
|
|
1059
1116
|
.hidden {
|
|
1060
1117
|
display: none;
|
|
1061
1118
|
}
|
|
@@ -1098,24 +1155,49 @@ video {
|
|
|
1098
1155
|
.h-\[30px\] {
|
|
1099
1156
|
height: 30px;
|
|
1100
1157
|
}
|
|
1158
|
+
.h-\[320px\] {
|
|
1159
|
+
height: 320px;
|
|
1160
|
+
}
|
|
1101
1161
|
.h-\[440px\] {
|
|
1102
1162
|
height: 440px;
|
|
1103
1163
|
}
|
|
1104
1164
|
.h-\[52px\] {
|
|
1105
1165
|
height: 52px;
|
|
1106
1166
|
}
|
|
1167
|
+
.h-\[68px\] {
|
|
1168
|
+
height: 68px;
|
|
1169
|
+
}
|
|
1107
1170
|
.h-\[calc\(100\%-1rem\)\] {
|
|
1108
1171
|
height: calc(100% - 1rem);
|
|
1109
1172
|
}
|
|
1173
|
+
.h-\[calc\(100\%-2rem\)\] {
|
|
1174
|
+
height: calc(100% - 2rem);
|
|
1175
|
+
}
|
|
1176
|
+
.h-fit {
|
|
1177
|
+
height: -moz-fit-content;
|
|
1178
|
+
height: fit-content;
|
|
1179
|
+
}
|
|
1110
1180
|
.h-full {
|
|
1111
1181
|
height: 100%;
|
|
1112
1182
|
}
|
|
1183
|
+
.h-screen {
|
|
1184
|
+
height: 100vh;
|
|
1185
|
+
}
|
|
1186
|
+
.\!min-h-12 {
|
|
1187
|
+
min-height: 3rem !important;
|
|
1188
|
+
}
|
|
1189
|
+
.min-h-9 {
|
|
1190
|
+
min-height: 2.25rem;
|
|
1191
|
+
}
|
|
1113
1192
|
.min-h-\[80px\] {
|
|
1114
1193
|
min-height: 80px;
|
|
1115
1194
|
}
|
|
1116
1195
|
.min-h-screen {
|
|
1117
1196
|
min-height: 100vh;
|
|
1118
1197
|
}
|
|
1198
|
+
.\!w-\[95\%\] {
|
|
1199
|
+
width: 95% !important;
|
|
1200
|
+
}
|
|
1119
1201
|
.w-10 {
|
|
1120
1202
|
width: 2.5rem;
|
|
1121
1203
|
}
|
|
@@ -1170,6 +1252,18 @@ video {
|
|
|
1170
1252
|
.w-\[60\%\] {
|
|
1171
1253
|
width: 60%;
|
|
1172
1254
|
}
|
|
1255
|
+
.w-\[68px\] {
|
|
1256
|
+
width: 68px;
|
|
1257
|
+
}
|
|
1258
|
+
.w-\[70vw\] {
|
|
1259
|
+
width: 70vw;
|
|
1260
|
+
}
|
|
1261
|
+
.w-\[80\%\] {
|
|
1262
|
+
width: 80%;
|
|
1263
|
+
}
|
|
1264
|
+
.w-\[80vw\] {
|
|
1265
|
+
width: 80vw;
|
|
1266
|
+
}
|
|
1173
1267
|
.w-fit {
|
|
1174
1268
|
width: -moz-fit-content;
|
|
1175
1269
|
width: fit-content;
|
|
@@ -1177,9 +1271,15 @@ video {
|
|
|
1177
1271
|
.w-full {
|
|
1178
1272
|
width: 100%;
|
|
1179
1273
|
}
|
|
1274
|
+
.w-screen {
|
|
1275
|
+
width: 100vw;
|
|
1276
|
+
}
|
|
1180
1277
|
.min-w-4 {
|
|
1181
1278
|
min-width: 1rem;
|
|
1182
1279
|
}
|
|
1280
|
+
.min-w-9 {
|
|
1281
|
+
min-width: 2.25rem;
|
|
1282
|
+
}
|
|
1183
1283
|
.min-w-\[108px\] {
|
|
1184
1284
|
min-width: 108px;
|
|
1185
1285
|
}
|
|
@@ -1208,12 +1308,19 @@ video {
|
|
|
1208
1308
|
min-width: -moz-fit-content;
|
|
1209
1309
|
min-width: fit-content;
|
|
1210
1310
|
}
|
|
1311
|
+
.max-w-6xl {
|
|
1312
|
+
max-width: 72rem;
|
|
1313
|
+
}
|
|
1211
1314
|
.max-w-\[172px\] {
|
|
1212
1315
|
max-width: 172px;
|
|
1213
1316
|
}
|
|
1214
1317
|
.max-w-\[400px\] {
|
|
1215
1318
|
max-width: 400px;
|
|
1216
1319
|
}
|
|
1320
|
+
.max-w-fit {
|
|
1321
|
+
max-width: -moz-fit-content;
|
|
1322
|
+
max-width: fit-content;
|
|
1323
|
+
}
|
|
1217
1324
|
.flex-1 {
|
|
1218
1325
|
flex: 1 1 0%;
|
|
1219
1326
|
}
|
|
@@ -1277,6 +1384,9 @@ video {
|
|
|
1277
1384
|
.items-start {
|
|
1278
1385
|
align-items: flex-start;
|
|
1279
1386
|
}
|
|
1387
|
+
.items-end {
|
|
1388
|
+
align-items: flex-end;
|
|
1389
|
+
}
|
|
1280
1390
|
.items-center {
|
|
1281
1391
|
align-items: center;
|
|
1282
1392
|
}
|
|
@@ -1295,15 +1405,24 @@ video {
|
|
|
1295
1405
|
.gap-1 {
|
|
1296
1406
|
gap: 0.25rem;
|
|
1297
1407
|
}
|
|
1408
|
+
.gap-16 {
|
|
1409
|
+
gap: 4rem;
|
|
1410
|
+
}
|
|
1298
1411
|
.gap-2 {
|
|
1299
1412
|
gap: 0.5rem;
|
|
1300
1413
|
}
|
|
1414
|
+
.gap-3 {
|
|
1415
|
+
gap: 0.75rem;
|
|
1416
|
+
}
|
|
1301
1417
|
.gap-4 {
|
|
1302
1418
|
gap: 1rem;
|
|
1303
1419
|
}
|
|
1304
1420
|
.gap-5 {
|
|
1305
1421
|
gap: 1.25rem;
|
|
1306
1422
|
}
|
|
1423
|
+
.gap-6 {
|
|
1424
|
+
gap: 1.5rem;
|
|
1425
|
+
}
|
|
1307
1426
|
.gap-8 {
|
|
1308
1427
|
gap: 2rem;
|
|
1309
1428
|
}
|
|
@@ -1312,11 +1431,6 @@ video {
|
|
|
1312
1431
|
margin-right: calc(0px * var(--tw-space-x-reverse));
|
|
1313
1432
|
margin-left: calc(0px * calc(1 - var(--tw-space-x-reverse)));
|
|
1314
1433
|
}
|
|
1315
|
-
.space-x-1 > :not([hidden]) ~ :not([hidden]) {
|
|
1316
|
-
--tw-space-x-reverse: 0;
|
|
1317
|
-
margin-right: calc(0.25rem * var(--tw-space-x-reverse));
|
|
1318
|
-
margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)));
|
|
1319
|
-
}
|
|
1320
1434
|
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
|
|
1321
1435
|
--tw-space-x-reverse: 0;
|
|
1322
1436
|
margin-right: calc(0.5rem * var(--tw-space-x-reverse));
|
|
@@ -1338,6 +1452,11 @@ video {
|
|
|
1338
1452
|
.overflow-hidden {
|
|
1339
1453
|
overflow: hidden;
|
|
1340
1454
|
}
|
|
1455
|
+
.truncate {
|
|
1456
|
+
overflow: hidden;
|
|
1457
|
+
text-overflow: ellipsis;
|
|
1458
|
+
white-space: nowrap;
|
|
1459
|
+
}
|
|
1341
1460
|
.whitespace-nowrap {
|
|
1342
1461
|
white-space: nowrap;
|
|
1343
1462
|
}
|
|
@@ -1350,6 +1469,9 @@ video {
|
|
|
1350
1469
|
.rounded {
|
|
1351
1470
|
border-radius: 0.25rem;
|
|
1352
1471
|
}
|
|
1472
|
+
.rounded-\[4px\] {
|
|
1473
|
+
border-radius: 4px;
|
|
1474
|
+
}
|
|
1353
1475
|
.rounded-full {
|
|
1354
1476
|
border-radius: 9999px;
|
|
1355
1477
|
}
|
|
@@ -1434,9 +1556,6 @@ video {
|
|
|
1434
1556
|
.p-2 {
|
|
1435
1557
|
padding: 0.5rem;
|
|
1436
1558
|
}
|
|
1437
|
-
.p-3 {
|
|
1438
|
-
padding: 0.75rem;
|
|
1439
|
-
}
|
|
1440
1559
|
.p-4 {
|
|
1441
1560
|
padding: 1rem;
|
|
1442
1561
|
}
|
|
@@ -1462,6 +1581,14 @@ video {
|
|
|
1462
1581
|
padding-left: 1rem;
|
|
1463
1582
|
padding-right: 1rem;
|
|
1464
1583
|
}
|
|
1584
|
+
.px-5 {
|
|
1585
|
+
padding-left: 1.25rem;
|
|
1586
|
+
padding-right: 1.25rem;
|
|
1587
|
+
}
|
|
1588
|
+
.px-6 {
|
|
1589
|
+
padding-left: 1.5rem;
|
|
1590
|
+
padding-right: 1.5rem;
|
|
1591
|
+
}
|
|
1465
1592
|
.px-8 {
|
|
1466
1593
|
padding-left: 2rem;
|
|
1467
1594
|
padding-right: 2rem;
|
|
@@ -1474,10 +1601,18 @@ video {
|
|
|
1474
1601
|
padding-top: 0.5rem;
|
|
1475
1602
|
padding-bottom: 0.5rem;
|
|
1476
1603
|
}
|
|
1604
|
+
.py-3 {
|
|
1605
|
+
padding-top: 0.75rem;
|
|
1606
|
+
padding-bottom: 0.75rem;
|
|
1607
|
+
}
|
|
1477
1608
|
.py-4 {
|
|
1478
1609
|
padding-top: 1rem;
|
|
1479
1610
|
padding-bottom: 1rem;
|
|
1480
1611
|
}
|
|
1612
|
+
.py-6 {
|
|
1613
|
+
padding-top: 1.5rem;
|
|
1614
|
+
padding-bottom: 1.5rem;
|
|
1615
|
+
}
|
|
1481
1616
|
.pl-10 {
|
|
1482
1617
|
padding-left: 2.5rem;
|
|
1483
1618
|
}
|
|
@@ -1630,6 +1765,15 @@ video {
|
|
|
1630
1765
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
1631
1766
|
transition-duration: 150ms;
|
|
1632
1767
|
}
|
|
1768
|
+
.duration-200 {
|
|
1769
|
+
transition-duration: 200ms;
|
|
1770
|
+
}
|
|
1771
|
+
.duration-300 {
|
|
1772
|
+
transition-duration: 300ms;
|
|
1773
|
+
}
|
|
1774
|
+
.ease-in-out {
|
|
1775
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
1776
|
+
}
|
|
1633
1777
|
@keyframes enter {
|
|
1634
1778
|
|
|
1635
1779
|
from {
|
|
@@ -1671,6 +1815,21 @@ video {
|
|
|
1671
1815
|
.slide-in-from-top-2 {
|
|
1672
1816
|
--tw-enter-translate-y: -0.5rem;
|
|
1673
1817
|
}
|
|
1818
|
+
.duration-200 {
|
|
1819
|
+
animation-duration: 200ms;
|
|
1820
|
+
}
|
|
1821
|
+
.duration-300 {
|
|
1822
|
+
animation-duration: 300ms;
|
|
1823
|
+
}
|
|
1824
|
+
.ease-in-out {
|
|
1825
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
1826
|
+
}
|
|
1827
|
+
.placeholder\:color-text-disabled::-moz-placeholder {
|
|
1828
|
+
color: hsl(var(--color-text-disabled));
|
|
1829
|
+
}
|
|
1830
|
+
.placeholder\:color-text-disabled::placeholder {
|
|
1831
|
+
color: hsl(var(--color-text-disabled));
|
|
1832
|
+
}
|
|
1674
1833
|
.hover\:\!color-bg-default-hover:hover {
|
|
1675
1834
|
background-color: hsl(var(--color-bg-default-hover)) !important;
|
|
1676
1835
|
}
|
|
@@ -1692,6 +1851,14 @@ video {
|
|
|
1692
1851
|
.hover\:color-button-danger-hover:hover {
|
|
1693
1852
|
background-color: hsl(var(--color-button-danger-hover));
|
|
1694
1853
|
}
|
|
1854
|
+
.hover\:\!color-button-floating-hover:hover {
|
|
1855
|
+
background-color: hsl(var(--color-button-floating-hover)) !important;
|
|
1856
|
+
}
|
|
1857
|
+
.disabled\:\!color-button-disabled:disabled {
|
|
1858
|
+
background-color: hsl(var(--color-button-disabled)) !important;
|
|
1859
|
+
border-color: hsl(var(--color-button-disabled)) !important;
|
|
1860
|
+
color: hsl(var(--color-text-disabled)) !important;
|
|
1861
|
+
}
|
|
1695
1862
|
.disabled\:color-button-disabled:disabled {
|
|
1696
1863
|
background-color: hsl(var(--color-button-disabled));
|
|
1697
1864
|
border-color: hsl(var(--color-button-disabled));
|
|
@@ -1709,6 +1876,15 @@ video {
|
|
|
1709
1876
|
.data-\[state\=checked\]\:hover\:enabled\:color-bg-brand-hover:enabled:hover[data-state=checked] {
|
|
1710
1877
|
background-color: hsl(var(--color-bg-brand-hover));
|
|
1711
1878
|
}
|
|
1879
|
+
@media (min-width: 1024px) {
|
|
1880
|
+
|
|
1881
|
+
.lg\:\!text-heading-2xlg {
|
|
1882
|
+
font-family: system-ui !important;
|
|
1883
|
+
font-size: 32px !important;
|
|
1884
|
+
font-weight: 700 !important;
|
|
1885
|
+
line-height: 40px !important;
|
|
1886
|
+
}
|
|
1887
|
+
}
|
|
1712
1888
|
.data-\[state\=unchecked\]\:toggle-default[data-state=unchecked] {
|
|
1713
1889
|
background-color: hsl(var(--color-bg-disabled));
|
|
1714
1890
|
}
|
|
@@ -1755,16 +1931,16 @@ video {
|
|
|
1755
1931
|
.hover\:text-accent-foreground:hover {
|
|
1756
1932
|
color: hsl(var(--accent-foreground));
|
|
1757
1933
|
}
|
|
1934
|
+
.hover\:text-white:hover {
|
|
1935
|
+
--tw-text-opacity: 1;
|
|
1936
|
+
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
1937
|
+
}
|
|
1758
1938
|
.hover\:underline:hover {
|
|
1759
1939
|
text-decoration-line: underline;
|
|
1760
1940
|
}
|
|
1761
1941
|
.hover\:opacity-90:hover {
|
|
1762
1942
|
opacity: 0.9;
|
|
1763
1943
|
}
|
|
1764
|
-
.focus\:bg-white:focus {
|
|
1765
|
-
--tw-bg-opacity: 1;
|
|
1766
|
-
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
1767
|
-
}
|
|
1768
1944
|
.focus\:shadow-none:focus {
|
|
1769
1945
|
--tw-shadow: 0 0 #0000;
|
|
1770
1946
|
--tw-shadow-colored: 0 0 #0000;
|
|
@@ -1834,6 +2010,12 @@ video {
|
|
|
1834
2010
|
.disabled\:opacity-50:disabled {
|
|
1835
2011
|
opacity: 0.5;
|
|
1836
2012
|
}
|
|
2013
|
+
.group:hover .group-hover\:visible {
|
|
2014
|
+
visibility: visible;
|
|
2015
|
+
}
|
|
2016
|
+
.group:hover .group-hover\:block {
|
|
2017
|
+
display: block;
|
|
2018
|
+
}
|
|
1837
2019
|
.peer:disabled ~ .peer-disabled\:cursor-not-allowed {
|
|
1838
2020
|
cursor: not-allowed;
|
|
1839
2021
|
}
|
|
@@ -1883,10 +2065,18 @@ video {
|
|
|
1883
2065
|
}
|
|
1884
2066
|
@media (min-width: 768px) {
|
|
1885
2067
|
|
|
2068
|
+
.md\:block {
|
|
2069
|
+
display: block;
|
|
2070
|
+
}
|
|
2071
|
+
|
|
1886
2072
|
.md\:w-\[60vw\] {
|
|
1887
2073
|
width: 60vw;
|
|
1888
2074
|
}
|
|
1889
2075
|
|
|
2076
|
+
.md\:w-\[80\%\] {
|
|
2077
|
+
width: 80%;
|
|
2078
|
+
}
|
|
2079
|
+
|
|
1890
2080
|
.md\:flex-row {
|
|
1891
2081
|
flex-direction: row;
|
|
1892
2082
|
}
|
|
@@ -1909,6 +2099,10 @@ video {
|
|
|
1909
2099
|
}
|
|
1910
2100
|
@media (min-width: 1024px) {
|
|
1911
2101
|
|
|
2102
|
+
.lg\:mb-1 {
|
|
2103
|
+
margin-bottom: 0.25rem;
|
|
2104
|
+
}
|
|
2105
|
+
|
|
1912
2106
|
.lg\:block {
|
|
1913
2107
|
display: block;
|
|
1914
2108
|
}
|
|
@@ -1920,6 +2114,28 @@ video {
|
|
|
1920
2114
|
.lg\:hidden {
|
|
1921
2115
|
display: none;
|
|
1922
2116
|
}
|
|
2117
|
+
|
|
2118
|
+
.lg\:h-12 {
|
|
2119
|
+
height: 3rem;
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2122
|
+
.lg\:w-3\/4 {
|
|
2123
|
+
width: 75%;
|
|
2124
|
+
}
|
|
2125
|
+
|
|
2126
|
+
.lg\:w-fit {
|
|
2127
|
+
width: -moz-fit-content;
|
|
2128
|
+
width: fit-content;
|
|
2129
|
+
}
|
|
2130
|
+
|
|
2131
|
+
.lg\:text-wrap {
|
|
2132
|
+
text-wrap: wrap;
|
|
2133
|
+
}
|
|
2134
|
+
|
|
2135
|
+
.lg\:py-4 {
|
|
2136
|
+
padding-top: 1rem;
|
|
2137
|
+
padding-bottom: 1rem;
|
|
2138
|
+
}
|
|
1923
2139
|
}
|
|
1924
2140
|
.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]) {
|
|
1925
2141
|
padding-right: 0px;
|
package/dist/index.es.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
2
2
|
import { ClassProp } from 'class-variance-authority/types';
|
|
3
|
+
import { ClassValue } from 'clsx';
|
|
3
4
|
import { default as default_2 } from 'react';
|
|
4
5
|
import { GridProps as GridProps_2 } from '@radix-ui/themes';
|
|
5
6
|
import { icons } from 'lucide-react';
|
|
@@ -54,11 +55,16 @@ export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2
|
|
|
54
55
|
|
|
55
56
|
export declare const CardContent: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
56
57
|
|
|
57
|
-
export declare const CardControlWrapper:
|
|
58
|
-
|
|
58
|
+
export declare const CardControlWrapper: default_2.ForwardRefExoticComponent<CardControlWrapperProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
59
|
+
|
|
60
|
+
export declare interface CardControlWrapperProps {
|
|
59
61
|
defaultSize: CardSize;
|
|
62
|
+
deleteFunction: () => void;
|
|
60
63
|
children: (size: CardSize) => ReactNode;
|
|
61
|
-
|
|
64
|
+
isDragging?: boolean;
|
|
65
|
+
onSizeChange?: (size: CardSize) => void;
|
|
66
|
+
isAnimated?: boolean;
|
|
67
|
+
}
|
|
62
68
|
|
|
63
69
|
export declare const CardDescription: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLParagraphElement> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
64
70
|
|
|
@@ -66,6 +72,16 @@ export declare const CardFooter: React_2.ForwardRefExoticComponent<React_2.HTMLA
|
|
|
66
72
|
|
|
67
73
|
export declare const CardHeader: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
68
74
|
|
|
75
|
+
export declare const CardInteractionWrapper: default_2.ForwardRefExoticComponent<CardInteractionWrapperProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
76
|
+
|
|
77
|
+
export declare interface CardInteractionWrapperProps {
|
|
78
|
+
children: ReactNode;
|
|
79
|
+
size: "sm" | "md" | "lg";
|
|
80
|
+
liked: boolean;
|
|
81
|
+
onLike: () => void;
|
|
82
|
+
onShare: () => void;
|
|
83
|
+
}
|
|
84
|
+
|
|
69
85
|
export declare interface CardProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
70
86
|
title?: string;
|
|
71
87
|
size?: CardSize;
|
|
@@ -74,9 +90,10 @@ export declare interface CardProps extends React_2.HTMLAttributes<HTMLDivElement
|
|
|
74
90
|
likeCount?: number;
|
|
75
91
|
text?: string;
|
|
76
92
|
classNames?: string;
|
|
93
|
+
canShare?: boolean;
|
|
77
94
|
}
|
|
78
95
|
|
|
79
|
-
declare type CardSize = "sm" | "md" | "lg";
|
|
96
|
+
export declare type CardSize = "sm" | "md" | "lg";
|
|
80
97
|
|
|
81
98
|
export declare const CardTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLHeadingElement> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
82
99
|
|
|
@@ -91,6 +108,8 @@ declare const checkboxVariants: (props?: ({
|
|
|
91
108
|
variant?: "default" | "hover" | "focus" | null | undefined;
|
|
92
109
|
} & ClassProp) | undefined) => string;
|
|
93
110
|
|
|
111
|
+
export declare function cn(...inputs: ClassValue[]): string;
|
|
112
|
+
|
|
94
113
|
export declare const Divider: {
|
|
95
114
|
({ direction, size, className, ...props }: DividerProps): JSX_2.Element;
|
|
96
115
|
displayName: string;
|
|
@@ -101,7 +120,16 @@ export declare interface DividerProps extends React_2.HTMLAttributes<HTMLDivElem
|
|
|
101
120
|
size?: "sm" | "md" | "lg" | "xlg";
|
|
102
121
|
}
|
|
103
122
|
|
|
104
|
-
declare type FileType = "dDoc" | "dPage" | "whiteboard" | "note" | "link" | "media";
|
|
123
|
+
export declare type FileType = "dDoc" | "dPage" | "whiteboard" | "note" | "link" | "media";
|
|
124
|
+
|
|
125
|
+
export declare const FloatingToolbar: default_2.ForwardRefExoticComponent<FloatingToolbarProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
126
|
+
|
|
127
|
+
export declare interface FloatingToolbarProps extends default_2.AllHTMLAttributes<HTMLDivElement> {
|
|
128
|
+
options: ReactNode[][];
|
|
129
|
+
alignment?: "vertical" | "horizontal";
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export declare const formatCounter: (number: number) => string;
|
|
105
133
|
|
|
106
134
|
export declare const GridLayout: (props: GridProps) => JSX_2.Element;
|
|
107
135
|
|
|
@@ -178,7 +206,7 @@ declare const iconVariants_2: (props?: ({
|
|
|
178
206
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
179
207
|
} & ClassProp) | undefined) => string;
|
|
180
208
|
|
|
181
|
-
export declare const ImageCard: ({ type, size, url, likeCount, classNames, }: CardProps) => JSX_2.Element;
|
|
209
|
+
export declare const ImageCard: ({ type, size, url, likeCount, classNames, canShare, }: CardProps) => JSX_2.Element;
|
|
182
210
|
|
|
183
211
|
export declare const Label: React_2.ForwardRefExoticComponent<LabelProps & React_2.RefAttributes<HTMLLabelElement>>;
|
|
184
212
|
|
|
@@ -188,16 +216,34 @@ export declare interface LabelProps extends React_2.ComponentPropsWithoutRef<typ
|
|
|
188
216
|
|
|
189
217
|
declare const labelVariants: (props?: ClassProp | undefined) => string;
|
|
190
218
|
|
|
191
|
-
export declare
|
|
219
|
+
export declare enum LayoutModes {
|
|
220
|
+
LIST = "LIST",
|
|
221
|
+
CARD = "CARD"
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export declare const LucideIcon: default_2.MemoExoticComponent<({ name, className, size, strokeWidth, fill, stroke, ...props }: LucideIconProps) => JSX_2.Element | null>;
|
|
192
225
|
|
|
193
226
|
export declare interface LucideIconProps extends VariantProps<typeof iconVariants_2> {
|
|
194
227
|
name: keyof typeof icons;
|
|
195
228
|
className?: string;
|
|
196
229
|
strokeWidth?: number;
|
|
197
230
|
fill?: string;
|
|
231
|
+
stroke?: string;
|
|
198
232
|
}
|
|
199
233
|
|
|
200
|
-
export declare const PortalCard: ({ title, size, type, url, likeCount, classNames, }: CardProps) => JSX_2.Element;
|
|
234
|
+
export declare const PortalCard: ({ title, size, type, url, likeCount, classNames, canShare, }: CardProps) => JSX_2.Element;
|
|
235
|
+
|
|
236
|
+
export declare const Section: default_2.ForwardRefExoticComponent<Omit<SectionProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
237
|
+
|
|
238
|
+
export declare interface SectionProps extends default_2.AllHTMLAttributes<HTMLDivElement> {
|
|
239
|
+
[x: string]: any;
|
|
240
|
+
title: string;
|
|
241
|
+
setTitle?: default_2.Dispatch<SetStateAction<string>>;
|
|
242
|
+
setCurrentLayoutMode: default_2.Dispatch<SetStateAction<LayoutModes>>;
|
|
243
|
+
viewMode?: boolean;
|
|
244
|
+
isDragging?: boolean;
|
|
245
|
+
onRemoveSection?: () => void;
|
|
246
|
+
}
|
|
201
247
|
|
|
202
248
|
export declare const SegmentedControl: default_2.ForwardRefExoticComponent<SegmentedControlProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
203
249
|
|
|
@@ -206,13 +252,44 @@ export declare interface SegmentedControlProps extends default_2.AllHTMLAttribut
|
|
|
206
252
|
container: boolean;
|
|
207
253
|
currentState?: number;
|
|
208
254
|
setCurrentState: default_2.Dispatch<SetStateAction<number>>;
|
|
255
|
+
showActiveState?: boolean;
|
|
209
256
|
}
|
|
210
257
|
|
|
258
|
+
export declare type SortState = {
|
|
259
|
+
keyName: string | null;
|
|
260
|
+
order: "default" | "asc" | "desc";
|
|
261
|
+
};
|
|
262
|
+
|
|
211
263
|
declare interface SvgProps extends default_2.SVGProps<SVGSVGElement> {
|
|
212
264
|
fill?: string;
|
|
213
265
|
stroke?: string;
|
|
214
266
|
}
|
|
215
267
|
|
|
268
|
+
export declare const Table: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableElement> & React_2.RefAttributes<HTMLTableElement>>;
|
|
269
|
+
|
|
270
|
+
export declare const TableBody: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableSectionElement> & React_2.RefAttributes<HTMLTableSectionElement>>;
|
|
271
|
+
|
|
272
|
+
export declare const TableCaption: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableCaptionElement> & React_2.RefAttributes<HTMLTableCaptionElement>>;
|
|
273
|
+
|
|
274
|
+
export declare const TableCell: React_2.ForwardRefExoticComponent<React_2.TdHTMLAttributes<HTMLTableCellElement> & React_2.RefAttributes<HTMLTableCellElement>>;
|
|
275
|
+
|
|
276
|
+
export declare type TableDataProps = {
|
|
277
|
+
[key: string]: any;
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
export declare const TableFooter: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableSectionElement> & React_2.RefAttributes<HTMLTableSectionElement>>;
|
|
281
|
+
|
|
282
|
+
export declare const TableHead: React_2.ForwardRefExoticComponent<TableHeadProps & React_2.RefAttributes<HTMLTableCellElement>>;
|
|
283
|
+
|
|
284
|
+
export declare const TableHeader: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableSectionElement> & React_2.RefAttributes<HTMLTableSectionElement>>;
|
|
285
|
+
|
|
286
|
+
declare interface TableHeadProps extends React_2.ThHTMLAttributes<HTMLTableCellElement> {
|
|
287
|
+
enableSorting?: boolean;
|
|
288
|
+
sortOrder?: "default" | "asc" | "desc";
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export declare const TableRow: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableRowElement> & React_2.RefAttributes<HTMLTableRowElement>>;
|
|
292
|
+
|
|
216
293
|
export declare const Tabs: React_2.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
217
294
|
|
|
218
295
|
export declare const TabsContent: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -250,7 +327,7 @@ export declare interface TextAreaFieldProps extends React_2.TextareaHTMLAttribut
|
|
|
250
327
|
isValid?: boolean;
|
|
251
328
|
}
|
|
252
329
|
|
|
253
|
-
export declare const TextBlockCard: ({ type, size, text, classNames }: CardProps) => JSX_2.Element;
|
|
330
|
+
export declare const TextBlockCard: ({ type, size, text, likeCount, canShare, classNames, }: CardProps) => JSX_2.Element;
|
|
254
331
|
|
|
255
332
|
export declare const TextField: React_2.ForwardRefExoticComponent<TextFieldProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
256
333
|
|
|
@@ -304,4 +381,22 @@ declare const tooltipVariants: (props?: ({
|
|
|
304
381
|
defaultVariants?: "variant" | "beakPosition" | null | undefined;
|
|
305
382
|
} & ClassProp) | undefined) => string;
|
|
306
383
|
|
|
384
|
+
export declare const useHoverAndLongPress: ({ delay, }: UseHoverAndLongPressProps) => {
|
|
385
|
+
onMouseEnter: () => void;
|
|
386
|
+
onMouseLeave: () => void;
|
|
387
|
+
onTouchStart: () => void;
|
|
388
|
+
onTouchEnd: () => void;
|
|
389
|
+
isActive: boolean;
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
declare interface UseHoverAndLongPressProps {
|
|
393
|
+
delay?: number;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export declare function useSortableData(initialData: TableDataProps[], defaultSortState?: SortState): {
|
|
397
|
+
data: TableDataProps[];
|
|
398
|
+
sortState: SortState;
|
|
399
|
+
sortData: (keyName: string) => void;
|
|
400
|
+
};
|
|
401
|
+
|
|
307
402
|
export { }
|