@fileverse/ui 4.1.5 → 4.1.6
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 +216 -43
- package/dist/index.es.d.ts +21 -2
- package/dist/index.es.js +19942 -17590
- package/package.json +2 -2
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
|
}
|
|
@@ -1339,6 +1431,9 @@ video {
|
|
|
1339
1431
|
.min-h-10 {
|
|
1340
1432
|
min-height: 2.5rem;
|
|
1341
1433
|
}
|
|
1434
|
+
.min-h-7 {
|
|
1435
|
+
min-height: 1.75rem;
|
|
1436
|
+
}
|
|
1342
1437
|
.min-h-9 {
|
|
1343
1438
|
min-height: 2.25rem;
|
|
1344
1439
|
}
|
|
@@ -1357,12 +1452,18 @@ video {
|
|
|
1357
1452
|
.\!w-\[95\%\] {
|
|
1358
1453
|
width: 95% !important;
|
|
1359
1454
|
}
|
|
1455
|
+
.\!w-full {
|
|
1456
|
+
width: 100% !important;
|
|
1457
|
+
}
|
|
1360
1458
|
.w-10 {
|
|
1361
1459
|
width: 2.5rem;
|
|
1362
1460
|
}
|
|
1363
1461
|
.w-11 {
|
|
1364
1462
|
width: 2.75rem;
|
|
1365
1463
|
}
|
|
1464
|
+
.w-12 {
|
|
1465
|
+
width: 3rem;
|
|
1466
|
+
}
|
|
1366
1467
|
.w-16 {
|
|
1367
1468
|
width: 4rem;
|
|
1368
1469
|
}
|
|
@@ -1396,6 +1497,9 @@ video {
|
|
|
1396
1497
|
.w-64 {
|
|
1397
1498
|
width: 16rem;
|
|
1398
1499
|
}
|
|
1500
|
+
.w-7 {
|
|
1501
|
+
width: 1.75rem;
|
|
1502
|
+
}
|
|
1399
1503
|
.w-72 {
|
|
1400
1504
|
width: 18rem;
|
|
1401
1505
|
}
|
|
@@ -1423,9 +1527,15 @@ video {
|
|
|
1423
1527
|
.w-\[18px\] {
|
|
1424
1528
|
width: 18px;
|
|
1425
1529
|
}
|
|
1530
|
+
.w-\[200px\] {
|
|
1531
|
+
width: 200px;
|
|
1532
|
+
}
|
|
1426
1533
|
.w-\[20px\] {
|
|
1427
1534
|
width: 20px;
|
|
1428
1535
|
}
|
|
1536
|
+
.w-\[250px\] {
|
|
1537
|
+
width: 250px;
|
|
1538
|
+
}
|
|
1429
1539
|
.w-\[280px\] {
|
|
1430
1540
|
width: 280px;
|
|
1431
1541
|
}
|
|
@@ -1496,6 +1606,9 @@ video {
|
|
|
1496
1606
|
.min-w-5 {
|
|
1497
1607
|
min-width: 1.25rem;
|
|
1498
1608
|
}
|
|
1609
|
+
.min-w-7 {
|
|
1610
|
+
min-width: 1.75rem;
|
|
1611
|
+
}
|
|
1499
1612
|
.min-w-9 {
|
|
1500
1613
|
min-width: 2.25rem;
|
|
1501
1614
|
}
|
|
@@ -1694,9 +1807,17 @@ video {
|
|
|
1694
1807
|
-moz-user-select: none;
|
|
1695
1808
|
user-select: none;
|
|
1696
1809
|
}
|
|
1810
|
+
.select-text {
|
|
1811
|
+
-webkit-user-select: text;
|
|
1812
|
+
-moz-user-select: text;
|
|
1813
|
+
user-select: text;
|
|
1814
|
+
}
|
|
1697
1815
|
.resize-none {
|
|
1698
1816
|
resize: none;
|
|
1699
1817
|
}
|
|
1818
|
+
.list-disc {
|
|
1819
|
+
list-style-type: disc;
|
|
1820
|
+
}
|
|
1700
1821
|
.appearance-none {
|
|
1701
1822
|
-webkit-appearance: none;
|
|
1702
1823
|
-moz-appearance: none;
|
|
@@ -1711,6 +1832,9 @@ video {
|
|
|
1711
1832
|
.grid-cols-2 {
|
|
1712
1833
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1713
1834
|
}
|
|
1835
|
+
.grid-cols-3 {
|
|
1836
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
1837
|
+
}
|
|
1714
1838
|
.flex-row {
|
|
1715
1839
|
flex-direction: row;
|
|
1716
1840
|
}
|
|
@@ -1863,6 +1987,9 @@ video {
|
|
|
1863
1987
|
.\!rounded {
|
|
1864
1988
|
border-radius: 0.25rem !important;
|
|
1865
1989
|
}
|
|
1990
|
+
.\!rounded-lg {
|
|
1991
|
+
border-radius: var(--radius) !important;
|
|
1992
|
+
}
|
|
1866
1993
|
.\!rounded-none {
|
|
1867
1994
|
border-radius: 0px !important;
|
|
1868
1995
|
}
|
|
@@ -1939,9 +2066,6 @@ video {
|
|
|
1939
2066
|
.border-b-2 {
|
|
1940
2067
|
border-bottom-width: 2px;
|
|
1941
2068
|
}
|
|
1942
|
-
.border-b-\[0\.5px\] {
|
|
1943
|
-
border-bottom-width: 0.5px;
|
|
1944
|
-
}
|
|
1945
2069
|
.border-r {
|
|
1946
2070
|
border-right-width: 1px;
|
|
1947
2071
|
}
|
|
@@ -1991,9 +2115,6 @@ video {
|
|
|
1991
2115
|
--tw-bg-opacity: 1;
|
|
1992
2116
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
1993
2117
|
}
|
|
1994
|
-
.bg-opacity-50 {
|
|
1995
|
-
--tw-bg-opacity: 0.5;
|
|
1996
|
-
}
|
|
1997
2118
|
.bg-none {
|
|
1998
2119
|
background-image: none;
|
|
1999
2120
|
}
|
|
@@ -2011,12 +2132,18 @@ video {
|
|
|
2011
2132
|
.p-0 {
|
|
2012
2133
|
padding: 0px;
|
|
2013
2134
|
}
|
|
2135
|
+
.p-0\.5 {
|
|
2136
|
+
padding: 0.125rem;
|
|
2137
|
+
}
|
|
2014
2138
|
.p-1 {
|
|
2015
2139
|
padding: 0.25rem;
|
|
2016
2140
|
}
|
|
2017
2141
|
.p-2 {
|
|
2018
2142
|
padding: 0.5rem;
|
|
2019
2143
|
}
|
|
2144
|
+
.p-3 {
|
|
2145
|
+
padding: 0.75rem;
|
|
2146
|
+
}
|
|
2020
2147
|
.p-4 {
|
|
2021
2148
|
padding: 1rem;
|
|
2022
2149
|
}
|
|
@@ -2026,8 +2153,8 @@ video {
|
|
|
2026
2153
|
.p-6 {
|
|
2027
2154
|
padding: 1.5rem;
|
|
2028
2155
|
}
|
|
2029
|
-
.p-\[
|
|
2030
|
-
padding:
|
|
2156
|
+
.p-\[4px\] {
|
|
2157
|
+
padding: 4px;
|
|
2031
2158
|
}
|
|
2032
2159
|
.\!px-0 {
|
|
2033
2160
|
padding-left: 0px !important;
|
|
@@ -2126,6 +2253,9 @@ video {
|
|
|
2126
2253
|
.pl-2 {
|
|
2127
2254
|
padding-left: 0.5rem;
|
|
2128
2255
|
}
|
|
2256
|
+
.pl-6 {
|
|
2257
|
+
padding-left: 1.5rem;
|
|
2258
|
+
}
|
|
2129
2259
|
.pr-10 {
|
|
2130
2260
|
padding-right: 2.5rem;
|
|
2131
2261
|
}
|
|
@@ -2144,9 +2274,6 @@ video {
|
|
|
2144
2274
|
.pt-4 {
|
|
2145
2275
|
padding-top: 1rem;
|
|
2146
2276
|
}
|
|
2147
|
-
.pt-6 {
|
|
2148
|
-
padding-top: 1.5rem;
|
|
2149
|
-
}
|
|
2150
2277
|
.text-left {
|
|
2151
2278
|
text-align: left;
|
|
2152
2279
|
}
|
|
@@ -2185,6 +2312,10 @@ video {
|
|
|
2185
2312
|
font-size: 0.875rem;
|
|
2186
2313
|
line-height: 1.25rem;
|
|
2187
2314
|
}
|
|
2315
|
+
.text-xs {
|
|
2316
|
+
font-size: 0.75rem;
|
|
2317
|
+
line-height: 1rem;
|
|
2318
|
+
}
|
|
2188
2319
|
.\!font-bold {
|
|
2189
2320
|
font-weight: 700 !important;
|
|
2190
2321
|
}
|
|
@@ -2203,6 +2334,9 @@ video {
|
|
|
2203
2334
|
.leading-6 {
|
|
2204
2335
|
line-height: 1.5rem;
|
|
2205
2336
|
}
|
|
2337
|
+
.leading-\[20px\] {
|
|
2338
|
+
line-height: 20px;
|
|
2339
|
+
}
|
|
2206
2340
|
.leading-none {
|
|
2207
2341
|
line-height: 1;
|
|
2208
2342
|
}
|
|
@@ -2213,6 +2347,10 @@ video {
|
|
|
2213
2347
|
--tw-text-opacity: 1;
|
|
2214
2348
|
color: rgb(119 129 138 / var(--tw-text-opacity));
|
|
2215
2349
|
}
|
|
2350
|
+
.text-gray-400 {
|
|
2351
|
+
--tw-text-opacity: 1;
|
|
2352
|
+
color: rgb(156 163 175 / var(--tw-text-opacity));
|
|
2353
|
+
}
|
|
2216
2354
|
.text-red-500 {
|
|
2217
2355
|
--tw-text-opacity: 1;
|
|
2218
2356
|
color: rgb(239 68 68 / var(--tw-text-opacity));
|
|
@@ -2282,6 +2420,10 @@ video {
|
|
|
2282
2420
|
.ring-offset-white {
|
|
2283
2421
|
--tw-ring-offset-color: #fff;
|
|
2284
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
|
+
}
|
|
2285
2427
|
.filter {
|
|
2286
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);
|
|
2287
2429
|
}
|
|
@@ -2488,10 +2630,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2488
2630
|
background-color: hsl(var(--color-bg-secondary-hover));
|
|
2489
2631
|
}
|
|
2490
2632
|
|
|
2491
|
-
.hover\:color-bg-disabled:hover {
|
|
2492
|
-
background-color: hsl(var(--color-bg-disabled));
|
|
2493
|
-
}
|
|
2494
|
-
|
|
2495
2633
|
.hover\:\!color-bg-brand:hover {
|
|
2496
2634
|
background-color: hsl(var(--color-bg-brand)) !important;
|
|
2497
2635
|
}
|
|
@@ -2520,14 +2658,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2520
2658
|
border-color: hsl(var(--color-border-hover));
|
|
2521
2659
|
}
|
|
2522
2660
|
|
|
2523
|
-
.focus\:color-text-default:focus {
|
|
2524
|
-
color: hsl(var(--color-text-default));
|
|
2525
|
-
}
|
|
2526
|
-
|
|
2527
|
-
.focus\:color-bg-default-selected:focus {
|
|
2528
|
-
background-color: hsl(var(--color-bg-default-selected));
|
|
2529
|
-
}
|
|
2530
|
-
|
|
2531
2661
|
.focus-visible\:color-border-hover:focus-visible {
|
|
2532
2662
|
border-color: hsl(var(--color-border-hover));
|
|
2533
2663
|
}
|
|
@@ -2592,6 +2722,14 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2592
2722
|
border-color: hsl(var(--color-border-default));
|
|
2593
2723
|
}
|
|
2594
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
|
+
|
|
2595
2733
|
.group.secondary .group-\[\.secondary\]\:color-border-hover {
|
|
2596
2734
|
border-color: hsl(var(--color-border-hover));
|
|
2597
2735
|
}
|
|
@@ -2644,6 +2782,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2644
2782
|
background-color: hsl(var(--color-bg-default-selected));
|
|
2645
2783
|
}
|
|
2646
2784
|
|
|
2785
|
+
.data-\[highlighted\]\:color-text-default[data-highlighted] {
|
|
2786
|
+
color: hsl(var(--color-text-default));
|
|
2787
|
+
}
|
|
2788
|
+
|
|
2647
2789
|
.data-\[state\=active\]\:color-text-default[data-state=active] {
|
|
2648
2790
|
color: hsl(var(--color-text-default));
|
|
2649
2791
|
}
|
|
@@ -2652,16 +2794,24 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2652
2794
|
color: hsl(var(--color-text-default));
|
|
2653
2795
|
}
|
|
2654
2796
|
|
|
2797
|
+
.data-\[disabled\]\:color-text-disabled[data-disabled] {
|
|
2798
|
+
color: hsl(var(--color-text-disabled));
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2655
2801
|
.data-\[state\=unchecked\]\:color-bg-default-hover[data-state=unchecked] {
|
|
2656
2802
|
background-color: hsl(var(--color-bg-default-hover));
|
|
2657
2803
|
}
|
|
2658
2804
|
|
|
2805
|
+
.data-\[highlighted\]\:color-bg-default-selected[data-highlighted] {
|
|
2806
|
+
background-color: hsl(var(--color-bg-default-selected));
|
|
2807
|
+
}
|
|
2808
|
+
|
|
2659
2809
|
.data-\[state\=open\]\:color-bg-default-selected[data-state=open] {
|
|
2660
2810
|
background-color: hsl(var(--color-bg-default-selected));
|
|
2661
2811
|
}
|
|
2662
2812
|
|
|
2663
|
-
.data-\[state\=selected\]\:color-bg-
|
|
2664
|
-
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));
|
|
2665
2815
|
}
|
|
2666
2816
|
|
|
2667
2817
|
.data-\[state\=checked\]\:color-bg-brand-hover[data-state=checked] {
|
|
@@ -2680,6 +2830,14 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2680
2830
|
background-color: hsl(var(--color-bg-brand-hover));
|
|
2681
2831
|
}
|
|
2682
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
|
+
|
|
2683
2841
|
@media (min-width: 1024px) {
|
|
2684
2842
|
|
|
2685
2843
|
.lg\:\!text-heading-2xlg {
|
|
@@ -2716,6 +2874,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2716
2874
|
color: hsl(var(--color-text-disabled));
|
|
2717
2875
|
}
|
|
2718
2876
|
|
|
2877
|
+
.\[\&_tr\]\:color-border-default tr {
|
|
2878
|
+
border-color: hsl(var(--color-border-default));
|
|
2879
|
+
}
|
|
2880
|
+
|
|
2719
2881
|
.data-\[state\=unchecked\]\:toggle-default[data-state=unchecked] {
|
|
2720
2882
|
background-color: hsl(var(--color-bg-disabled));
|
|
2721
2883
|
}
|
|
@@ -2756,10 +2918,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2756
2918
|
background-color: transparent;
|
|
2757
2919
|
}
|
|
2758
2920
|
|
|
2759
|
-
.hover\:bg-opacity-50:hover {
|
|
2760
|
-
--tw-bg-opacity: 0.5;
|
|
2761
|
-
}
|
|
2762
|
-
|
|
2763
2921
|
.hover\:opacity-90:hover {
|
|
2764
2922
|
opacity: 0.9;
|
|
2765
2923
|
}
|
|
@@ -2972,14 +3130,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2972
3130
|
border-color: transparent;
|
|
2973
3131
|
}
|
|
2974
3132
|
|
|
2975
|
-
.data-\[state\=active\]\:bg-none[data-state=active] {
|
|
2976
|
-
background-image: none;
|
|
2977
|
-
}
|
|
2978
|
-
|
|
2979
|
-
.data-\[disabled\]\:opacity-50[data-disabled] {
|
|
2980
|
-
opacity: 0.5;
|
|
2981
|
-
}
|
|
2982
|
-
|
|
2983
3133
|
.data-\[swipe\=move\]\:transition-none[data-swipe=move] {
|
|
2984
3134
|
transition-property: none;
|
|
2985
3135
|
}
|
|
@@ -3138,6 +3288,25 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3138
3288
|
animation-duration: 500ms;
|
|
3139
3289
|
}
|
|
3140
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
|
+
|
|
3141
3310
|
@media (min-width: 640px) {
|
|
3142
3311
|
|
|
3143
3312
|
.sm\:max-w-fit {
|
|
@@ -3178,6 +3347,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3178
3347
|
|
|
3179
3348
|
@media (min-width: 768px) {
|
|
3180
3349
|
|
|
3350
|
+
.md\:\!right-4 {
|
|
3351
|
+
right: 1rem !important;
|
|
3352
|
+
}
|
|
3353
|
+
|
|
3181
3354
|
.md\:block {
|
|
3182
3355
|
display: block;
|
|
3183
3356
|
}
|
package/dist/index.es.d.ts
CHANGED
|
@@ -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;
|