@fileverse/ui 4.1.4 → 4.1.6-patch-1
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/README.md +2 -2
- package/dist/index.css +242 -43
- package/dist/index.es.d.ts +22 -3
- package/dist/index.es.js +19967 -17479
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Getting Started with Fileverse UI System
|
|
2
2
|
|
|
3
|
-
Welcome to the Fileverse UI System documentation. Here you'll find instructions and examples to help you get started quickly and efficiently.
|
|
3
|
+
Welcome to the Fileverse UI System documentation. Here, you'll find instructions and examples to help you get started quickly and efficiently.
|
|
4
4
|
|
|
5
5
|
## What is Fileverse design system?
|
|
6
6
|
|
|
7
|
-
Fileverse
|
|
7
|
+
The Fileverse Design System is a Figma library of UI components used by the Fileverse team to create seamless user experiences. These components are designed to match what is available to developers, ensuring consistency between design and implementation.
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
package/dist/index.css
CHANGED
|
@@ -416,6 +416,7 @@ video {
|
|
|
416
416
|
--color-text-success: 127, 69%, 29%, 1; /* Green-700 */
|
|
417
417
|
--color-text-inverse: 0, 0%, 100%, 1; /* White */
|
|
418
418
|
--color-text-link: 260, 100%, 52%, 1; /* Blue-700 */
|
|
419
|
+
--color-text-on-brand: 207, 8%, 23%, 1; /* Gray-950 */
|
|
419
420
|
|
|
420
421
|
/* Background */
|
|
421
422
|
--color-bg-default: 0, 0%, 100%, 1; /* White */
|
|
@@ -444,13 +445,15 @@ video {
|
|
|
444
445
|
--color-border-disabled: 206, 9%, 66%, 1; /* Gray-500 */
|
|
445
446
|
|
|
446
447
|
/* Icon */
|
|
447
|
-
--color-icon-default:
|
|
448
|
+
--color-icon-default: 0, 0%, 100%, 1; /* White */
|
|
448
449
|
--color-icon-default-hover: 207, 8%, 23%, 1; /* Gray-950 */
|
|
449
450
|
--color-icon-brand: 52, 100%, 52%, 1; /* Yellow-400 */
|
|
450
451
|
--color-icon-secondary: 208, 8%, 50%, 1; /* Gray-700 */
|
|
451
452
|
--color-icon-disabled: 206, 9%, 66%, 1; /* Gray-500 */
|
|
452
453
|
--color-icon-inverse: 0, 0%, 100%, 1; /* White */
|
|
453
454
|
--color-icon-danger: 354, 96%, 59%, 1; /* Red-500 */
|
|
455
|
+
--color-icon-success: 127, 69%, 29%, 1; /* Green-700 */
|
|
456
|
+
--color-icon-on-brand: 207, 8%, 23%, 1; /* Gray-900 */
|
|
454
457
|
|
|
455
458
|
/* Utility */
|
|
456
459
|
--color-utility-overlay: 0, 0%, 0%, 0.72; /* Black 72% */
|
|
@@ -461,6 +464,68 @@ video {
|
|
|
461
464
|
--shadow-elevation-3: 0px 4px 16px rgba (0, 0, 0, 0.15);
|
|
462
465
|
--shadow-elevation-4: 0px 8px 32px rgba (0, 0, 0, 0.15);
|
|
463
466
|
}
|
|
467
|
+
|
|
468
|
+
.dark {
|
|
469
|
+
/* Button */
|
|
470
|
+
--color-button-default: 0, 0%, 31%, 1; /* Gray-700 */
|
|
471
|
+
--color-button-default-hover: 0, 0%, 36%, 1; /* Gray-600 */
|
|
472
|
+
--color-button-secondary: 0, 0%, 12%, 1; /* Gray-950 */
|
|
473
|
+
--color-button-secondary-hover: 0, 0%, 25%, 1; /* Gray-800 */
|
|
474
|
+
--color-button-disabled: 0, 0%, 25%, 1; /* Gray-800 */
|
|
475
|
+
--color-button-danger: 354, 96%, 59%, 1; /* Red-500 */
|
|
476
|
+
--color-button-danger-hover: 354, 84%, 42%, 1; /* Red-700 */
|
|
477
|
+
--color-button-floating: 0, 0%, 31%, 1; /* Gray-700 */
|
|
478
|
+
--color-button-floating-hover: 0, 0%, 25%, 1; /* Gray-800 */
|
|
479
|
+
|
|
480
|
+
/* Text */
|
|
481
|
+
--color-text-default: 0, 0%, 91%, 1; /* Gray-100 */
|
|
482
|
+
--color-text-secondary: 0, 0%, 53%, 1; /* Gray-400 */
|
|
483
|
+
--color-text-disabled: 0, 0%, 43%, 1; /* Gray-500 */
|
|
484
|
+
--color-text-danger: 354, 100%, 70%, 1; /* Red-400 */
|
|
485
|
+
--color-text-success: 126, 67%, 45%, 1; /* Green-500 */
|
|
486
|
+
--color-text-inverse: 0, 0%, 91%, 1; /* Gray-100 */
|
|
487
|
+
--color-text-link: 251, 100%, 83%, 1; /* Blue-700 */
|
|
488
|
+
--color-text-on-brand: 0, 0%, 18%, 1; /* Gray-950 */
|
|
489
|
+
|
|
490
|
+
/* Background */
|
|
491
|
+
--color-bg-default: 0, 0%, 18%, 1; /* Gray-900 */
|
|
492
|
+
--color-bg-default-hover: 0, 0%, 25%, 1; /* Gray-800 */
|
|
493
|
+
--color-bg-default-active: 50, 74%, 54%, 1; /* Yellow-400 */
|
|
494
|
+
--color-bg-default-selected: 0, 0%, 25%, 1; /* Gray-800 */
|
|
495
|
+
--color-bg-secondary: 0, 0%, 12%, 1; /* Gray-950 */
|
|
496
|
+
--color-bg-secondary-hover: 0, 0%, 18%, 1; /* Gray-900 */
|
|
497
|
+
--color-bg-disabled: 0, 0%, 53%, 1; /* Gray-400 */
|
|
498
|
+
--color-bg-brand: 50, 74%, 54%, 1; /* Yellow-400 */
|
|
499
|
+
--color-bg-brand-hover: 50, 60%, 45%, 1; /* Yellow-500 */
|
|
500
|
+
--color-bg-brand-light: 57, 92%, 76%, 1; /* Yellow-100 */
|
|
501
|
+
--color-bg-danger: 354, 100%, 89%, 1; /* Red-200 */
|
|
502
|
+
--color-bg-danger-light: 356, 100%, 97%, 1; /* Red-50 */
|
|
503
|
+
--color-bg-default-inverse: 0, 0%, 100%, 1; /* White */
|
|
504
|
+
--color-bg-tertiary: 0, 0%, 25%, 1; /* Gray-800 */
|
|
505
|
+
--color-bg-success-light: 124, 79%, 93%, 1; /* Green-100 */
|
|
506
|
+
|
|
507
|
+
/* Border */
|
|
508
|
+
--color-border-default: 0, 0%, 25%, 1; /* Gray-800 */
|
|
509
|
+
--color-border-hover: 0, 0%, 36%, 1; /* Gray-600 */
|
|
510
|
+
--color-border-light: 0, 0%, 100%, 1; /* White */
|
|
511
|
+
--color-border-active: 0, 0%, 91%, 1; /* Gray-200 */
|
|
512
|
+
--color-border-focused: 254, 100%, 73%, 1; /* Blue-400 */
|
|
513
|
+
--color-border-danger: 354, 100%, 70%, 1; /* Red-400 */
|
|
514
|
+
--color-border-disabled: 0, 0%, 53%, 1; /* Gray-400 */
|
|
515
|
+
|
|
516
|
+
/* Icon */
|
|
517
|
+
--color-icon-default: 0, 0%, 100%, 1; /* White */
|
|
518
|
+
--color-icon-default-hover: 0, 0%, 12%, 1; /* Gray-900 */
|
|
519
|
+
--color-icon-brand: 50, 74%, 54%, 1; /* Yellow-400 */
|
|
520
|
+
--color-icon-secondary: 0, 0%, 53%, 1; /* Gray-400 */
|
|
521
|
+
--color-icon-disabled: 0, 0%, 25%, 1; /* Gray-800 */
|
|
522
|
+
--color-icon-inverse: 207, 8%, 23%, 1; /* Gray-100 */
|
|
523
|
+
--color-icon-danger: 354, 96%, 59%, 1; /* Red-500 */
|
|
524
|
+
--color-icon-success: 127, 69%, 29%, 1; /* Green-700 */
|
|
525
|
+
--color-icon-on-brand: 0, 0%, 18%, 1; /* Gray-950 */
|
|
526
|
+
/* Utility */
|
|
527
|
+
--color-utility-overlay: 0, 0%, 0%, 0.72; /* Black 72% */
|
|
528
|
+
}
|
|
464
529
|
* {
|
|
465
530
|
border-color: hsl(var(--color-border-default));
|
|
466
531
|
}
|
|
@@ -707,7 +772,7 @@ video {
|
|
|
707
772
|
}
|
|
708
773
|
|
|
709
774
|
.color-button-secondary {
|
|
710
|
-
background-color: hsl(var(--color-button-
|
|
775
|
+
background-color: hsl(var(--color-button-ghost));
|
|
711
776
|
border: 2px solid hsl(var(--color-border-active));
|
|
712
777
|
}
|
|
713
778
|
|
|
@@ -764,15 +829,15 @@ video {
|
|
|
764
829
|
}
|
|
765
830
|
|
|
766
831
|
.color-icon-default-hover {
|
|
767
|
-
|
|
832
|
+
color: hsl(var(--color-icon-default-hover));
|
|
768
833
|
}
|
|
769
834
|
|
|
770
835
|
.color-icon-brand {
|
|
771
|
-
|
|
836
|
+
color: hsl(var(--color-icon-brand));
|
|
772
837
|
}
|
|
773
838
|
|
|
774
839
|
.color-icon-secondary {
|
|
775
|
-
|
|
840
|
+
color: hsl(var(--color-icon-secondary));
|
|
776
841
|
}
|
|
777
842
|
|
|
778
843
|
.color-icon-disabled {
|
|
@@ -780,7 +845,7 @@ video {
|
|
|
780
845
|
}
|
|
781
846
|
|
|
782
847
|
.color-icon-inverse {
|
|
783
|
-
|
|
848
|
+
color: hsl(var(--color-icon-inverse));
|
|
784
849
|
}
|
|
785
850
|
|
|
786
851
|
.color-utility-overlay {
|
|
@@ -1014,6 +1079,9 @@ video {
|
|
|
1014
1079
|
.relative {
|
|
1015
1080
|
position: relative;
|
|
1016
1081
|
}
|
|
1082
|
+
.sticky {
|
|
1083
|
+
position: sticky;
|
|
1084
|
+
}
|
|
1017
1085
|
.inset-0 {
|
|
1018
1086
|
inset: 0px;
|
|
1019
1087
|
}
|
|
@@ -1100,9 +1168,18 @@ video {
|
|
|
1100
1168
|
.top-3 {
|
|
1101
1169
|
top: 0.75rem;
|
|
1102
1170
|
}
|
|
1171
|
+
.top-4 {
|
|
1172
|
+
top: 1rem;
|
|
1173
|
+
}
|
|
1174
|
+
.top-\[4rem\] {
|
|
1175
|
+
top: 4rem;
|
|
1176
|
+
}
|
|
1103
1177
|
.top-\[50\%\] {
|
|
1104
1178
|
top: 50%;
|
|
1105
1179
|
}
|
|
1180
|
+
.\!z-40 {
|
|
1181
|
+
z-index: 40 !important;
|
|
1182
|
+
}
|
|
1106
1183
|
.z-10 {
|
|
1107
1184
|
z-index: 10;
|
|
1108
1185
|
}
|
|
@@ -1185,6 +1262,9 @@ video {
|
|
|
1185
1262
|
.mt-4 {
|
|
1186
1263
|
margin-top: 1rem;
|
|
1187
1264
|
}
|
|
1265
|
+
.mt-5 {
|
|
1266
|
+
margin-top: 1.25rem;
|
|
1267
|
+
}
|
|
1188
1268
|
.line-clamp-5 {
|
|
1189
1269
|
overflow: hidden;
|
|
1190
1270
|
display: -webkit-box;
|
|
@@ -1257,15 +1337,24 @@ video {
|
|
|
1257
1337
|
.h-6 {
|
|
1258
1338
|
height: 1.5rem;
|
|
1259
1339
|
}
|
|
1340
|
+
.h-7 {
|
|
1341
|
+
height: 1.75rem;
|
|
1342
|
+
}
|
|
1260
1343
|
.h-8 {
|
|
1261
1344
|
height: 2rem;
|
|
1262
1345
|
}
|
|
1263
1346
|
.h-9 {
|
|
1264
1347
|
height: 2.25rem;
|
|
1265
1348
|
}
|
|
1349
|
+
.h-\[120px\] {
|
|
1350
|
+
height: 120px;
|
|
1351
|
+
}
|
|
1266
1352
|
.h-\[18px\] {
|
|
1267
1353
|
height: 18px;
|
|
1268
1354
|
}
|
|
1355
|
+
.h-\[200px\] {
|
|
1356
|
+
height: 200px;
|
|
1357
|
+
}
|
|
1269
1358
|
.h-\[208px\] {
|
|
1270
1359
|
height: 208px;
|
|
1271
1360
|
}
|
|
@@ -1293,6 +1382,9 @@ video {
|
|
|
1293
1382
|
.h-\[68px\] {
|
|
1294
1383
|
height: 68px;
|
|
1295
1384
|
}
|
|
1385
|
+
.h-\[85vh\] {
|
|
1386
|
+
height: 85vh;
|
|
1387
|
+
}
|
|
1296
1388
|
.h-\[calc\(100\%-1rem\)\] {
|
|
1297
1389
|
height: calc(100% - 1rem);
|
|
1298
1390
|
}
|
|
@@ -1318,6 +1410,9 @@ video {
|
|
|
1318
1410
|
.h-screen {
|
|
1319
1411
|
height: 100vh;
|
|
1320
1412
|
}
|
|
1413
|
+
.max-h-10 {
|
|
1414
|
+
max-height: 2.5rem;
|
|
1415
|
+
}
|
|
1321
1416
|
.max-h-40 {
|
|
1322
1417
|
max-height: 10rem;
|
|
1323
1418
|
}
|
|
@@ -1336,6 +1431,9 @@ video {
|
|
|
1336
1431
|
.min-h-10 {
|
|
1337
1432
|
min-height: 2.5rem;
|
|
1338
1433
|
}
|
|
1434
|
+
.min-h-7 {
|
|
1435
|
+
min-height: 1.75rem;
|
|
1436
|
+
}
|
|
1339
1437
|
.min-h-9 {
|
|
1340
1438
|
min-height: 2.25rem;
|
|
1341
1439
|
}
|
|
@@ -1354,15 +1452,24 @@ video {
|
|
|
1354
1452
|
.\!w-\[95\%\] {
|
|
1355
1453
|
width: 95% !important;
|
|
1356
1454
|
}
|
|
1455
|
+
.\!w-full {
|
|
1456
|
+
width: 100% !important;
|
|
1457
|
+
}
|
|
1357
1458
|
.w-10 {
|
|
1358
1459
|
width: 2.5rem;
|
|
1359
1460
|
}
|
|
1360
1461
|
.w-11 {
|
|
1361
1462
|
width: 2.75rem;
|
|
1362
1463
|
}
|
|
1464
|
+
.w-12 {
|
|
1465
|
+
width: 3rem;
|
|
1466
|
+
}
|
|
1363
1467
|
.w-16 {
|
|
1364
1468
|
width: 4rem;
|
|
1365
1469
|
}
|
|
1470
|
+
.w-20 {
|
|
1471
|
+
width: 5rem;
|
|
1472
|
+
}
|
|
1366
1473
|
.w-24 {
|
|
1367
1474
|
width: 6rem;
|
|
1368
1475
|
}
|
|
@@ -1390,6 +1497,9 @@ video {
|
|
|
1390
1497
|
.w-64 {
|
|
1391
1498
|
width: 16rem;
|
|
1392
1499
|
}
|
|
1500
|
+
.w-7 {
|
|
1501
|
+
width: 1.75rem;
|
|
1502
|
+
}
|
|
1393
1503
|
.w-72 {
|
|
1394
1504
|
width: 18rem;
|
|
1395
1505
|
}
|
|
@@ -1417,9 +1527,15 @@ video {
|
|
|
1417
1527
|
.w-\[18px\] {
|
|
1418
1528
|
width: 18px;
|
|
1419
1529
|
}
|
|
1530
|
+
.w-\[200px\] {
|
|
1531
|
+
width: 200px;
|
|
1532
|
+
}
|
|
1420
1533
|
.w-\[20px\] {
|
|
1421
1534
|
width: 20px;
|
|
1422
1535
|
}
|
|
1536
|
+
.w-\[250px\] {
|
|
1537
|
+
width: 250px;
|
|
1538
|
+
}
|
|
1423
1539
|
.w-\[280px\] {
|
|
1424
1540
|
width: 280px;
|
|
1425
1541
|
}
|
|
@@ -1490,6 +1606,9 @@ video {
|
|
|
1490
1606
|
.min-w-5 {
|
|
1491
1607
|
min-width: 1.25rem;
|
|
1492
1608
|
}
|
|
1609
|
+
.min-w-7 {
|
|
1610
|
+
min-width: 1.75rem;
|
|
1611
|
+
}
|
|
1493
1612
|
.min-w-9 {
|
|
1494
1613
|
min-width: 2.25rem;
|
|
1495
1614
|
}
|
|
@@ -1529,6 +1648,9 @@ video {
|
|
|
1529
1648
|
.min-w-\[60\%\] {
|
|
1530
1649
|
min-width: 60%;
|
|
1531
1650
|
}
|
|
1651
|
+
.min-w-\[80px\] {
|
|
1652
|
+
min-width: 80px;
|
|
1653
|
+
}
|
|
1532
1654
|
.min-w-\[92vw\] {
|
|
1533
1655
|
min-width: 92vw;
|
|
1534
1656
|
}
|
|
@@ -1685,9 +1807,17 @@ video {
|
|
|
1685
1807
|
-moz-user-select: none;
|
|
1686
1808
|
user-select: none;
|
|
1687
1809
|
}
|
|
1810
|
+
.select-text {
|
|
1811
|
+
-webkit-user-select: text;
|
|
1812
|
+
-moz-user-select: text;
|
|
1813
|
+
user-select: text;
|
|
1814
|
+
}
|
|
1688
1815
|
.resize-none {
|
|
1689
1816
|
resize: none;
|
|
1690
1817
|
}
|
|
1818
|
+
.list-disc {
|
|
1819
|
+
list-style-type: disc;
|
|
1820
|
+
}
|
|
1691
1821
|
.appearance-none {
|
|
1692
1822
|
-webkit-appearance: none;
|
|
1693
1823
|
-moz-appearance: none;
|
|
@@ -1702,6 +1832,9 @@ video {
|
|
|
1702
1832
|
.grid-cols-2 {
|
|
1703
1833
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1704
1834
|
}
|
|
1835
|
+
.grid-cols-3 {
|
|
1836
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
1837
|
+
}
|
|
1705
1838
|
.flex-row {
|
|
1706
1839
|
flex-direction: row;
|
|
1707
1840
|
}
|
|
@@ -1854,6 +1987,9 @@ video {
|
|
|
1854
1987
|
.\!rounded {
|
|
1855
1988
|
border-radius: 0.25rem !important;
|
|
1856
1989
|
}
|
|
1990
|
+
.\!rounded-lg {
|
|
1991
|
+
border-radius: var(--radius) !important;
|
|
1992
|
+
}
|
|
1857
1993
|
.\!rounded-none {
|
|
1858
1994
|
border-radius: 0px !important;
|
|
1859
1995
|
}
|
|
@@ -1930,9 +2066,6 @@ video {
|
|
|
1930
2066
|
.border-b-2 {
|
|
1931
2067
|
border-bottom-width: 2px;
|
|
1932
2068
|
}
|
|
1933
|
-
.border-b-\[0\.5px\] {
|
|
1934
|
-
border-bottom-width: 0.5px;
|
|
1935
|
-
}
|
|
1936
2069
|
.border-r {
|
|
1937
2070
|
border-right-width: 1px;
|
|
1938
2071
|
}
|
|
@@ -1958,6 +2091,10 @@ video {
|
|
|
1958
2091
|
--tw-border-opacity: 1;
|
|
1959
2092
|
border-color: rgb(255 255 255 / var(--tw-border-opacity));
|
|
1960
2093
|
}
|
|
2094
|
+
.border-gray-200 {
|
|
2095
|
+
--tw-border-opacity: 1;
|
|
2096
|
+
border-color: rgb(229 231 235 / var(--tw-border-opacity));
|
|
2097
|
+
}
|
|
1961
2098
|
.border-transparent {
|
|
1962
2099
|
border-color: transparent;
|
|
1963
2100
|
}
|
|
@@ -1978,9 +2115,6 @@ video {
|
|
|
1978
2115
|
--tw-bg-opacity: 1;
|
|
1979
2116
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
1980
2117
|
}
|
|
1981
|
-
.bg-opacity-50 {
|
|
1982
|
-
--tw-bg-opacity: 0.5;
|
|
1983
|
-
}
|
|
1984
2118
|
.bg-none {
|
|
1985
2119
|
background-image: none;
|
|
1986
2120
|
}
|
|
@@ -1998,12 +2132,18 @@ video {
|
|
|
1998
2132
|
.p-0 {
|
|
1999
2133
|
padding: 0px;
|
|
2000
2134
|
}
|
|
2135
|
+
.p-0\.5 {
|
|
2136
|
+
padding: 0.125rem;
|
|
2137
|
+
}
|
|
2001
2138
|
.p-1 {
|
|
2002
2139
|
padding: 0.25rem;
|
|
2003
2140
|
}
|
|
2004
2141
|
.p-2 {
|
|
2005
2142
|
padding: 0.5rem;
|
|
2006
2143
|
}
|
|
2144
|
+
.p-3 {
|
|
2145
|
+
padding: 0.75rem;
|
|
2146
|
+
}
|
|
2007
2147
|
.p-4 {
|
|
2008
2148
|
padding: 1rem;
|
|
2009
2149
|
}
|
|
@@ -2013,8 +2153,8 @@ video {
|
|
|
2013
2153
|
.p-6 {
|
|
2014
2154
|
padding: 1.5rem;
|
|
2015
2155
|
}
|
|
2016
|
-
.p-\[
|
|
2017
|
-
padding:
|
|
2156
|
+
.p-\[4px\] {
|
|
2157
|
+
padding: 4px;
|
|
2018
2158
|
}
|
|
2019
2159
|
.\!px-0 {
|
|
2020
2160
|
padding-left: 0px !important;
|
|
@@ -2092,6 +2232,9 @@ video {
|
|
|
2092
2232
|
padding-top: 1.5rem;
|
|
2093
2233
|
padding-bottom: 1.5rem;
|
|
2094
2234
|
}
|
|
2235
|
+
.\!pt-4 {
|
|
2236
|
+
padding-top: 1rem !important;
|
|
2237
|
+
}
|
|
2095
2238
|
.pb-2 {
|
|
2096
2239
|
padding-bottom: 0.5rem;
|
|
2097
2240
|
}
|
|
@@ -2110,6 +2253,9 @@ video {
|
|
|
2110
2253
|
.pl-2 {
|
|
2111
2254
|
padding-left: 0.5rem;
|
|
2112
2255
|
}
|
|
2256
|
+
.pl-6 {
|
|
2257
|
+
padding-left: 1.5rem;
|
|
2258
|
+
}
|
|
2113
2259
|
.pr-10 {
|
|
2114
2260
|
padding-right: 2.5rem;
|
|
2115
2261
|
}
|
|
@@ -2128,9 +2274,6 @@ video {
|
|
|
2128
2274
|
.pt-4 {
|
|
2129
2275
|
padding-top: 1rem;
|
|
2130
2276
|
}
|
|
2131
|
-
.pt-6 {
|
|
2132
|
-
padding-top: 1.5rem;
|
|
2133
|
-
}
|
|
2134
2277
|
.text-left {
|
|
2135
2278
|
text-align: left;
|
|
2136
2279
|
}
|
|
@@ -2161,10 +2304,18 @@ video {
|
|
|
2161
2304
|
.text-\[32px\] {
|
|
2162
2305
|
font-size: 32px;
|
|
2163
2306
|
}
|
|
2307
|
+
.text-lg {
|
|
2308
|
+
font-size: 1.125rem;
|
|
2309
|
+
line-height: 1.75rem;
|
|
2310
|
+
}
|
|
2164
2311
|
.text-sm {
|
|
2165
2312
|
font-size: 0.875rem;
|
|
2166
2313
|
line-height: 1.25rem;
|
|
2167
2314
|
}
|
|
2315
|
+
.text-xs {
|
|
2316
|
+
font-size: 0.75rem;
|
|
2317
|
+
line-height: 1rem;
|
|
2318
|
+
}
|
|
2168
2319
|
.\!font-bold {
|
|
2169
2320
|
font-weight: 700 !important;
|
|
2170
2321
|
}
|
|
@@ -2177,6 +2328,15 @@ video {
|
|
|
2177
2328
|
.font-normal {
|
|
2178
2329
|
font-weight: 400;
|
|
2179
2330
|
}
|
|
2331
|
+
.leading-5 {
|
|
2332
|
+
line-height: 1.25rem;
|
|
2333
|
+
}
|
|
2334
|
+
.leading-6 {
|
|
2335
|
+
line-height: 1.5rem;
|
|
2336
|
+
}
|
|
2337
|
+
.leading-\[20px\] {
|
|
2338
|
+
line-height: 20px;
|
|
2339
|
+
}
|
|
2180
2340
|
.leading-none {
|
|
2181
2341
|
line-height: 1;
|
|
2182
2342
|
}
|
|
@@ -2187,6 +2347,10 @@ video {
|
|
|
2187
2347
|
--tw-text-opacity: 1;
|
|
2188
2348
|
color: rgb(119 129 138 / var(--tw-text-opacity));
|
|
2189
2349
|
}
|
|
2350
|
+
.text-gray-400 {
|
|
2351
|
+
--tw-text-opacity: 1;
|
|
2352
|
+
color: rgb(156 163 175 / var(--tw-text-opacity));
|
|
2353
|
+
}
|
|
2190
2354
|
.text-red-500 {
|
|
2191
2355
|
--tw-text-opacity: 1;
|
|
2192
2356
|
color: rgb(239 68 68 / var(--tw-text-opacity));
|
|
@@ -2256,6 +2420,10 @@ video {
|
|
|
2256
2420
|
.ring-offset-white {
|
|
2257
2421
|
--tw-ring-offset-color: #fff;
|
|
2258
2422
|
}
|
|
2423
|
+
.drop-shadow {
|
|
2424
|
+
--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
|
|
2425
|
+
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);
|
|
2426
|
+
}
|
|
2259
2427
|
.filter {
|
|
2260
2428
|
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);
|
|
2261
2429
|
}
|
|
@@ -2462,10 +2630,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2462
2630
|
background-color: hsl(var(--color-bg-secondary-hover));
|
|
2463
2631
|
}
|
|
2464
2632
|
|
|
2465
|
-
.hover\:color-bg-disabled:hover {
|
|
2466
|
-
background-color: hsl(var(--color-bg-disabled));
|
|
2467
|
-
}
|
|
2468
|
-
|
|
2469
2633
|
.hover\:\!color-bg-brand:hover {
|
|
2470
2634
|
background-color: hsl(var(--color-bg-brand)) !important;
|
|
2471
2635
|
}
|
|
@@ -2494,14 +2658,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2494
2658
|
border-color: hsl(var(--color-border-hover));
|
|
2495
2659
|
}
|
|
2496
2660
|
|
|
2497
|
-
.focus\:color-text-default:focus {
|
|
2498
|
-
color: hsl(var(--color-text-default));
|
|
2499
|
-
}
|
|
2500
|
-
|
|
2501
|
-
.focus\:color-bg-default-selected:focus {
|
|
2502
|
-
background-color: hsl(var(--color-bg-default-selected));
|
|
2503
|
-
}
|
|
2504
|
-
|
|
2505
2661
|
.focus-visible\:color-border-hover:focus-visible {
|
|
2506
2662
|
border-color: hsl(var(--color-border-hover));
|
|
2507
2663
|
}
|
|
@@ -2566,6 +2722,14 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2566
2722
|
border-color: hsl(var(--color-border-default));
|
|
2567
2723
|
}
|
|
2568
2724
|
|
|
2725
|
+
.group.secondary .group-\[\.secondary\]\:color-border-default {
|
|
2726
|
+
border-color: hsl(var(--color-border-default));
|
|
2727
|
+
}
|
|
2728
|
+
|
|
2729
|
+
.group.success .group-\[\.success\]\:color-border-default {
|
|
2730
|
+
border-color: hsl(var(--color-border-default));
|
|
2731
|
+
}
|
|
2732
|
+
|
|
2569
2733
|
.group.secondary .group-\[\.secondary\]\:color-border-hover {
|
|
2570
2734
|
border-color: hsl(var(--color-border-hover));
|
|
2571
2735
|
}
|
|
@@ -2618,6 +2782,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2618
2782
|
background-color: hsl(var(--color-bg-default-selected));
|
|
2619
2783
|
}
|
|
2620
2784
|
|
|
2785
|
+
.data-\[highlighted\]\:color-text-default[data-highlighted] {
|
|
2786
|
+
color: hsl(var(--color-text-default));
|
|
2787
|
+
}
|
|
2788
|
+
|
|
2621
2789
|
.data-\[state\=active\]\:color-text-default[data-state=active] {
|
|
2622
2790
|
color: hsl(var(--color-text-default));
|
|
2623
2791
|
}
|
|
@@ -2626,16 +2794,24 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2626
2794
|
color: hsl(var(--color-text-default));
|
|
2627
2795
|
}
|
|
2628
2796
|
|
|
2797
|
+
.data-\[disabled\]\:color-text-disabled[data-disabled] {
|
|
2798
|
+
color: hsl(var(--color-text-disabled));
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2629
2801
|
.data-\[state\=unchecked\]\:color-bg-default-hover[data-state=unchecked] {
|
|
2630
2802
|
background-color: hsl(var(--color-bg-default-hover));
|
|
2631
2803
|
}
|
|
2632
2804
|
|
|
2805
|
+
.data-\[highlighted\]\:color-bg-default-selected[data-highlighted] {
|
|
2806
|
+
background-color: hsl(var(--color-bg-default-selected));
|
|
2807
|
+
}
|
|
2808
|
+
|
|
2633
2809
|
.data-\[state\=open\]\:color-bg-default-selected[data-state=open] {
|
|
2634
2810
|
background-color: hsl(var(--color-bg-default-selected));
|
|
2635
2811
|
}
|
|
2636
2812
|
|
|
2637
|
-
.data-\[state\=selected\]\:color-bg-
|
|
2638
|
-
background-color: hsl(var(--color-bg-
|
|
2813
|
+
.data-\[state\=selected\]\:color-bg-default-selected[data-state=selected] {
|
|
2814
|
+
background-color: hsl(var(--color-bg-default-selected));
|
|
2639
2815
|
}
|
|
2640
2816
|
|
|
2641
2817
|
.data-\[state\=checked\]\:color-bg-brand-hover[data-state=checked] {
|
|
@@ -2654,6 +2830,14 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2654
2830
|
background-color: hsl(var(--color-bg-brand-hover));
|
|
2655
2831
|
}
|
|
2656
2832
|
|
|
2833
|
+
.dark\:color-bg-disabled:is(.dark *) {
|
|
2834
|
+
background-color: hsl(var(--color-bg-disabled));
|
|
2835
|
+
}
|
|
2836
|
+
|
|
2837
|
+
.dark\:data-\[state\=active\]\:color-border-light[data-state=active]:is(.dark *) {
|
|
2838
|
+
border-color: hsl(var(--color-border-light));
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2657
2841
|
@media (min-width: 1024px) {
|
|
2658
2842
|
|
|
2659
2843
|
.lg\:\!text-heading-2xlg {
|
|
@@ -2690,6 +2874,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2690
2874
|
color: hsl(var(--color-text-disabled));
|
|
2691
2875
|
}
|
|
2692
2876
|
|
|
2877
|
+
.\[\&_tr\]\:color-border-default tr {
|
|
2878
|
+
border-color: hsl(var(--color-border-default));
|
|
2879
|
+
}
|
|
2880
|
+
|
|
2693
2881
|
.data-\[state\=unchecked\]\:toggle-default[data-state=unchecked] {
|
|
2694
2882
|
background-color: hsl(var(--color-bg-disabled));
|
|
2695
2883
|
}
|
|
@@ -2730,10 +2918,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2730
2918
|
background-color: transparent;
|
|
2731
2919
|
}
|
|
2732
2920
|
|
|
2733
|
-
.hover\:bg-opacity-50:hover {
|
|
2734
|
-
--tw-bg-opacity: 0.5;
|
|
2735
|
-
}
|
|
2736
|
-
|
|
2737
2921
|
.hover\:opacity-90:hover {
|
|
2738
2922
|
opacity: 0.9;
|
|
2739
2923
|
}
|
|
@@ -2946,14 +3130,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2946
3130
|
border-color: transparent;
|
|
2947
3131
|
}
|
|
2948
3132
|
|
|
2949
|
-
.data-\[state\=active\]\:bg-none[data-state=active] {
|
|
2950
|
-
background-image: none;
|
|
2951
|
-
}
|
|
2952
|
-
|
|
2953
|
-
.data-\[disabled\]\:opacity-50[data-disabled] {
|
|
2954
|
-
opacity: 0.5;
|
|
2955
|
-
}
|
|
2956
|
-
|
|
2957
3133
|
.data-\[swipe\=move\]\:transition-none[data-swipe=move] {
|
|
2958
3134
|
transition-property: none;
|
|
2959
3135
|
}
|
|
@@ -3112,6 +3288,25 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3112
3288
|
animation-duration: 500ms;
|
|
3113
3289
|
}
|
|
3114
3290
|
|
|
3291
|
+
.dark\:bg-\[\#000\]:is(.dark *) {
|
|
3292
|
+
--tw-bg-opacity: 1;
|
|
3293
|
+
background-color: rgb(0 0 0 / var(--tw-bg-opacity));
|
|
3294
|
+
}
|
|
3295
|
+
|
|
3296
|
+
.dark\:stroke-black:is(.dark *) {
|
|
3297
|
+
stroke: #000;
|
|
3298
|
+
}
|
|
3299
|
+
|
|
3300
|
+
.dark\:\!text-\[\#363B3F\]:is(.dark *) {
|
|
3301
|
+
--tw-text-opacity: 1 !important;
|
|
3302
|
+
color: rgb(54 59 63 / var(--tw-text-opacity)) !important;
|
|
3303
|
+
}
|
|
3304
|
+
|
|
3305
|
+
.dark\:text-\[\#363B3F\]:is(.dark *) {
|
|
3306
|
+
--tw-text-opacity: 1;
|
|
3307
|
+
color: rgb(54 59 63 / var(--tw-text-opacity));
|
|
3308
|
+
}
|
|
3309
|
+
|
|
3115
3310
|
@media (min-width: 640px) {
|
|
3116
3311
|
|
|
3117
3312
|
.sm\:max-w-fit {
|
|
@@ -3152,6 +3347,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3152
3347
|
|
|
3153
3348
|
@media (min-width: 768px) {
|
|
3154
3349
|
|
|
3350
|
+
.md\:\!right-4 {
|
|
3351
|
+
right: 1rem !important;
|
|
3352
|
+
}
|
|
3353
|
+
|
|
3155
3354
|
.md\:block {
|
|
3156
3355
|
display: block;
|
|
3157
3356
|
}
|
package/dist/index.es.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ declare const avatarVariants: (props?: ({
|
|
|
88
88
|
content?: "image" | "text" | null | undefined;
|
|
89
89
|
} & ClassProp) | undefined) => string;
|
|
90
90
|
|
|
91
|
-
export declare const BottomDrawer: ({ open, onOpenChange, title, description, content, primaryAction, secondaryAction, className, contentClassName, hasCloseIcon, headerClassName, footerClassName, }: BottomDrawerProps) => JSX_2.Element;
|
|
91
|
+
export declare const BottomDrawer: ({ open, onOpenChange, title, description, content, primaryAction, secondaryAction, className, contentClassName, hasCloseIcon, headerClassName, footerClassName, overlayClasses, noOverlay, }: BottomDrawerProps) => JSX_2.Element;
|
|
92
92
|
|
|
93
93
|
export declare interface BottomDrawerProps extends DynamicModalProps {
|
|
94
94
|
headerClassName?: string;
|
|
@@ -371,7 +371,7 @@ export declare interface DynamicDrawerProps {
|
|
|
371
371
|
dismissible?: boolean;
|
|
372
372
|
}
|
|
373
373
|
|
|
374
|
-
export declare const DynamicDrawerV2:
|
|
374
|
+
export declare const DynamicDrawerV2: ({ title, open, onOpenChange, content, className, headerClassName, contentClassName, side, rounded, dismissible, }: DynamicDrawerV2Props) => JSX_2.Element;
|
|
375
375
|
|
|
376
376
|
export declare interface DynamicDrawerV2Props {
|
|
377
377
|
title?: string;
|
|
@@ -596,6 +596,8 @@ export declare const Popover: React_2.FC<PopoverPrimitive.PopoverProps>;
|
|
|
596
596
|
|
|
597
597
|
export declare const PopoverAnchor: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
598
598
|
|
|
599
|
+
export declare const PopoverClose: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
600
|
+
|
|
599
601
|
export declare const PopoverContent: React_2.ForwardRefExoticComponent<PopoverContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
600
602
|
|
|
601
603
|
export declare interface PopoverContentProps extends React_2.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> {
|
|
@@ -664,6 +666,7 @@ export declare const SheetContent: React_2.ForwardRefExoticComponent<SheetConten
|
|
|
664
666
|
declare interface SheetContentProps extends React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
665
667
|
overlayClasses?: string;
|
|
666
668
|
dismissible?: boolean;
|
|
669
|
+
hideCloseButton?: boolean;
|
|
667
670
|
}
|
|
668
671
|
|
|
669
672
|
export declare const SheetDescription: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
@@ -870,6 +873,17 @@ export declare interface TextFieldProps extends React_2.InputHTMLAttributes<HTML
|
|
|
870
873
|
onChange?: (e: React_2.ChangeEvent<HTMLInputElement>) => void;
|
|
871
874
|
}
|
|
872
875
|
|
|
876
|
+
declare type Theme = "light" | "dark";
|
|
877
|
+
|
|
878
|
+
export declare const ThemeProvider: ({ children, defaultTheme, }: ThemeProviderProps) => JSX_2.Element;
|
|
879
|
+
|
|
880
|
+
declare type ThemeProviderProps = {
|
|
881
|
+
children: React.ReactNode;
|
|
882
|
+
defaultTheme?: Theme;
|
|
883
|
+
};
|
|
884
|
+
|
|
885
|
+
export declare const ThemeToggle: () => JSX_2.Element;
|
|
886
|
+
|
|
873
887
|
export declare const Toast: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React_2.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
874
888
|
variant?: "default" | "danger" | "secondary" | "success" | null | undefined;
|
|
875
889
|
position?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "center-top" | "center-bottom" | null | undefined;
|
|
@@ -933,7 +947,7 @@ declare const toggleVariants: (props?: ({
|
|
|
933
947
|
export declare const Tooltip: React_2.ForwardRefExoticComponent<TooltipProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
934
948
|
|
|
935
949
|
export declare interface TooltipProps extends React_2.HTMLAttributes<HTMLElement>, VariantProps<typeof tooltipVariants> {
|
|
936
|
-
text: string;
|
|
950
|
+
text: string | React_2.ReactNode;
|
|
937
951
|
sideOffset?: number;
|
|
938
952
|
}
|
|
939
953
|
|
|
@@ -963,6 +977,11 @@ export declare function useSortableData(initialData: TableDataProps[], defaultSo
|
|
|
963
977
|
sortData: (keyName: string) => void;
|
|
964
978
|
};
|
|
965
979
|
|
|
980
|
+
export declare const useTheme: () => {
|
|
981
|
+
theme: Theme;
|
|
982
|
+
toggleTheme: () => void;
|
|
983
|
+
};
|
|
984
|
+
|
|
966
985
|
export declare function useToast(): {
|
|
967
986
|
toast: typeof toast;
|
|
968
987
|
dismiss: (toastId?: string) => void;
|