adminium 1.0.1-patch.2 → 1.0.1-patch.3
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 +186 -76
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +26 -24
- package/dist/index.d.ts +26 -24
- package/dist/index.js +176 -71
- package/dist/index.js.map +1 -1
- package/dist/styles/adminium.css +296 -16
- package/package.json +3 -1
package/dist/styles/adminium.css
CHANGED
|
@@ -106,6 +106,8 @@
|
|
|
106
106
|
--font-weight-bold: 700;
|
|
107
107
|
--tracking-tight: -0.025em;
|
|
108
108
|
--tracking-widest: 0.1em;
|
|
109
|
+
--leading-snug: 1.375;
|
|
110
|
+
--leading-normal: 1.5;
|
|
109
111
|
--leading-relaxed: 1.625;
|
|
110
112
|
--radius-xs: 0.125rem;
|
|
111
113
|
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
@@ -268,6 +270,10 @@
|
|
|
268
270
|
}
|
|
269
271
|
}
|
|
270
272
|
@layer utilities {
|
|
273
|
+
.\@container\/field-group {
|
|
274
|
+
container-type: inline-size;
|
|
275
|
+
container-name: field-group;
|
|
276
|
+
}
|
|
271
277
|
.pointer-events-none {
|
|
272
278
|
pointer-events: none;
|
|
273
279
|
}
|
|
@@ -432,9 +438,15 @@
|
|
|
432
438
|
.-mx-2 {
|
|
433
439
|
margin-inline: calc(var(--spacing) * -2);
|
|
434
440
|
}
|
|
441
|
+
.mx-1 {
|
|
442
|
+
margin-inline: calc(var(--spacing) * 1);
|
|
443
|
+
}
|
|
435
444
|
.mx-auto {
|
|
436
445
|
margin-inline: auto;
|
|
437
446
|
}
|
|
447
|
+
.-my-2 {
|
|
448
|
+
margin-block: calc(var(--spacing) * -2);
|
|
449
|
+
}
|
|
438
450
|
.my-1 {
|
|
439
451
|
margin-block: calc(var(--spacing) * 1);
|
|
440
452
|
}
|
|
@@ -444,6 +456,9 @@
|
|
|
444
456
|
.my-2 {
|
|
445
457
|
margin-block: calc(var(--spacing) * 2);
|
|
446
458
|
}
|
|
459
|
+
.my-4 {
|
|
460
|
+
margin-block: calc(var(--spacing) * 4);
|
|
461
|
+
}
|
|
447
462
|
.-ms-2 {
|
|
448
463
|
margin-inline-start: calc(var(--spacing) * -2);
|
|
449
464
|
}
|
|
@@ -456,9 +471,6 @@
|
|
|
456
471
|
.-me-1 {
|
|
457
472
|
margin-inline-end: calc(var(--spacing) * -1);
|
|
458
473
|
}
|
|
459
|
-
.-mt-0\.5 {
|
|
460
|
-
margin-top: calc(var(--spacing) * -0.5);
|
|
461
|
-
}
|
|
462
474
|
.-mt-16 {
|
|
463
475
|
margin-top: calc(var(--spacing) * -16);
|
|
464
476
|
}
|
|
@@ -653,6 +665,13 @@
|
|
|
653
665
|
width: 0.7rem !important;
|
|
654
666
|
height: 0.7rem !important;
|
|
655
667
|
}
|
|
668
|
+
.size-full {
|
|
669
|
+
width: 100%;
|
|
670
|
+
height: 100%;
|
|
671
|
+
}
|
|
672
|
+
.h-0 {
|
|
673
|
+
height: calc(var(--spacing) * 0);
|
|
674
|
+
}
|
|
656
675
|
.h-1\.5 {
|
|
657
676
|
height: calc(var(--spacing) * 1.5);
|
|
658
677
|
}
|
|
@@ -683,6 +702,9 @@
|
|
|
683
702
|
.h-8\.5 {
|
|
684
703
|
height: calc(var(--spacing) * 8.5);
|
|
685
704
|
}
|
|
705
|
+
.h-9 {
|
|
706
|
+
height: calc(var(--spacing) * 9);
|
|
707
|
+
}
|
|
686
708
|
.h-10 {
|
|
687
709
|
height: calc(var(--spacing) * 10);
|
|
688
710
|
}
|
|
@@ -698,6 +720,9 @@
|
|
|
698
720
|
.h-24 {
|
|
699
721
|
height: calc(var(--spacing) * 24);
|
|
700
722
|
}
|
|
723
|
+
.h-25 {
|
|
724
|
+
height: calc(var(--spacing) * 25);
|
|
725
|
+
}
|
|
701
726
|
.h-32 {
|
|
702
727
|
height: calc(var(--spacing) * 32);
|
|
703
728
|
}
|
|
@@ -728,6 +753,15 @@
|
|
|
728
753
|
.h-125 {
|
|
729
754
|
height: calc(var(--spacing) * 125);
|
|
730
755
|
}
|
|
756
|
+
.h-\[2px\] {
|
|
757
|
+
height: 2px;
|
|
758
|
+
}
|
|
759
|
+
.h-\[100px\] {
|
|
760
|
+
height: 100px;
|
|
761
|
+
}
|
|
762
|
+
.h-\[200px\] {
|
|
763
|
+
height: 200px;
|
|
764
|
+
}
|
|
731
765
|
.h-\[calc\(100vh-300px\)\] {
|
|
732
766
|
height: calc(100vh - 300px);
|
|
733
767
|
}
|
|
@@ -770,9 +804,6 @@
|
|
|
770
804
|
.min-h-20 {
|
|
771
805
|
min-height: calc(var(--spacing) * 20);
|
|
772
806
|
}
|
|
773
|
-
.min-h-25 {
|
|
774
|
-
min-height: calc(var(--spacing) * 25);
|
|
775
|
-
}
|
|
776
807
|
.min-h-80 {
|
|
777
808
|
min-height: calc(var(--spacing) * 80);
|
|
778
809
|
}
|
|
@@ -860,6 +891,9 @@
|
|
|
860
891
|
.w-44 {
|
|
861
892
|
width: calc(var(--spacing) * 44);
|
|
862
893
|
}
|
|
894
|
+
.w-45 {
|
|
895
|
+
width: calc(var(--spacing) * 45);
|
|
896
|
+
}
|
|
863
897
|
.w-48 {
|
|
864
898
|
width: calc(var(--spacing) * 48);
|
|
865
899
|
}
|
|
@@ -887,6 +921,9 @@
|
|
|
887
921
|
.w-100 {
|
|
888
922
|
width: calc(var(--spacing) * 100);
|
|
889
923
|
}
|
|
924
|
+
.w-128 {
|
|
925
|
+
width: calc(var(--spacing) * 128);
|
|
926
|
+
}
|
|
890
927
|
.w-150 {
|
|
891
928
|
width: calc(var(--spacing) * 150);
|
|
892
929
|
}
|
|
@@ -908,6 +945,9 @@
|
|
|
908
945
|
.w-\[100px\] {
|
|
909
946
|
width: 100px;
|
|
910
947
|
}
|
|
948
|
+
.w-\[180px\] {
|
|
949
|
+
width: 180px;
|
|
950
|
+
}
|
|
911
951
|
.w-\[200px\] {
|
|
912
952
|
width: 200px;
|
|
913
953
|
}
|
|
@@ -932,9 +972,18 @@
|
|
|
932
972
|
.w-full {
|
|
933
973
|
width: 100%;
|
|
934
974
|
}
|
|
975
|
+
.w-lg {
|
|
976
|
+
width: var(--container-lg);
|
|
977
|
+
}
|
|
935
978
|
.w-max {
|
|
936
979
|
width: max-content;
|
|
937
980
|
}
|
|
981
|
+
.w-px {
|
|
982
|
+
width: 1px;
|
|
983
|
+
}
|
|
984
|
+
.w-xl {
|
|
985
|
+
width: var(--container-xl);
|
|
986
|
+
}
|
|
938
987
|
.max-w-2xl {
|
|
939
988
|
max-width: var(--container-2xl);
|
|
940
989
|
}
|
|
@@ -947,12 +996,21 @@
|
|
|
947
996
|
.max-w-6xl {
|
|
948
997
|
max-width: var(--container-6xl);
|
|
949
998
|
}
|
|
999
|
+
.max-w-50 {
|
|
1000
|
+
max-width: calc(var(--spacing) * 50);
|
|
1001
|
+
}
|
|
950
1002
|
.max-w-\[70\%\] {
|
|
951
1003
|
max-width: 70%;
|
|
952
1004
|
}
|
|
953
1005
|
.max-w-\[80\%\] {
|
|
954
1006
|
max-width: 80%;
|
|
955
1007
|
}
|
|
1008
|
+
.max-w-\[200px\] {
|
|
1009
|
+
max-width: 200px;
|
|
1010
|
+
}
|
|
1011
|
+
.max-w-\[300px\] {
|
|
1012
|
+
max-width: 300px;
|
|
1013
|
+
}
|
|
956
1014
|
.max-w-full {
|
|
957
1015
|
max-width: 100%;
|
|
958
1016
|
}
|
|
@@ -998,6 +1056,9 @@
|
|
|
998
1056
|
.min-w-\[50px\] {
|
|
999
1057
|
min-width: 50px;
|
|
1000
1058
|
}
|
|
1059
|
+
.min-w-\[120px\] {
|
|
1060
|
+
min-width: 120px;
|
|
1061
|
+
}
|
|
1001
1062
|
.min-w-\[150px\] {
|
|
1002
1063
|
min-width: 150px;
|
|
1003
1064
|
}
|
|
@@ -1160,16 +1221,12 @@
|
|
|
1160
1221
|
.gap-6 {
|
|
1161
1222
|
gap: calc(var(--spacing) * 6);
|
|
1162
1223
|
}
|
|
1224
|
+
.gap-7 {
|
|
1225
|
+
gap: calc(var(--spacing) * 7);
|
|
1226
|
+
}
|
|
1163
1227
|
.gap-8 {
|
|
1164
1228
|
gap: calc(var(--spacing) * 8);
|
|
1165
1229
|
}
|
|
1166
|
-
.space-y-0 {
|
|
1167
|
-
:where(& > :not(:last-child)) {
|
|
1168
|
-
--tw-space-y-reverse: 0;
|
|
1169
|
-
margin-block-start: calc(calc(var(--spacing) * 0) * var(--tw-space-y-reverse));
|
|
1170
|
-
margin-block-end: calc(calc(var(--spacing) * 0) * calc(1 - var(--tw-space-y-reverse)));
|
|
1171
|
-
}
|
|
1172
|
-
}
|
|
1173
1230
|
.space-y-0\.5 {
|
|
1174
1231
|
:where(& > :not(:last-child)) {
|
|
1175
1232
|
--tw-space-y-reverse: 0;
|
|
@@ -1538,6 +1595,12 @@
|
|
|
1538
1595
|
background-color: color-mix(in oklab, var(--color-black) 30%, transparent);
|
|
1539
1596
|
}
|
|
1540
1597
|
}
|
|
1598
|
+
.bg-black\/55 {
|
|
1599
|
+
background-color: color-mix(in srgb, #000 55%, transparent);
|
|
1600
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1601
|
+
background-color: color-mix(in oklab, var(--color-black) 55%, transparent);
|
|
1602
|
+
}
|
|
1603
|
+
}
|
|
1541
1604
|
.bg-black\/80 {
|
|
1542
1605
|
background-color: color-mix(in srgb, #000 80%, transparent);
|
|
1543
1606
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1698,6 +1761,11 @@
|
|
|
1698
1761
|
--tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);
|
|
1699
1762
|
--tw-gradient-stops: var(--tw-gradient-via-stops);
|
|
1700
1763
|
}
|
|
1764
|
+
.via-primary {
|
|
1765
|
+
--tw-gradient-via: var(--primary);
|
|
1766
|
+
--tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);
|
|
1767
|
+
--tw-gradient-stops: var(--tw-gradient-via-stops);
|
|
1768
|
+
}
|
|
1701
1769
|
.via-sky-500 {
|
|
1702
1770
|
--tw-gradient-via: var(--color-sky-500);
|
|
1703
1771
|
--tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);
|
|
@@ -1763,6 +1831,9 @@
|
|
|
1763
1831
|
.p-\[1px\] {
|
|
1764
1832
|
padding: 1px;
|
|
1765
1833
|
}
|
|
1834
|
+
.p-\[20px\] {
|
|
1835
|
+
padding: 20px;
|
|
1836
|
+
}
|
|
1766
1837
|
.px-0 {
|
|
1767
1838
|
padding-inline: calc(var(--spacing) * 0);
|
|
1768
1839
|
}
|
|
@@ -1910,9 +1981,6 @@
|
|
|
1910
1981
|
font-size: var(--text-xs);
|
|
1911
1982
|
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
1912
1983
|
}
|
|
1913
|
-
.text-\[0\.5rem\] {
|
|
1914
|
-
font-size: 0.5rem;
|
|
1915
|
-
}
|
|
1916
1984
|
.text-\[0\.625rem\] {
|
|
1917
1985
|
font-size: 0.625rem;
|
|
1918
1986
|
}
|
|
@@ -1946,10 +2014,18 @@
|
|
|
1946
2014
|
--tw-leading: 1;
|
|
1947
2015
|
line-height: 1;
|
|
1948
2016
|
}
|
|
2017
|
+
.leading-normal {
|
|
2018
|
+
--tw-leading: var(--leading-normal);
|
|
2019
|
+
line-height: var(--leading-normal);
|
|
2020
|
+
}
|
|
1949
2021
|
.leading-relaxed {
|
|
1950
2022
|
--tw-leading: var(--leading-relaxed);
|
|
1951
2023
|
line-height: var(--leading-relaxed);
|
|
1952
2024
|
}
|
|
2025
|
+
.leading-snug {
|
|
2026
|
+
--tw-leading: var(--leading-snug);
|
|
2027
|
+
line-height: var(--leading-snug);
|
|
2028
|
+
}
|
|
1953
2029
|
.font-bold {
|
|
1954
2030
|
--tw-font-weight: var(--font-weight-bold);
|
|
1955
2031
|
font-weight: var(--font-weight-bold);
|
|
@@ -2133,6 +2209,12 @@
|
|
|
2133
2209
|
.capitalize {
|
|
2134
2210
|
text-transform: capitalize;
|
|
2135
2211
|
}
|
|
2212
|
+
.lowercase {
|
|
2213
|
+
text-transform: lowercase;
|
|
2214
|
+
}
|
|
2215
|
+
.uppercase {
|
|
2216
|
+
text-transform: uppercase;
|
|
2217
|
+
}
|
|
2136
2218
|
.underline {
|
|
2137
2219
|
text-decoration-line: underline;
|
|
2138
2220
|
}
|
|
@@ -2301,6 +2383,16 @@
|
|
|
2301
2383
|
}
|
|
2302
2384
|
}
|
|
2303
2385
|
}
|
|
2386
|
+
.group-has-\[\[data-orientation\=horizontal\]\]\/field\:text-balance {
|
|
2387
|
+
&:is(:where(.group\/field):has(*:is([data-orientation=horizontal])) *) {
|
|
2388
|
+
text-wrap: balance;
|
|
2389
|
+
}
|
|
2390
|
+
}
|
|
2391
|
+
.group-data-\[disabled\=true\]\/field\:opacity-50 {
|
|
2392
|
+
&:is(:where(.group\/field)[data-disabled="true"] *) {
|
|
2393
|
+
opacity: 50%;
|
|
2394
|
+
}
|
|
2395
|
+
}
|
|
2304
2396
|
.group-data-\[state\=indeterminate\]\:block {
|
|
2305
2397
|
&:is(:where(.group)[data-state="indeterminate"] *) {
|
|
2306
2398
|
display: block;
|
|
@@ -2311,6 +2403,11 @@
|
|
|
2311
2403
|
display: none;
|
|
2312
2404
|
}
|
|
2313
2405
|
}
|
|
2406
|
+
.group-data-\[variant\=outline\]\/field-group\:-mb-2 {
|
|
2407
|
+
&:is(:where(.group\/field-group)[data-variant="outline"] *) {
|
|
2408
|
+
margin-bottom: calc(var(--spacing) * -2);
|
|
2409
|
+
}
|
|
2410
|
+
}
|
|
2314
2411
|
.group-\[\.toaster\]\:w-\(--width\) {
|
|
2315
2412
|
&:is(:where(.group):is(.toaster) *) {
|
|
2316
2413
|
width: var(--width);
|
|
@@ -2454,6 +2551,11 @@
|
|
|
2454
2551
|
background-color: var(--border);
|
|
2455
2552
|
}
|
|
2456
2553
|
}
|
|
2554
|
+
.last\:mt-0 {
|
|
2555
|
+
&:last-child {
|
|
2556
|
+
margin-top: calc(var(--spacing) * 0);
|
|
2557
|
+
}
|
|
2558
|
+
}
|
|
2457
2559
|
.odd\:bg-muted\/90 {
|
|
2458
2560
|
&:nth-child(odd) {
|
|
2459
2561
|
background-color: var(--muted);
|
|
@@ -2827,6 +2929,19 @@
|
|
|
2827
2929
|
justify-content: space-between;
|
|
2828
2930
|
}
|
|
2829
2931
|
}
|
|
2932
|
+
.has-data-\[state\=checked\]\:border-primary {
|
|
2933
|
+
&:has(*[data-state="checked"]) {
|
|
2934
|
+
border-color: var(--primary);
|
|
2935
|
+
}
|
|
2936
|
+
}
|
|
2937
|
+
.has-data-\[state\=checked\]\:bg-primary\/5 {
|
|
2938
|
+
&:has(*[data-state="checked"]) {
|
|
2939
|
+
background-color: var(--primary);
|
|
2940
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2941
|
+
background-color: color-mix(in oklab, var(--primary) 5%, transparent);
|
|
2942
|
+
}
|
|
2943
|
+
}
|
|
2944
|
+
}
|
|
2830
2945
|
.has-\[\:focus-visible\]\:border-ring {
|
|
2831
2946
|
&:has(*:is(:focus-visible)) {
|
|
2832
2947
|
border-color: var(--ring);
|
|
@@ -2852,6 +2967,42 @@
|
|
|
2852
2967
|
outline-style: none;
|
|
2853
2968
|
}
|
|
2854
2969
|
}
|
|
2970
|
+
.has-\[\>\[data-slot\=checkbox-group\]\]\:gap-3 {
|
|
2971
|
+
&:has(>[data-slot=checkbox-group]) {
|
|
2972
|
+
gap: calc(var(--spacing) * 3);
|
|
2973
|
+
}
|
|
2974
|
+
}
|
|
2975
|
+
.has-\[\>\[data-slot\=field-content\]\]\:items-start {
|
|
2976
|
+
&:has(>[data-slot=field-content]) {
|
|
2977
|
+
align-items: flex-start;
|
|
2978
|
+
}
|
|
2979
|
+
}
|
|
2980
|
+
.has-\[\>\[data-slot\=field\]\]\:w-full {
|
|
2981
|
+
&:has(>[data-slot=field]) {
|
|
2982
|
+
width: 100%;
|
|
2983
|
+
}
|
|
2984
|
+
}
|
|
2985
|
+
.has-\[\>\[data-slot\=field\]\]\:flex-col {
|
|
2986
|
+
&:has(>[data-slot=field]) {
|
|
2987
|
+
flex-direction: column;
|
|
2988
|
+
}
|
|
2989
|
+
}
|
|
2990
|
+
.has-\[\>\[data-slot\=field\]\]\:rounded-md {
|
|
2991
|
+
&:has(>[data-slot=field]) {
|
|
2992
|
+
border-radius: calc(var(--radius) - 2px);
|
|
2993
|
+
}
|
|
2994
|
+
}
|
|
2995
|
+
.has-\[\>\[data-slot\=field\]\]\:border {
|
|
2996
|
+
&:has(>[data-slot=field]) {
|
|
2997
|
+
border-style: var(--tw-border-style);
|
|
2998
|
+
border-width: 1px;
|
|
2999
|
+
}
|
|
3000
|
+
}
|
|
3001
|
+
.has-\[\>\[data-slot\=radio-group\]\]\:gap-3 {
|
|
3002
|
+
&:has(>[data-slot=radio-group]) {
|
|
3003
|
+
gap: calc(var(--spacing) * 3);
|
|
3004
|
+
}
|
|
3005
|
+
}
|
|
2855
3006
|
.aria-invalid\:border-destructive\/60 {
|
|
2856
3007
|
&[aria-invalid="true"] {
|
|
2857
3008
|
border-color: var(--destructive);
|
|
@@ -2991,6 +3142,11 @@
|
|
|
2991
3142
|
color: var(--foreground);
|
|
2992
3143
|
}
|
|
2993
3144
|
}
|
|
3145
|
+
.data-\[invalid\=true\]\:text-destructive {
|
|
3146
|
+
&[data-invalid="true"] {
|
|
3147
|
+
color: var(--destructive);
|
|
3148
|
+
}
|
|
3149
|
+
}
|
|
2994
3150
|
.data-\[side\=bottom\]\:translate-y-1\.5 {
|
|
2995
3151
|
&[data-side="bottom"] {
|
|
2996
3152
|
--tw-translate-y: calc(var(--spacing) * 1.5);
|
|
@@ -3015,6 +3171,11 @@
|
|
|
3015
3171
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
3016
3172
|
}
|
|
3017
3173
|
}
|
|
3174
|
+
.data-\[slot\=checkbox-group\]\:gap-3 {
|
|
3175
|
+
&[data-slot="checkbox-group"] {
|
|
3176
|
+
gap: calc(var(--spacing) * 3);
|
|
3177
|
+
}
|
|
3178
|
+
}
|
|
3018
3179
|
.data-\[state\=checked\]\:border-primary {
|
|
3019
3180
|
&[data-state="checked"] {
|
|
3020
3181
|
border-color: var(--primary);
|
|
@@ -3161,6 +3322,23 @@
|
|
|
3161
3322
|
}
|
|
3162
3323
|
}
|
|
3163
3324
|
}
|
|
3325
|
+
.data-\[variant\=label\]\:text-sm {
|
|
3326
|
+
&[data-variant="label"] {
|
|
3327
|
+
font-size: var(--text-sm);
|
|
3328
|
+
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
3329
|
+
}
|
|
3330
|
+
}
|
|
3331
|
+
.data-\[variant\=legend\]\:text-base {
|
|
3332
|
+
&[data-variant="legend"] {
|
|
3333
|
+
font-size: var(--text-base);
|
|
3334
|
+
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
3335
|
+
}
|
|
3336
|
+
}
|
|
3337
|
+
.nth-last-2\:-mt-1 {
|
|
3338
|
+
&:nth-last-child(2) {
|
|
3339
|
+
margin-top: calc(var(--spacing) * -1);
|
|
3340
|
+
}
|
|
3341
|
+
}
|
|
3164
3342
|
.sm\:order-1 {
|
|
3165
3343
|
@media (width >= 40rem) {
|
|
3166
3344
|
order: 1;
|
|
@@ -3254,6 +3432,23 @@
|
|
|
3254
3432
|
display: flex;
|
|
3255
3433
|
}
|
|
3256
3434
|
}
|
|
3435
|
+
.\@md\/field-group\:flex-row {
|
|
3436
|
+
@container field-group (width >= 28rem) {
|
|
3437
|
+
flex-direction: row;
|
|
3438
|
+
}
|
|
3439
|
+
}
|
|
3440
|
+
.\@md\/field-group\:items-center {
|
|
3441
|
+
@container field-group (width >= 28rem) {
|
|
3442
|
+
align-items: center;
|
|
3443
|
+
}
|
|
3444
|
+
}
|
|
3445
|
+
.\@md\/field-group\:has-\[\>\[data-slot\=field-content\]\]\:items-start {
|
|
3446
|
+
@container field-group (width >= 28rem) {
|
|
3447
|
+
&:has(>[data-slot=field-content]) {
|
|
3448
|
+
align-items: flex-start;
|
|
3449
|
+
}
|
|
3450
|
+
}
|
|
3451
|
+
}
|
|
3257
3452
|
.rtl\:rotate-180 {
|
|
3258
3453
|
&:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
|
|
3259
3454
|
rotate: 180deg;
|
|
@@ -3445,6 +3640,16 @@
|
|
|
3445
3640
|
}
|
|
3446
3641
|
}
|
|
3447
3642
|
}
|
|
3643
|
+
.dark\:has-data-\[state\=checked\]\:bg-primary\/10 {
|
|
3644
|
+
&:is(.dark *) {
|
|
3645
|
+
&:has(*[data-state="checked"]) {
|
|
3646
|
+
background-color: var(--primary);
|
|
3647
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3648
|
+
background-color: color-mix(in oklab, var(--primary) 10%, transparent);
|
|
3649
|
+
}
|
|
3650
|
+
}
|
|
3651
|
+
}
|
|
3652
|
+
}
|
|
3448
3653
|
.dark\:aria-invalid\:border-destructive {
|
|
3449
3654
|
&:is(.dark *) {
|
|
3450
3655
|
&[aria-invalid="true"] {
|
|
@@ -3903,6 +4108,23 @@
|
|
|
3903
4108
|
opacity: 0%;
|
|
3904
4109
|
}
|
|
3905
4110
|
}
|
|
4111
|
+
.\[\&\>\*\]\:w-full {
|
|
4112
|
+
&>* {
|
|
4113
|
+
width: 100%;
|
|
4114
|
+
}
|
|
4115
|
+
}
|
|
4116
|
+
.\@md\/field-group\:\[\&\>\*\]\:w-auto {
|
|
4117
|
+
@container field-group (width >= 28rem) {
|
|
4118
|
+
&>* {
|
|
4119
|
+
width: auto;
|
|
4120
|
+
}
|
|
4121
|
+
}
|
|
4122
|
+
}
|
|
4123
|
+
.\[\&\>\.sr-only\]\:w-auto {
|
|
4124
|
+
&>.sr-only {
|
|
4125
|
+
width: auto;
|
|
4126
|
+
}
|
|
4127
|
+
}
|
|
3906
4128
|
.\[\&\>\[data-slot\=alert-icon\]\>svg\]\:size-4 {
|
|
3907
4129
|
&>[data-slot=alert-icon]>svg {
|
|
3908
4130
|
width: calc(var(--spacing) * 4);
|
|
@@ -3921,6 +4143,59 @@
|
|
|
3921
4143
|
height: calc(var(--spacing) * 6);
|
|
3922
4144
|
}
|
|
3923
4145
|
}
|
|
4146
|
+
.\[\&\>\[data-slot\=field-group\]\]\:gap-4 {
|
|
4147
|
+
&>[data-slot=field-group] {
|
|
4148
|
+
gap: calc(var(--spacing) * 4);
|
|
4149
|
+
}
|
|
4150
|
+
}
|
|
4151
|
+
.\[\&\>\[data-slot\=field-label\]\]\:flex-auto {
|
|
4152
|
+
&>[data-slot=field-label] {
|
|
4153
|
+
flex: auto;
|
|
4154
|
+
}
|
|
4155
|
+
}
|
|
4156
|
+
.\@md\/field-group\:\[\&\>\[data-slot\=field-label\]\]\:flex-auto {
|
|
4157
|
+
@container field-group (width >= 28rem) {
|
|
4158
|
+
&>[data-slot=field-label] {
|
|
4159
|
+
flex: auto;
|
|
4160
|
+
}
|
|
4161
|
+
}
|
|
4162
|
+
}
|
|
4163
|
+
.\[\&\>\[data-slot\=field\]\]\:p-4 {
|
|
4164
|
+
&>[data-slot=field] {
|
|
4165
|
+
padding: calc(var(--spacing) * 4);
|
|
4166
|
+
}
|
|
4167
|
+
}
|
|
4168
|
+
.has-\[\>\[data-slot\=field-content\]\]\:\[\&\>\[role\=checkbox\]\,\[role\=radio\]\]\:mt-px {
|
|
4169
|
+
&:has(>[data-slot=field-content]) {
|
|
4170
|
+
&>[role=checkbox],[role=radio] {
|
|
4171
|
+
margin-top: 1px;
|
|
4172
|
+
}
|
|
4173
|
+
}
|
|
4174
|
+
}
|
|
4175
|
+
.\@md\/field-group\:has-\[\>\[data-slot\=field-content\]\]\:\[\&\>\[role\=checkbox\]\,\[role\=radio\]\]\:mt-px {
|
|
4176
|
+
@container field-group (width >= 28rem) {
|
|
4177
|
+
&:has(>[data-slot=field-content]) {
|
|
4178
|
+
&>[role=checkbox],[role=radio] {
|
|
4179
|
+
margin-top: 1px;
|
|
4180
|
+
}
|
|
4181
|
+
}
|
|
4182
|
+
}
|
|
4183
|
+
}
|
|
4184
|
+
.\[\&\>a\]\:underline {
|
|
4185
|
+
&>a {
|
|
4186
|
+
text-decoration-line: underline;
|
|
4187
|
+
}
|
|
4188
|
+
}
|
|
4189
|
+
.\[\&\>a\]\:underline-offset-4 {
|
|
4190
|
+
&>a {
|
|
4191
|
+
text-underline-offset: 4px;
|
|
4192
|
+
}
|
|
4193
|
+
}
|
|
4194
|
+
.\[\&\>a\:hover\]\:text-primary {
|
|
4195
|
+
&>a:hover {
|
|
4196
|
+
color: var(--primary);
|
|
4197
|
+
}
|
|
4198
|
+
}
|
|
3924
4199
|
.\[\&\>span\]\:line-clamp-1 {
|
|
3925
4200
|
&>span {
|
|
3926
4201
|
overflow: hidden;
|
|
@@ -4069,6 +4344,11 @@
|
|
|
4069
4344
|
}
|
|
4070
4345
|
}
|
|
4071
4346
|
}
|
|
4347
|
+
.\[\[data-variant\=legend\]\+\&\]\:-mt-1\.5 {
|
|
4348
|
+
[data-variant=legend]+& {
|
|
4349
|
+
margin-top: calc(var(--spacing) * -1.5);
|
|
4350
|
+
}
|
|
4351
|
+
}
|
|
4072
4352
|
}
|
|
4073
4353
|
:root {
|
|
4074
4354
|
--background: var(--color-white);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adminium",
|
|
3
|
-
"version": "1.0.1-patch.
|
|
3
|
+
"version": "1.0.1-patch.3",
|
|
4
4
|
"description": "Metronic UI Component Library - A beautiful, reusable React component library built with Tailwind CSS",
|
|
5
5
|
"author": "linkedunion",
|
|
6
6
|
"license": "MIT",
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">=19.0.0",
|
|
53
53
|
"react-dom": ">=19.0.0",
|
|
54
|
+
"@tanstack/react-table": "^8.0.0",
|
|
54
55
|
"react-hook-form": "^7.0.0",
|
|
55
56
|
"tailwindcss": ">=4.0.0"
|
|
56
57
|
},
|
|
@@ -83,6 +84,7 @@
|
|
|
83
84
|
"vaul": "^1.1.2"
|
|
84
85
|
},
|
|
85
86
|
"devDependencies": {
|
|
87
|
+
"@tanstack/react-table": "^8.21.3",
|
|
86
88
|
"@chromatic-com/storybook": "^4.1.3",
|
|
87
89
|
"@storybook/addon-a11y": "^10.1.10",
|
|
88
90
|
"@storybook/addon-docs": "^10.1.10",
|