adminium 1.0.3 → 1.0.5
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 +187 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -2
- package/dist/index.d.ts +21 -2
- package/dist/index.js +179 -3
- package/dist/index.js.map +1 -1
- package/dist/styles/adminium.css +188 -0
- package/package.json +1 -1
package/dist/styles/adminium.css
CHANGED
|
@@ -387,6 +387,15 @@
|
|
|
387
387
|
.top-\[50\%\] {
|
|
388
388
|
top: 50%;
|
|
389
389
|
}
|
|
390
|
+
.top-\[60\%\] {
|
|
391
|
+
top: 60%;
|
|
392
|
+
}
|
|
393
|
+
.top-full {
|
|
394
|
+
top: 100%;
|
|
395
|
+
}
|
|
396
|
+
.top-px {
|
|
397
|
+
top: 1px;
|
|
398
|
+
}
|
|
390
399
|
.-right-1 {
|
|
391
400
|
right: calc(var(--spacing) * -1);
|
|
392
401
|
}
|
|
@@ -429,6 +438,9 @@
|
|
|
429
438
|
.left-\[50\%\] {
|
|
430
439
|
left: 50%;
|
|
431
440
|
}
|
|
441
|
+
.isolate {
|
|
442
|
+
isolation: isolate;
|
|
443
|
+
}
|
|
432
444
|
.z-10 {
|
|
433
445
|
z-index: 10;
|
|
434
446
|
}
|
|
@@ -516,6 +528,9 @@
|
|
|
516
528
|
.-ms-2 {
|
|
517
529
|
margin-inline-start: calc(var(--spacing) * -2);
|
|
518
530
|
}
|
|
531
|
+
.ms-1 {
|
|
532
|
+
margin-inline-start: calc(var(--spacing) * 1);
|
|
533
|
+
}
|
|
519
534
|
.ms-auto {
|
|
520
535
|
margin-inline-start: auto;
|
|
521
536
|
}
|
|
@@ -537,6 +552,9 @@
|
|
|
537
552
|
.mt-1 {
|
|
538
553
|
margin-top: calc(var(--spacing) * 1);
|
|
539
554
|
}
|
|
555
|
+
.mt-1\.5 {
|
|
556
|
+
margin-top: calc(var(--spacing) * 1.5);
|
|
557
|
+
}
|
|
540
558
|
.mt-2 {
|
|
541
559
|
margin-top: calc(var(--spacing) * 2);
|
|
542
560
|
}
|
|
@@ -744,6 +762,9 @@
|
|
|
744
762
|
width: 100%;
|
|
745
763
|
height: 100%;
|
|
746
764
|
}
|
|
765
|
+
.h-\(--radix-navigation-menu-viewport-height\) {
|
|
766
|
+
height: var(--radix-navigation-menu-viewport-height);
|
|
767
|
+
}
|
|
747
768
|
.h-0 {
|
|
748
769
|
height: calc(var(--spacing) * 0);
|
|
749
770
|
}
|
|
@@ -1110,6 +1131,9 @@
|
|
|
1110
1131
|
.max-w-50 {
|
|
1111
1132
|
max-width: calc(var(--spacing) * 50);
|
|
1112
1133
|
}
|
|
1134
|
+
.max-w-480 {
|
|
1135
|
+
max-width: calc(var(--spacing) * 480);
|
|
1136
|
+
}
|
|
1113
1137
|
.max-w-\[70\%\] {
|
|
1114
1138
|
max-width: 70%;
|
|
1115
1139
|
}
|
|
@@ -1128,6 +1152,9 @@
|
|
|
1128
1152
|
.max-w-lg {
|
|
1129
1153
|
max-width: var(--container-lg);
|
|
1130
1154
|
}
|
|
1155
|
+
.max-w-max {
|
|
1156
|
+
max-width: max-content;
|
|
1157
|
+
}
|
|
1131
1158
|
.max-w-md {
|
|
1132
1159
|
max-width: var(--container-md);
|
|
1133
1160
|
}
|
|
@@ -1232,6 +1259,9 @@
|
|
|
1232
1259
|
.-rotate-90 {
|
|
1233
1260
|
rotate: calc(90deg * -1);
|
|
1234
1261
|
}
|
|
1262
|
+
.rotate-45 {
|
|
1263
|
+
rotate: 45deg;
|
|
1264
|
+
}
|
|
1235
1265
|
.transform {
|
|
1236
1266
|
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
|
1237
1267
|
}
|
|
@@ -1274,6 +1304,9 @@
|
|
|
1274
1304
|
.list-disc {
|
|
1275
1305
|
list-style-type: disc;
|
|
1276
1306
|
}
|
|
1307
|
+
.list-none {
|
|
1308
|
+
list-style-type: none;
|
|
1309
|
+
}
|
|
1277
1310
|
.auto-rows-fr {
|
|
1278
1311
|
grid-auto-rows: minmax(0, 1fr);
|
|
1279
1312
|
}
|
|
@@ -2217,6 +2250,9 @@
|
|
|
2217
2250
|
.py-6 {
|
|
2218
2251
|
padding-block: calc(var(--spacing) * 6);
|
|
2219
2252
|
}
|
|
2253
|
+
.py-8 {
|
|
2254
|
+
padding-block: calc(var(--spacing) * 8);
|
|
2255
|
+
}
|
|
2220
2256
|
.py-12 {
|
|
2221
2257
|
padding-block: calc(var(--spacing) * 12);
|
|
2222
2258
|
}
|
|
@@ -2271,6 +2307,9 @@
|
|
|
2271
2307
|
.pt-6 {
|
|
2272
2308
|
padding-top: calc(var(--spacing) * 6);
|
|
2273
2309
|
}
|
|
2310
|
+
.pr-2\.5 {
|
|
2311
|
+
padding-right: calc(var(--spacing) * 2.5);
|
|
2312
|
+
}
|
|
2274
2313
|
.pr-4 {
|
|
2275
2314
|
padding-right: calc(var(--spacing) * 4);
|
|
2276
2315
|
}
|
|
@@ -2686,6 +2725,12 @@
|
|
|
2686
2725
|
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-black) 5%, transparent) var(--tw-shadow-alpha), transparent);
|
|
2687
2726
|
}
|
|
2688
2727
|
}
|
|
2728
|
+
.ring-ring\/10 {
|
|
2729
|
+
--tw-ring-color: var(--ring);
|
|
2730
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2731
|
+
--tw-ring-color: color-mix(in oklab, var(--ring) 10%, transparent);
|
|
2732
|
+
}
|
|
2733
|
+
}
|
|
2689
2734
|
.ring-offset-background {
|
|
2690
2735
|
--tw-ring-offset-color: var(--background);
|
|
2691
2736
|
}
|
|
@@ -2705,6 +2750,12 @@
|
|
|
2705
2750
|
outline-style: var(--tw-outline-style);
|
|
2706
2751
|
outline-width: 0px;
|
|
2707
2752
|
}
|
|
2753
|
+
.outline-ring\/50 {
|
|
2754
|
+
outline-color: var(--ring);
|
|
2755
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2756
|
+
outline-color: color-mix(in oklab, var(--ring) 50%, transparent);
|
|
2757
|
+
}
|
|
2758
|
+
}
|
|
2708
2759
|
.grayscale {
|
|
2709
2760
|
--tw-grayscale: grayscale(100%);
|
|
2710
2761
|
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,);
|
|
@@ -2864,11 +2915,59 @@
|
|
|
2864
2915
|
display: none;
|
|
2865
2916
|
}
|
|
2866
2917
|
}
|
|
2918
|
+
.group-data-\[state\=open\]\:rotate-180 {
|
|
2919
|
+
&:is(:where(.group)[data-state="open"] *) {
|
|
2920
|
+
rotate: 180deg;
|
|
2921
|
+
}
|
|
2922
|
+
}
|
|
2867
2923
|
.group-data-\[variant\=outline\]\/field-group\:-mb-2 {
|
|
2868
2924
|
&:is(:where(.group\/field-group)[data-variant="outline"] *) {
|
|
2869
2925
|
margin-bottom: calc(var(--spacing) * -2);
|
|
2870
2926
|
}
|
|
2871
2927
|
}
|
|
2928
|
+
.group-data-\[viewport\=false\]\/navigation-menu\:top-full {
|
|
2929
|
+
&:is(:where(.group\/navigation-menu)[data-viewport="false"] *) {
|
|
2930
|
+
top: 100%;
|
|
2931
|
+
}
|
|
2932
|
+
}
|
|
2933
|
+
.group-data-\[viewport\=false\]\/navigation-menu\:mt-1\.5 {
|
|
2934
|
+
&:is(:where(.group\/navigation-menu)[data-viewport="false"] *) {
|
|
2935
|
+
margin-top: calc(var(--spacing) * 1.5);
|
|
2936
|
+
}
|
|
2937
|
+
}
|
|
2938
|
+
.group-data-\[viewport\=false\]\/navigation-menu\:overflow-hidden {
|
|
2939
|
+
&:is(:where(.group\/navigation-menu)[data-viewport="false"] *) {
|
|
2940
|
+
overflow: hidden;
|
|
2941
|
+
}
|
|
2942
|
+
}
|
|
2943
|
+
.group-data-\[viewport\=false\]\/navigation-menu\:rounded-md {
|
|
2944
|
+
&:is(:where(.group\/navigation-menu)[data-viewport="false"] *) {
|
|
2945
|
+
border-radius: calc(var(--radius) - 2px);
|
|
2946
|
+
}
|
|
2947
|
+
}
|
|
2948
|
+
.group-data-\[viewport\=false\]\/navigation-menu\:border {
|
|
2949
|
+
&:is(:where(.group\/navigation-menu)[data-viewport="false"] *) {
|
|
2950
|
+
border-style: var(--tw-border-style);
|
|
2951
|
+
border-width: 1px;
|
|
2952
|
+
}
|
|
2953
|
+
}
|
|
2954
|
+
.group-data-\[viewport\=false\]\/navigation-menu\:bg-popover {
|
|
2955
|
+
&:is(:where(.group\/navigation-menu)[data-viewport="false"] *) {
|
|
2956
|
+
background-color: var(--popover);
|
|
2957
|
+
}
|
|
2958
|
+
}
|
|
2959
|
+
.group-data-\[viewport\=false\]\/navigation-menu\:shadow {
|
|
2960
|
+
&:is(:where(.group\/navigation-menu)[data-viewport="false"] *) {
|
|
2961
|
+
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
2962
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
2963
|
+
}
|
|
2964
|
+
}
|
|
2965
|
+
.group-data-\[viewport\=false\]\/navigation-menu\:duration-200 {
|
|
2966
|
+
&:is(:where(.group\/navigation-menu)[data-viewport="false"] *) {
|
|
2967
|
+
--tw-duration: 200ms;
|
|
2968
|
+
transition-duration: 200ms;
|
|
2969
|
+
}
|
|
2970
|
+
}
|
|
2872
2971
|
.group-\[\.range-end\:not\(\.range-start\)\]\:rounded-s-none {
|
|
2873
2972
|
&:is(:where(.group):is(.range-end:not(.range-start)) *) {
|
|
2874
2973
|
border-start-start-radius: 0;
|
|
@@ -3526,6 +3625,12 @@
|
|
|
3526
3625
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3527
3626
|
}
|
|
3528
3627
|
}
|
|
3628
|
+
.focus-visible\:ring-4 {
|
|
3629
|
+
&:focus-visible {
|
|
3630
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
3631
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3632
|
+
}
|
|
3633
|
+
}
|
|
3529
3634
|
.focus-visible\:ring-\[3px\] {
|
|
3530
3635
|
&:focus-visible {
|
|
3531
3636
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
@@ -3574,6 +3679,12 @@
|
|
|
3574
3679
|
}
|
|
3575
3680
|
}
|
|
3576
3681
|
}
|
|
3682
|
+
.focus-visible\:outline-1 {
|
|
3683
|
+
&:focus-visible {
|
|
3684
|
+
outline-style: var(--tw-outline-style);
|
|
3685
|
+
outline-width: 1px;
|
|
3686
|
+
}
|
|
3687
|
+
}
|
|
3577
3688
|
.focus-visible\:outline-none {
|
|
3578
3689
|
&:focus-visible {
|
|
3579
3690
|
--tw-outline-style: none;
|
|
@@ -3936,6 +4047,14 @@
|
|
|
3936
4047
|
background-color: var(--accent);
|
|
3937
4048
|
}
|
|
3938
4049
|
}
|
|
4050
|
+
.data-\[active\=true\]\:bg-accent\/50 {
|
|
4051
|
+
&[data-active="true"] {
|
|
4052
|
+
background-color: var(--accent);
|
|
4053
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4054
|
+
background-color: color-mix(in oklab, var(--accent) 50%, transparent);
|
|
4055
|
+
}
|
|
4056
|
+
}
|
|
4057
|
+
}
|
|
3939
4058
|
.data-\[active\=true\]\:bg-destructive\/5 {
|
|
3940
4059
|
&[data-active="true"] {
|
|
3941
4060
|
background-color: var(--destructive);
|
|
@@ -4070,6 +4189,26 @@
|
|
|
4070
4189
|
gap: calc(var(--spacing) * 3);
|
|
4071
4190
|
}
|
|
4072
4191
|
}
|
|
4192
|
+
.\*\*\:data-\[slot\=navigation-menu-link\]\:focus\:ring-0 {
|
|
4193
|
+
:is(& *) {
|
|
4194
|
+
&[data-slot="navigation-menu-link"] {
|
|
4195
|
+
&:focus {
|
|
4196
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
4197
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
4198
|
+
}
|
|
4199
|
+
}
|
|
4200
|
+
}
|
|
4201
|
+
}
|
|
4202
|
+
.\*\*\:data-\[slot\=navigation-menu-link\]\:focus\:outline-none {
|
|
4203
|
+
:is(& *) {
|
|
4204
|
+
&[data-slot="navigation-menu-link"] {
|
|
4205
|
+
&:focus {
|
|
4206
|
+
--tw-outline-style: none;
|
|
4207
|
+
outline-style: none;
|
|
4208
|
+
}
|
|
4209
|
+
}
|
|
4210
|
+
}
|
|
4211
|
+
}
|
|
4073
4212
|
.data-\[state\=active\]\:border-primary {
|
|
4074
4213
|
&[data-state="active"] {
|
|
4075
4214
|
border-color: var(--primary);
|
|
@@ -4176,6 +4315,14 @@
|
|
|
4176
4315
|
background-color: var(--accent);
|
|
4177
4316
|
}
|
|
4178
4317
|
}
|
|
4318
|
+
.data-\[state\=open\]\:bg-accent\/50 {
|
|
4319
|
+
&[data-state="open"] {
|
|
4320
|
+
background-color: var(--accent);
|
|
4321
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4322
|
+
background-color: color-mix(in oklab, var(--accent) 50%, transparent);
|
|
4323
|
+
}
|
|
4324
|
+
}
|
|
4325
|
+
}
|
|
4179
4326
|
.data-\[state\=open\]\:bg-background {
|
|
4180
4327
|
&[data-state="open"] {
|
|
4181
4328
|
background-color: var(--background);
|
|
@@ -4405,6 +4552,21 @@
|
|
|
4405
4552
|
text-align: start;
|
|
4406
4553
|
}
|
|
4407
4554
|
}
|
|
4555
|
+
.md\:absolute {
|
|
4556
|
+
@media (width >= 48rem) {
|
|
4557
|
+
position: absolute;
|
|
4558
|
+
}
|
|
4559
|
+
}
|
|
4560
|
+
.md\:w-\(--radix-navigation-menu-viewport-width\) {
|
|
4561
|
+
@media (width >= 48rem) {
|
|
4562
|
+
width: var(--radix-navigation-menu-viewport-width);
|
|
4563
|
+
}
|
|
4564
|
+
}
|
|
4565
|
+
.md\:w-auto {
|
|
4566
|
+
@media (width >= 48rem) {
|
|
4567
|
+
width: auto;
|
|
4568
|
+
}
|
|
4569
|
+
}
|
|
4408
4570
|
.md\:grid-cols-2 {
|
|
4409
4571
|
@media (width >= 48rem) {
|
|
4410
4572
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
@@ -4420,6 +4582,16 @@
|
|
|
4420
4582
|
gap: calc(var(--spacing) * 3.5);
|
|
4421
4583
|
}
|
|
4422
4584
|
}
|
|
4585
|
+
.lg\:px-8 {
|
|
4586
|
+
@media (width >= 64rem) {
|
|
4587
|
+
padding-inline: calc(var(--spacing) * 8);
|
|
4588
|
+
}
|
|
4589
|
+
}
|
|
4590
|
+
.\32 xl\:px-30 {
|
|
4591
|
+
@media (width >= 96rem) {
|
|
4592
|
+
padding-inline: calc(var(--spacing) * 30);
|
|
4593
|
+
}
|
|
4594
|
+
}
|
|
4423
4595
|
.\@md\/field-group\:flex-row {
|
|
4424
4596
|
@container field-group (width >= 28rem) {
|
|
4425
4597
|
flex-direction: row;
|
|
@@ -4654,6 +4826,22 @@
|
|
|
4654
4826
|
color: var(--color-green-300);
|
|
4655
4827
|
}
|
|
4656
4828
|
}
|
|
4829
|
+
.dark\:ring-ring\/20 {
|
|
4830
|
+
&:is(.dark *) {
|
|
4831
|
+
--tw-ring-color: var(--ring);
|
|
4832
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4833
|
+
--tw-ring-color: color-mix(in oklab, var(--ring) 20%, transparent);
|
|
4834
|
+
}
|
|
4835
|
+
}
|
|
4836
|
+
}
|
|
4837
|
+
.dark\:outline-ring\/40 {
|
|
4838
|
+
&:is(.dark *) {
|
|
4839
|
+
outline-color: var(--ring);
|
|
4840
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4841
|
+
outline-color: color-mix(in oklab, var(--ring) 40%, transparent);
|
|
4842
|
+
}
|
|
4843
|
+
}
|
|
4844
|
+
}
|
|
4657
4845
|
.dark\:hover\:bg-zinc-300\/90 {
|
|
4658
4846
|
&:is(.dark *) {
|
|
4659
4847
|
&:hover {
|