@fileverse/ui 4.1.4-patch-2 → 4.1.4-patch-4
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 +198 -41
- package/dist/index.es.d.ts +21 -2
- package/dist/index.es.js +6729 -6648
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -433,7 +433,7 @@ video {
|
|
|
433
433
|
--color-bg-default-inverse: 0, 0%, 0%, 1; /* Black */
|
|
434
434
|
--color-bg-tertiary: 195, 10%, 92%, 1; /* Tertiary */
|
|
435
435
|
--color-bg-success-light: 124, 79%, 93%, 1; /* Green-100 */
|
|
436
|
-
|
|
436
|
+
|
|
437
437
|
/* Border */
|
|
438
438
|
--color-border-default: 195, 10%, 92%, 1; /* Gray-200 */
|
|
439
439
|
--color-border-hover: 0, 0%, 0%, 1; /* Black */
|
|
@@ -444,13 +444,14 @@ video {
|
|
|
444
444
|
--color-border-disabled: 206, 9%, 66%, 1; /* Gray-500 */
|
|
445
445
|
|
|
446
446
|
/* Icon */
|
|
447
|
-
--color-icon-default:
|
|
447
|
+
--color-icon-default: 0, 0%, 100%, 1; /* White */
|
|
448
448
|
--color-icon-default-hover: 207, 8%, 23%, 1; /* Gray-950 */
|
|
449
449
|
--color-icon-brand: 52, 100%, 52%, 1; /* Yellow-400 */
|
|
450
450
|
--color-icon-secondary: 208, 8%, 50%, 1; /* Gray-700 */
|
|
451
451
|
--color-icon-disabled: 206, 9%, 66%, 1; /* Gray-500 */
|
|
452
452
|
--color-icon-inverse: 0, 0%, 100%, 1; /* White */
|
|
453
453
|
--color-icon-danger: 354, 96%, 59%, 1; /* Red-500 */
|
|
454
|
+
--color-icon-success: 127, 69%, 29%, 1; /* Green-700 */
|
|
454
455
|
|
|
455
456
|
/* Utility */
|
|
456
457
|
--color-utility-overlay: 0, 0%, 0%, 0.72; /* Black 72% */
|
|
@@ -461,6 +462,67 @@ video {
|
|
|
461
462
|
--shadow-elevation-3: 0px 4px 16px rgba (0, 0, 0, 0.15);
|
|
462
463
|
--shadow-elevation-4: 0px 8px 32px rgba (0, 0, 0, 0.15);
|
|
463
464
|
}
|
|
465
|
+
|
|
466
|
+
.dark {
|
|
467
|
+
/* Button */
|
|
468
|
+
--color-button-default: 0, 0%, 31%, 1; /* Gray-700 */
|
|
469
|
+
--color-button-default-hover: 0, 0%, 25%, 1; /* Gray-800 */
|
|
470
|
+
--color-button-secondary: 0, 0%, 12%, 1; /* Gray-950 */
|
|
471
|
+
--color-button-secondary-hover: 0, 0%, 25%, 1; /* Gray-800 */
|
|
472
|
+
--color-button-disabled: 0, 0%, 31%, 1; /* Gray-200 */
|
|
473
|
+
--color-button-danger: 354, 96%, 59%, 1; /* Red-500 */
|
|
474
|
+
--color-button-danger-hover: 354, 84%, 42%, 1; /* Red-700 */
|
|
475
|
+
--color-button-floating: 0, 0%, 31%, 1; /* Gray-700 */
|
|
476
|
+
--color-button-floating-hover: 0, 0%, 25%, 1; /* Gray-800 */
|
|
477
|
+
|
|
478
|
+
/* Text */
|
|
479
|
+
--color-text-default: 0, 0%, 91%, 1; /* Gray-100 */
|
|
480
|
+
--color-text-secondary: 0, 0%, 53%, 1; /* Gray-400 */
|
|
481
|
+
--color-text-disabled: 0, 0%, 43%, 1; /* Gray-500 */
|
|
482
|
+
--color-text-danger: 354, 100%, 70%, 1; /* Red-400 */
|
|
483
|
+
--color-text-success: 127, 69%, 29%, 1; /* Green-700 */
|
|
484
|
+
--color-text-inverse: 0, 0%, 91%, 1; /* Gray-100 */
|
|
485
|
+
--color-text-link: 251, 100%, 83%, 1; /* Blue-700 */
|
|
486
|
+
|
|
487
|
+
/* Background */
|
|
488
|
+
--color-bg-default: 0, 0%, 18%, 1; /* Gray-900 */
|
|
489
|
+
--color-bg-default-hover: 0, 0%, 25%, 1; /* Gray-800 */
|
|
490
|
+
--color-bg-default-active: 50, 74%, 54%, 1; /* Yellow-400 */
|
|
491
|
+
--color-bg-default-selected: 0, 0%, 25%, 1; /* Gray-800 */
|
|
492
|
+
--color-bg-secondary: 0, 0%, 12%, 1; /* Gray-950 */
|
|
493
|
+
--color-bg-secondary-hover: 0, 0%, 18%, 1; /* Gray-900 */
|
|
494
|
+
--color-bg-disabled: 0, 0%, 53%, 1; /* Gray-400 */
|
|
495
|
+
--color-bg-brand: 50, 74%, 54%, 1; /* Yellow-400 */
|
|
496
|
+
--color-bg-brand-hover: 50, 60%, 45%, 1; /* Yellow-500 */
|
|
497
|
+
--color-bg-brand-light: 57, 92%, 76%, 1; /* Yellow-100 */
|
|
498
|
+
--color-bg-danger: 354, 100%, 89%, 1; /* Red-200 */
|
|
499
|
+
--color-bg-danger-light: 356, 100%, 97%, 1; /* Red-50 */
|
|
500
|
+
--color-bg-default-inverse: 0, 0%, 100%, 1; /* White */
|
|
501
|
+
--color-bg-tertiary: 0, 0%, 25%, 1; /* Gray-800 */
|
|
502
|
+
--color-bg-success-light: 124, 79%, 93%, 1; /* Green-100 */
|
|
503
|
+
|
|
504
|
+
/* Border */
|
|
505
|
+
--color-border-default: 0, 0%, 25%, 1; /* Gray-800 */
|
|
506
|
+
--color-border-hover: 0, 0%, 0%, 1; /* Black */
|
|
507
|
+
--color-border-light: 0, 0%, 100%, 1; /* White */
|
|
508
|
+
--color-border-active: 0, 0%, 100%, 1; /* Black */
|
|
509
|
+
--color-border-focused: 260, 100%, 52%, 1; /* Blue-700 */
|
|
510
|
+
--color-border-danger: 354, 100%, 70%, 1; /* Red-400 */
|
|
511
|
+
--color-border-disabled: 0, 0%, 53%, 1; /* Gray-400 */
|
|
512
|
+
|
|
513
|
+
/* Icon */
|
|
514
|
+
--color-icon-default: 0, 0%, 100%, 1; /* White */
|
|
515
|
+
--color-icon-default-hover: 0, 0%, 12%, 1; /* Gray-900 */
|
|
516
|
+
--color-icon-brand: 50, 74%, 54%, 1; /* Yellow-400 */
|
|
517
|
+
--color-icon-secondary: 0, 0%, 53%, 1; /* Gray-400 */
|
|
518
|
+
--color-icon-disabled: 0, 0%, 25%, 1; /* Gray-800 */
|
|
519
|
+
--color-icon-inverse: 207, 8%, 23%, 1; /* Gray-100 */
|
|
520
|
+
--color-icon-danger: 354, 96%, 59%, 1; /* Red-500 */
|
|
521
|
+
--color-icon-success: 127, 69%, 29%, 1; /* Green-700 */
|
|
522
|
+
|
|
523
|
+
/* Utility */
|
|
524
|
+
--color-utility-overlay: 0, 0%, 0%, 0.72; /* Black 72% */
|
|
525
|
+
}
|
|
464
526
|
* {
|
|
465
527
|
border-color: hsl(var(--color-border-default));
|
|
466
528
|
}
|
|
@@ -707,7 +769,7 @@ video {
|
|
|
707
769
|
}
|
|
708
770
|
|
|
709
771
|
.color-button-secondary {
|
|
710
|
-
background-color: hsl(var(--color-button-
|
|
772
|
+
background-color: hsl(var(--color-button-ghost));
|
|
711
773
|
border: 2px solid hsl(var(--color-border-active));
|
|
712
774
|
}
|
|
713
775
|
|
|
@@ -764,15 +826,15 @@ video {
|
|
|
764
826
|
}
|
|
765
827
|
|
|
766
828
|
.color-icon-default-hover {
|
|
767
|
-
|
|
829
|
+
color: hsl(var(--color-icon-default-hover));
|
|
768
830
|
}
|
|
769
831
|
|
|
770
832
|
.color-icon-brand {
|
|
771
|
-
|
|
833
|
+
color: hsl(var(--color-icon-brand));
|
|
772
834
|
}
|
|
773
835
|
|
|
774
836
|
.color-icon-secondary {
|
|
775
|
-
|
|
837
|
+
color: hsl(var(--color-icon-secondary));
|
|
776
838
|
}
|
|
777
839
|
|
|
778
840
|
.color-icon-disabled {
|
|
@@ -780,7 +842,7 @@ video {
|
|
|
780
842
|
}
|
|
781
843
|
|
|
782
844
|
.color-icon-inverse {
|
|
783
|
-
|
|
845
|
+
color: hsl(var(--color-icon-inverse));
|
|
784
846
|
}
|
|
785
847
|
|
|
786
848
|
.color-utility-overlay {
|
|
@@ -1014,6 +1076,9 @@ video {
|
|
|
1014
1076
|
.relative {
|
|
1015
1077
|
position: relative;
|
|
1016
1078
|
}
|
|
1079
|
+
.sticky {
|
|
1080
|
+
position: sticky;
|
|
1081
|
+
}
|
|
1017
1082
|
.inset-0 {
|
|
1018
1083
|
inset: 0px;
|
|
1019
1084
|
}
|
|
@@ -1100,9 +1165,18 @@ video {
|
|
|
1100
1165
|
.top-3 {
|
|
1101
1166
|
top: 0.75rem;
|
|
1102
1167
|
}
|
|
1168
|
+
.top-4 {
|
|
1169
|
+
top: 1rem;
|
|
1170
|
+
}
|
|
1171
|
+
.top-\[4rem\] {
|
|
1172
|
+
top: 4rem;
|
|
1173
|
+
}
|
|
1103
1174
|
.top-\[50\%\] {
|
|
1104
1175
|
top: 50%;
|
|
1105
1176
|
}
|
|
1177
|
+
.\!z-40 {
|
|
1178
|
+
z-index: 40 !important;
|
|
1179
|
+
}
|
|
1106
1180
|
.z-10 {
|
|
1107
1181
|
z-index: 10;
|
|
1108
1182
|
}
|
|
@@ -1185,6 +1259,9 @@ video {
|
|
|
1185
1259
|
.mt-4 {
|
|
1186
1260
|
margin-top: 1rem;
|
|
1187
1261
|
}
|
|
1262
|
+
.mt-5 {
|
|
1263
|
+
margin-top: 1.25rem;
|
|
1264
|
+
}
|
|
1188
1265
|
.line-clamp-5 {
|
|
1189
1266
|
overflow: hidden;
|
|
1190
1267
|
display: -webkit-box;
|
|
@@ -1263,9 +1340,15 @@ video {
|
|
|
1263
1340
|
.h-9 {
|
|
1264
1341
|
height: 2.25rem;
|
|
1265
1342
|
}
|
|
1343
|
+
.h-\[120px\] {
|
|
1344
|
+
height: 120px;
|
|
1345
|
+
}
|
|
1266
1346
|
.h-\[18px\] {
|
|
1267
1347
|
height: 18px;
|
|
1268
1348
|
}
|
|
1349
|
+
.h-\[200px\] {
|
|
1350
|
+
height: 200px;
|
|
1351
|
+
}
|
|
1269
1352
|
.h-\[208px\] {
|
|
1270
1353
|
height: 208px;
|
|
1271
1354
|
}
|
|
@@ -1293,6 +1376,9 @@ video {
|
|
|
1293
1376
|
.h-\[68px\] {
|
|
1294
1377
|
height: 68px;
|
|
1295
1378
|
}
|
|
1379
|
+
.h-\[85vh\] {
|
|
1380
|
+
height: 85vh;
|
|
1381
|
+
}
|
|
1296
1382
|
.h-\[calc\(100\%-1rem\)\] {
|
|
1297
1383
|
height: calc(100% - 1rem);
|
|
1298
1384
|
}
|
|
@@ -1357,12 +1443,18 @@ video {
|
|
|
1357
1443
|
.\!w-\[95\%\] {
|
|
1358
1444
|
width: 95% !important;
|
|
1359
1445
|
}
|
|
1446
|
+
.\!w-full {
|
|
1447
|
+
width: 100% !important;
|
|
1448
|
+
}
|
|
1360
1449
|
.w-10 {
|
|
1361
1450
|
width: 2.5rem;
|
|
1362
1451
|
}
|
|
1363
1452
|
.w-11 {
|
|
1364
1453
|
width: 2.75rem;
|
|
1365
1454
|
}
|
|
1455
|
+
.w-12 {
|
|
1456
|
+
width: 3rem;
|
|
1457
|
+
}
|
|
1366
1458
|
.w-16 {
|
|
1367
1459
|
width: 4rem;
|
|
1368
1460
|
}
|
|
@@ -1423,9 +1515,15 @@ video {
|
|
|
1423
1515
|
.w-\[18px\] {
|
|
1424
1516
|
width: 18px;
|
|
1425
1517
|
}
|
|
1518
|
+
.w-\[200px\] {
|
|
1519
|
+
width: 200px;
|
|
1520
|
+
}
|
|
1426
1521
|
.w-\[20px\] {
|
|
1427
1522
|
width: 20px;
|
|
1428
1523
|
}
|
|
1524
|
+
.w-\[250px\] {
|
|
1525
|
+
width: 250px;
|
|
1526
|
+
}
|
|
1429
1527
|
.w-\[280px\] {
|
|
1430
1528
|
width: 280px;
|
|
1431
1529
|
}
|
|
@@ -1694,9 +1792,17 @@ video {
|
|
|
1694
1792
|
-moz-user-select: none;
|
|
1695
1793
|
user-select: none;
|
|
1696
1794
|
}
|
|
1795
|
+
.select-text {
|
|
1796
|
+
-webkit-user-select: text;
|
|
1797
|
+
-moz-user-select: text;
|
|
1798
|
+
user-select: text;
|
|
1799
|
+
}
|
|
1697
1800
|
.resize-none {
|
|
1698
1801
|
resize: none;
|
|
1699
1802
|
}
|
|
1803
|
+
.list-disc {
|
|
1804
|
+
list-style-type: disc;
|
|
1805
|
+
}
|
|
1700
1806
|
.appearance-none {
|
|
1701
1807
|
-webkit-appearance: none;
|
|
1702
1808
|
-moz-appearance: none;
|
|
@@ -1711,6 +1817,9 @@ video {
|
|
|
1711
1817
|
.grid-cols-2 {
|
|
1712
1818
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1713
1819
|
}
|
|
1820
|
+
.grid-cols-3 {
|
|
1821
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
1822
|
+
}
|
|
1714
1823
|
.flex-row {
|
|
1715
1824
|
flex-direction: row;
|
|
1716
1825
|
}
|
|
@@ -1863,6 +1972,9 @@ video {
|
|
|
1863
1972
|
.\!rounded {
|
|
1864
1973
|
border-radius: 0.25rem !important;
|
|
1865
1974
|
}
|
|
1975
|
+
.\!rounded-lg {
|
|
1976
|
+
border-radius: var(--radius) !important;
|
|
1977
|
+
}
|
|
1866
1978
|
.\!rounded-none {
|
|
1867
1979
|
border-radius: 0px !important;
|
|
1868
1980
|
}
|
|
@@ -1939,9 +2051,6 @@ video {
|
|
|
1939
2051
|
.border-b-2 {
|
|
1940
2052
|
border-bottom-width: 2px;
|
|
1941
2053
|
}
|
|
1942
|
-
.border-b-\[0\.5px\] {
|
|
1943
|
-
border-bottom-width: 0.5px;
|
|
1944
|
-
}
|
|
1945
2054
|
.border-r {
|
|
1946
2055
|
border-right-width: 1px;
|
|
1947
2056
|
}
|
|
@@ -1991,9 +2100,6 @@ video {
|
|
|
1991
2100
|
--tw-bg-opacity: 1;
|
|
1992
2101
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
1993
2102
|
}
|
|
1994
|
-
.bg-opacity-50 {
|
|
1995
|
-
--tw-bg-opacity: 0.5;
|
|
1996
|
-
}
|
|
1997
2103
|
.bg-none {
|
|
1998
2104
|
background-image: none;
|
|
1999
2105
|
}
|
|
@@ -2011,12 +2117,18 @@ video {
|
|
|
2011
2117
|
.p-0 {
|
|
2012
2118
|
padding: 0px;
|
|
2013
2119
|
}
|
|
2120
|
+
.p-0\.5 {
|
|
2121
|
+
padding: 0.125rem;
|
|
2122
|
+
}
|
|
2014
2123
|
.p-1 {
|
|
2015
2124
|
padding: 0.25rem;
|
|
2016
2125
|
}
|
|
2017
2126
|
.p-2 {
|
|
2018
2127
|
padding: 0.5rem;
|
|
2019
2128
|
}
|
|
2129
|
+
.p-3 {
|
|
2130
|
+
padding: 0.75rem;
|
|
2131
|
+
}
|
|
2020
2132
|
.p-4 {
|
|
2021
2133
|
padding: 1rem;
|
|
2022
2134
|
}
|
|
@@ -2026,8 +2138,8 @@ video {
|
|
|
2026
2138
|
.p-6 {
|
|
2027
2139
|
padding: 1.5rem;
|
|
2028
2140
|
}
|
|
2029
|
-
.p-\[
|
|
2030
|
-
padding:
|
|
2141
|
+
.p-\[4px\] {
|
|
2142
|
+
padding: 4px;
|
|
2031
2143
|
}
|
|
2032
2144
|
.\!px-0 {
|
|
2033
2145
|
padding-left: 0px !important;
|
|
@@ -2126,6 +2238,9 @@ video {
|
|
|
2126
2238
|
.pl-2 {
|
|
2127
2239
|
padding-left: 0.5rem;
|
|
2128
2240
|
}
|
|
2241
|
+
.pl-6 {
|
|
2242
|
+
padding-left: 1.5rem;
|
|
2243
|
+
}
|
|
2129
2244
|
.pr-10 {
|
|
2130
2245
|
padding-right: 2.5rem;
|
|
2131
2246
|
}
|
|
@@ -2203,6 +2318,9 @@ video {
|
|
|
2203
2318
|
.leading-6 {
|
|
2204
2319
|
line-height: 1.5rem;
|
|
2205
2320
|
}
|
|
2321
|
+
.leading-\[20px\] {
|
|
2322
|
+
line-height: 20px;
|
|
2323
|
+
}
|
|
2206
2324
|
.leading-none {
|
|
2207
2325
|
line-height: 1;
|
|
2208
2326
|
}
|
|
@@ -2213,6 +2331,10 @@ video {
|
|
|
2213
2331
|
--tw-text-opacity: 1;
|
|
2214
2332
|
color: rgb(119 129 138 / var(--tw-text-opacity));
|
|
2215
2333
|
}
|
|
2334
|
+
.text-gray-400 {
|
|
2335
|
+
--tw-text-opacity: 1;
|
|
2336
|
+
color: rgb(156 163 175 / var(--tw-text-opacity));
|
|
2337
|
+
}
|
|
2216
2338
|
.text-red-500 {
|
|
2217
2339
|
--tw-text-opacity: 1;
|
|
2218
2340
|
color: rgb(239 68 68 / var(--tw-text-opacity));
|
|
@@ -2282,6 +2404,10 @@ video {
|
|
|
2282
2404
|
.ring-offset-white {
|
|
2283
2405
|
--tw-ring-offset-color: #fff;
|
|
2284
2406
|
}
|
|
2407
|
+
.drop-shadow {
|
|
2408
|
+
--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));
|
|
2409
|
+
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);
|
|
2410
|
+
}
|
|
2285
2411
|
.filter {
|
|
2286
2412
|
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
2413
|
}
|
|
@@ -2488,10 +2614,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2488
2614
|
background-color: hsl(var(--color-bg-secondary-hover));
|
|
2489
2615
|
}
|
|
2490
2616
|
|
|
2491
|
-
.hover\:color-bg-disabled:hover {
|
|
2492
|
-
background-color: hsl(var(--color-bg-disabled));
|
|
2493
|
-
}
|
|
2494
|
-
|
|
2495
2617
|
.hover\:\!color-bg-brand:hover {
|
|
2496
2618
|
background-color: hsl(var(--color-bg-brand)) !important;
|
|
2497
2619
|
}
|
|
@@ -2520,14 +2642,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2520
2642
|
border-color: hsl(var(--color-border-hover));
|
|
2521
2643
|
}
|
|
2522
2644
|
|
|
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
2645
|
.focus-visible\:color-border-hover:focus-visible {
|
|
2532
2646
|
border-color: hsl(var(--color-border-hover));
|
|
2533
2647
|
}
|
|
@@ -2592,6 +2706,14 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2592
2706
|
border-color: hsl(var(--color-border-default));
|
|
2593
2707
|
}
|
|
2594
2708
|
|
|
2709
|
+
.group.secondary .group-\[\.secondary\]\:color-border-default {
|
|
2710
|
+
border-color: hsl(var(--color-border-default));
|
|
2711
|
+
}
|
|
2712
|
+
|
|
2713
|
+
.group.success .group-\[\.success\]\:color-border-default {
|
|
2714
|
+
border-color: hsl(var(--color-border-default));
|
|
2715
|
+
}
|
|
2716
|
+
|
|
2595
2717
|
.group.secondary .group-\[\.secondary\]\:color-border-hover {
|
|
2596
2718
|
border-color: hsl(var(--color-border-hover));
|
|
2597
2719
|
}
|
|
@@ -2644,6 +2766,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2644
2766
|
background-color: hsl(var(--color-bg-default-selected));
|
|
2645
2767
|
}
|
|
2646
2768
|
|
|
2769
|
+
.data-\[highlighted\]\:color-text-default[data-highlighted] {
|
|
2770
|
+
color: hsl(var(--color-text-default));
|
|
2771
|
+
}
|
|
2772
|
+
|
|
2647
2773
|
.data-\[state\=active\]\:color-text-default[data-state=active] {
|
|
2648
2774
|
color: hsl(var(--color-text-default));
|
|
2649
2775
|
}
|
|
@@ -2652,16 +2778,24 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2652
2778
|
color: hsl(var(--color-text-default));
|
|
2653
2779
|
}
|
|
2654
2780
|
|
|
2781
|
+
.data-\[disabled\]\:color-text-disabled[data-disabled] {
|
|
2782
|
+
color: hsl(var(--color-text-disabled));
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2655
2785
|
.data-\[state\=unchecked\]\:color-bg-default-hover[data-state=unchecked] {
|
|
2656
2786
|
background-color: hsl(var(--color-bg-default-hover));
|
|
2657
2787
|
}
|
|
2658
2788
|
|
|
2789
|
+
.data-\[highlighted\]\:color-bg-default-selected[data-highlighted] {
|
|
2790
|
+
background-color: hsl(var(--color-bg-default-selected));
|
|
2791
|
+
}
|
|
2792
|
+
|
|
2659
2793
|
.data-\[state\=open\]\:color-bg-default-selected[data-state=open] {
|
|
2660
2794
|
background-color: hsl(var(--color-bg-default-selected));
|
|
2661
2795
|
}
|
|
2662
2796
|
|
|
2663
|
-
.data-\[state\=selected\]\:color-bg-
|
|
2664
|
-
background-color: hsl(var(--color-bg-
|
|
2797
|
+
.data-\[state\=selected\]\:color-bg-default-selected[data-state=selected] {
|
|
2798
|
+
background-color: hsl(var(--color-bg-default-selected));
|
|
2665
2799
|
}
|
|
2666
2800
|
|
|
2667
2801
|
.data-\[state\=checked\]\:color-bg-brand-hover[data-state=checked] {
|
|
@@ -2680,6 +2814,14 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2680
2814
|
background-color: hsl(var(--color-bg-brand-hover));
|
|
2681
2815
|
}
|
|
2682
2816
|
|
|
2817
|
+
.dark\:color-bg-disabled:is(.dark *) {
|
|
2818
|
+
background-color: hsl(var(--color-bg-disabled));
|
|
2819
|
+
}
|
|
2820
|
+
|
|
2821
|
+
.dark\:data-\[state\=active\]\:color-border-light[data-state=active]:is(.dark *) {
|
|
2822
|
+
border-color: hsl(var(--color-border-light));
|
|
2823
|
+
}
|
|
2824
|
+
|
|
2683
2825
|
@media (min-width: 1024px) {
|
|
2684
2826
|
|
|
2685
2827
|
.lg\:\!text-heading-2xlg {
|
|
@@ -2716,6 +2858,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2716
2858
|
color: hsl(var(--color-text-disabled));
|
|
2717
2859
|
}
|
|
2718
2860
|
|
|
2861
|
+
.\[\&_tr\]\:color-border-default tr {
|
|
2862
|
+
border-color: hsl(var(--color-border-default));
|
|
2863
|
+
}
|
|
2864
|
+
|
|
2719
2865
|
.data-\[state\=unchecked\]\:toggle-default[data-state=unchecked] {
|
|
2720
2866
|
background-color: hsl(var(--color-bg-disabled));
|
|
2721
2867
|
}
|
|
@@ -2756,10 +2902,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2756
2902
|
background-color: transparent;
|
|
2757
2903
|
}
|
|
2758
2904
|
|
|
2759
|
-
.hover\:bg-opacity-50:hover {
|
|
2760
|
-
--tw-bg-opacity: 0.5;
|
|
2761
|
-
}
|
|
2762
|
-
|
|
2763
2905
|
.hover\:opacity-90:hover {
|
|
2764
2906
|
opacity: 0.9;
|
|
2765
2907
|
}
|
|
@@ -2972,14 +3114,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2972
3114
|
border-color: transparent;
|
|
2973
3115
|
}
|
|
2974
3116
|
|
|
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
3117
|
.data-\[swipe\=move\]\:transition-none[data-swipe=move] {
|
|
2984
3118
|
transition-property: none;
|
|
2985
3119
|
}
|
|
@@ -3138,6 +3272,25 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3138
3272
|
animation-duration: 500ms;
|
|
3139
3273
|
}
|
|
3140
3274
|
|
|
3275
|
+
.dark\:bg-\[\#000\]:is(.dark *) {
|
|
3276
|
+
--tw-bg-opacity: 1;
|
|
3277
|
+
background-color: rgb(0 0 0 / var(--tw-bg-opacity));
|
|
3278
|
+
}
|
|
3279
|
+
|
|
3280
|
+
.dark\:stroke-black:is(.dark *) {
|
|
3281
|
+
stroke: #000;
|
|
3282
|
+
}
|
|
3283
|
+
|
|
3284
|
+
.dark\:\!text-\[\#363B3F\]:is(.dark *) {
|
|
3285
|
+
--tw-text-opacity: 1 !important;
|
|
3286
|
+
color: rgb(54 59 63 / var(--tw-text-opacity)) !important;
|
|
3287
|
+
}
|
|
3288
|
+
|
|
3289
|
+
.dark\:text-\[\#363B3F\]:is(.dark *) {
|
|
3290
|
+
--tw-text-opacity: 1;
|
|
3291
|
+
color: rgb(54 59 63 / var(--tw-text-opacity));
|
|
3292
|
+
}
|
|
3293
|
+
|
|
3141
3294
|
@media (min-width: 640px) {
|
|
3142
3295
|
|
|
3143
3296
|
.sm\:max-w-fit {
|
|
@@ -3178,6 +3331,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3178
3331
|
|
|
3179
3332
|
@media (min-width: 768px) {
|
|
3180
3333
|
|
|
3334
|
+
.md\:\!right-4 {
|
|
3335
|
+
right: 1rem !important;
|
|
3336
|
+
}
|
|
3337
|
+
|
|
3181
3338
|
.md\:block {
|
|
3182
3339
|
display: block;
|
|
3183
3340
|
}
|
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;
|
|
@@ -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;
|