shadcn-ui-react 0.2.4 → 0.2.7
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 +5123 -23564
- package/dist/index.d.cts +2 -44
- package/dist/index.d.ts +2 -44
- package/dist/index.js +2385 -20846
- package/dist/style.css +0 -155
- package/package.json +3 -3
package/dist/style.css
CHANGED
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
--color-gray-200: oklch(0.928 0.006 264.531);
|
|
29
29
|
--color-gray-300: oklch(0.872 0.01 258.338);
|
|
30
30
|
--color-black: #000;
|
|
31
|
-
--color-white: #fff;
|
|
32
31
|
--spacing: 0.25rem;
|
|
33
32
|
--container-sm: 24rem;
|
|
34
33
|
--container-lg: 32rem;
|
|
@@ -40,8 +39,6 @@
|
|
|
40
39
|
--text-lg--line-height: calc(1.75 / 1.125);
|
|
41
40
|
--text-xl: 1.25rem;
|
|
42
41
|
--text-xl--line-height: calc(1.75 / 1.25);
|
|
43
|
-
--text-2xl: 1.5rem;
|
|
44
|
-
--text-2xl--line-height: calc(2 / 1.5);
|
|
45
42
|
--text-3xl: 1.875rem;
|
|
46
43
|
--text-3xl--line-height: calc(2.25 / 1.875);
|
|
47
44
|
--font-weight-normal: 400;
|
|
@@ -410,9 +407,6 @@
|
|
|
410
407
|
.mt-2 {
|
|
411
408
|
margin-top: calc(var(--spacing) * 2);
|
|
412
409
|
}
|
|
413
|
-
.mt-3 {
|
|
414
|
-
margin-top: calc(var(--spacing) * 3);
|
|
415
|
-
}
|
|
416
410
|
.mt-4 {
|
|
417
411
|
margin-top: calc(var(--spacing) * 4);
|
|
418
412
|
}
|
|
@@ -434,12 +428,6 @@
|
|
|
434
428
|
.ml-1 {
|
|
435
429
|
margin-left: calc(var(--spacing) * 1);
|
|
436
430
|
}
|
|
437
|
-
.ml-2\.5 {
|
|
438
|
-
margin-left: calc(var(--spacing) * 2.5);
|
|
439
|
-
}
|
|
440
|
-
.ml-4 {
|
|
441
|
-
margin-left: calc(var(--spacing) * 4);
|
|
442
|
-
}
|
|
443
431
|
.ml-auto {
|
|
444
432
|
margin-left: auto;
|
|
445
433
|
}
|
|
@@ -455,9 +443,6 @@
|
|
|
455
443
|
.hidden {
|
|
456
444
|
display: none;
|
|
457
445
|
}
|
|
458
|
-
.inline-block {
|
|
459
|
-
display: inline-block;
|
|
460
|
-
}
|
|
461
446
|
.inline-flex {
|
|
462
447
|
display: inline-flex;
|
|
463
448
|
}
|
|
@@ -467,10 +452,6 @@
|
|
|
467
452
|
.aspect-square {
|
|
468
453
|
aspect-ratio: 1 / 1;
|
|
469
454
|
}
|
|
470
|
-
.size-5 {
|
|
471
|
-
width: calc(var(--spacing) * 5);
|
|
472
|
-
height: calc(var(--spacing) * 5);
|
|
473
|
-
}
|
|
474
455
|
.size-8 {
|
|
475
456
|
width: calc(var(--spacing) * 8);
|
|
476
457
|
height: calc(var(--spacing) * 8);
|
|
@@ -511,18 +492,12 @@
|
|
|
511
492
|
.h-10 {
|
|
512
493
|
height: calc(var(--spacing) * 10);
|
|
513
494
|
}
|
|
514
|
-
.h-14 {
|
|
515
|
-
height: calc(var(--spacing) * 14);
|
|
516
|
-
}
|
|
517
495
|
.h-24 {
|
|
518
496
|
height: calc(var(--spacing) * 24);
|
|
519
497
|
}
|
|
520
498
|
.h-36 {
|
|
521
499
|
height: calc(var(--spacing) * 36);
|
|
522
500
|
}
|
|
523
|
-
.h-\[1\.2rem\] {
|
|
524
|
-
height: 1.2rem;
|
|
525
|
-
}
|
|
526
501
|
.h-\[1px\] {
|
|
527
502
|
height: 1px;
|
|
528
503
|
}
|
|
@@ -544,9 +519,6 @@
|
|
|
544
519
|
.h-px {
|
|
545
520
|
height: 1px;
|
|
546
521
|
}
|
|
547
|
-
.h-screen {
|
|
548
|
-
height: 100vh;
|
|
549
|
-
}
|
|
550
522
|
.max-h-96 {
|
|
551
523
|
max-height: calc(var(--spacing) * 96);
|
|
552
524
|
}
|
|
@@ -589,9 +561,6 @@
|
|
|
589
561
|
.w-10 {
|
|
590
562
|
width: calc(var(--spacing) * 10);
|
|
591
563
|
}
|
|
592
|
-
.w-14 {
|
|
593
|
-
width: calc(var(--spacing) * 14);
|
|
594
|
-
}
|
|
595
564
|
.w-20 {
|
|
596
565
|
width: calc(var(--spacing) * 20);
|
|
597
566
|
}
|
|
@@ -604,27 +573,18 @@
|
|
|
604
573
|
.w-40 {
|
|
605
574
|
width: calc(var(--spacing) * 40);
|
|
606
575
|
}
|
|
607
|
-
.w-56 {
|
|
608
|
-
width: calc(var(--spacing) * 56);
|
|
609
|
-
}
|
|
610
576
|
.w-64 {
|
|
611
577
|
width: calc(var(--spacing) * 64);
|
|
612
578
|
}
|
|
613
579
|
.w-72 {
|
|
614
580
|
width: calc(var(--spacing) * 72);
|
|
615
581
|
}
|
|
616
|
-
.w-\[1\.2rem\] {
|
|
617
|
-
width: 1.2rem;
|
|
618
|
-
}
|
|
619
582
|
.w-\[1px\] {
|
|
620
583
|
width: 1px;
|
|
621
584
|
}
|
|
622
585
|
.w-\[70px\] {
|
|
623
586
|
width: 70px;
|
|
624
587
|
}
|
|
625
|
-
.w-\[80px\] {
|
|
626
|
-
width: 80px;
|
|
627
|
-
}
|
|
628
588
|
.w-\[100px\] {
|
|
629
589
|
width: 100px;
|
|
630
590
|
}
|
|
@@ -663,9 +623,6 @@
|
|
|
663
623
|
.flex-1 {
|
|
664
624
|
flex: 1;
|
|
665
625
|
}
|
|
666
|
-
.flex-none {
|
|
667
|
-
flex: none;
|
|
668
|
-
}
|
|
669
626
|
.shrink-0 {
|
|
670
627
|
flex-shrink: 0;
|
|
671
628
|
}
|
|
@@ -700,30 +657,12 @@
|
|
|
700
657
|
--tw-translate-y: -50%;
|
|
701
658
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
702
659
|
}
|
|
703
|
-
.scale-0 {
|
|
704
|
-
--tw-scale-x: 0%;
|
|
705
|
-
--tw-scale-y: 0%;
|
|
706
|
-
--tw-scale-z: 0%;
|
|
707
|
-
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
708
|
-
}
|
|
709
|
-
.scale-100 {
|
|
710
|
-
--tw-scale-x: 100%;
|
|
711
|
-
--tw-scale-y: 100%;
|
|
712
|
-
--tw-scale-z: 100%;
|
|
713
|
-
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
714
|
-
}
|
|
715
|
-
.rotate-0 {
|
|
716
|
-
rotate: 0deg;
|
|
717
|
-
}
|
|
718
660
|
.rotate-45 {
|
|
719
661
|
rotate: 45deg;
|
|
720
662
|
}
|
|
721
663
|
.rotate-90 {
|
|
722
664
|
rotate: 90deg;
|
|
723
665
|
}
|
|
724
|
-
.rotate-180 {
|
|
725
|
-
rotate: 180deg;
|
|
726
|
-
}
|
|
727
666
|
.transform {
|
|
728
667
|
transform: var(--tw-rotate-x) var(--tw-rotate-y) var(--tw-rotate-z) var(--tw-skew-x) var(--tw-skew-y);
|
|
729
668
|
}
|
|
@@ -733,9 +672,6 @@
|
|
|
733
672
|
.cursor-default {
|
|
734
673
|
cursor: default;
|
|
735
674
|
}
|
|
736
|
-
.cursor-not-allowed {
|
|
737
|
-
cursor: not-allowed;
|
|
738
|
-
}
|
|
739
675
|
.cursor-pointer {
|
|
740
676
|
cursor: pointer;
|
|
741
677
|
}
|
|
@@ -763,9 +699,6 @@
|
|
|
763
699
|
.items-end {
|
|
764
700
|
align-items: flex-end;
|
|
765
701
|
}
|
|
766
|
-
.items-start {
|
|
767
|
-
align-items: flex-start;
|
|
768
|
-
}
|
|
769
702
|
.justify-between {
|
|
770
703
|
justify-content: space-between;
|
|
771
704
|
}
|
|
@@ -836,11 +769,6 @@
|
|
|
836
769
|
margin-inline-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse)));
|
|
837
770
|
}
|
|
838
771
|
}
|
|
839
|
-
.truncate {
|
|
840
|
-
overflow: hidden;
|
|
841
|
-
text-overflow: ellipsis;
|
|
842
|
-
white-space: nowrap;
|
|
843
|
-
}
|
|
844
772
|
.overflow-auto {
|
|
845
773
|
overflow: auto;
|
|
846
774
|
}
|
|
@@ -985,9 +913,6 @@
|
|
|
985
913
|
.bg-transparent {
|
|
986
914
|
background-color: transparent;
|
|
987
915
|
}
|
|
988
|
-
.bg-white {
|
|
989
|
-
background-color: var(--color-white);
|
|
990
|
-
}
|
|
991
916
|
.fill-current {
|
|
992
917
|
fill: currentColor;
|
|
993
918
|
}
|
|
@@ -1019,12 +944,6 @@
|
|
|
1019
944
|
.p-\[1px\] {
|
|
1020
945
|
padding: 1px;
|
|
1021
946
|
}
|
|
1022
|
-
.\!px-0 {
|
|
1023
|
-
padding-inline: calc(var(--spacing) * 0) !important;
|
|
1024
|
-
}
|
|
1025
|
-
.px-0 {
|
|
1026
|
-
padding-inline: calc(var(--spacing) * 0);
|
|
1027
|
-
}
|
|
1028
947
|
.px-2 {
|
|
1029
948
|
padding-inline: calc(var(--spacing) * 2);
|
|
1030
949
|
}
|
|
@@ -1058,9 +977,6 @@
|
|
|
1058
977
|
.py-4 {
|
|
1059
978
|
padding-block: calc(var(--spacing) * 4);
|
|
1060
979
|
}
|
|
1061
|
-
.py-5 {
|
|
1062
|
-
padding-block: calc(var(--spacing) * 5);
|
|
1063
|
-
}
|
|
1064
980
|
.py-6 {
|
|
1065
981
|
padding-block: calc(var(--spacing) * 6);
|
|
1066
982
|
}
|
|
@@ -1112,10 +1028,6 @@
|
|
|
1112
1028
|
.align-middle {
|
|
1113
1029
|
vertical-align: middle;
|
|
1114
1030
|
}
|
|
1115
|
-
.text-2xl {
|
|
1116
|
-
font-size: var(--text-2xl);
|
|
1117
|
-
line-height: var(--tw-leading, var(--text-2xl--line-height));
|
|
1118
|
-
}
|
|
1119
1031
|
.text-lg {
|
|
1120
1032
|
font-size: var(--text-lg);
|
|
1121
1033
|
line-height: var(--tw-leading, var(--text-lg--line-height));
|
|
@@ -1172,9 +1084,6 @@
|
|
|
1172
1084
|
.text-accent-foreground {
|
|
1173
1085
|
color: var(--accent-foreground);
|
|
1174
1086
|
}
|
|
1175
|
-
.text-black {
|
|
1176
|
-
color: var(--color-black);
|
|
1177
|
-
}
|
|
1178
1087
|
.text-card-foreground {
|
|
1179
1088
|
color: var(--card-foreground);
|
|
1180
1089
|
}
|
|
@@ -1211,9 +1120,6 @@
|
|
|
1211
1120
|
.text-secondary-foreground {
|
|
1212
1121
|
color: var(--secondary-foreground);
|
|
1213
1122
|
}
|
|
1214
|
-
.text-white {
|
|
1215
|
-
color: var(--color-white);
|
|
1216
|
-
}
|
|
1217
1123
|
.underline-offset-4 {
|
|
1218
1124
|
text-underline-offset: 4px;
|
|
1219
1125
|
}
|
|
@@ -1229,9 +1135,6 @@
|
|
|
1229
1135
|
.opacity-70 {
|
|
1230
1136
|
opacity: 70%;
|
|
1231
1137
|
}
|
|
1232
|
-
.opacity-80 {
|
|
1233
|
-
opacity: 80%;
|
|
1234
|
-
}
|
|
1235
1138
|
.opacity-90 {
|
|
1236
1139
|
opacity: 90%;
|
|
1237
1140
|
}
|
|
@@ -1377,10 +1280,6 @@
|
|
|
1377
1280
|
--tw-duration: 300ms;
|
|
1378
1281
|
transition-duration: 300ms;
|
|
1379
1282
|
}
|
|
1380
|
-
.duration-500 {
|
|
1381
|
-
--tw-duration: 500ms;
|
|
1382
|
-
transition-duration: 500ms;
|
|
1383
|
-
}
|
|
1384
1283
|
.duration-1000 {
|
|
1385
1284
|
--tw-duration: 1000ms;
|
|
1386
1285
|
transition-duration: 1000ms;
|
|
@@ -1417,9 +1316,6 @@
|
|
|
1417
1316
|
.duration-300 {
|
|
1418
1317
|
animation-duration: 300ms;
|
|
1419
1318
|
}
|
|
1420
|
-
.duration-500 {
|
|
1421
|
-
animation-duration: 500ms;
|
|
1422
|
-
}
|
|
1423
1319
|
.duration-1000 {
|
|
1424
1320
|
animation-duration: 1000ms;
|
|
1425
1321
|
}
|
|
@@ -1687,13 +1583,6 @@
|
|
|
1687
1583
|
}
|
|
1688
1584
|
}
|
|
1689
1585
|
}
|
|
1690
|
-
.hover\:text-black {
|
|
1691
|
-
&:hover {
|
|
1692
|
-
@media (hover: hover) {
|
|
1693
|
-
color: var(--color-black);
|
|
1694
|
-
}
|
|
1695
|
-
}
|
|
1696
|
-
}
|
|
1697
1586
|
.hover\:text-foreground {
|
|
1698
1587
|
&:hover {
|
|
1699
1588
|
@media (hover: hover) {
|
|
@@ -2526,16 +2415,6 @@
|
|
|
2526
2415
|
position: absolute;
|
|
2527
2416
|
}
|
|
2528
2417
|
}
|
|
2529
|
-
.md\:ml-6 {
|
|
2530
|
-
@media (width >= 48rem) {
|
|
2531
|
-
margin-left: calc(var(--spacing) * 6);
|
|
2532
|
-
}
|
|
2533
|
-
}
|
|
2534
|
-
.md\:block {
|
|
2535
|
-
@media (width >= 48rem) {
|
|
2536
|
-
display: block;
|
|
2537
|
-
}
|
|
2538
|
-
}
|
|
2539
2418
|
.md\:h-\[calc\(80dvh-80px\)\] {
|
|
2540
2419
|
@media (width >= 48rem) {
|
|
2541
2420
|
height: calc(80dvh - 80px);
|
|
@@ -2561,11 +2440,6 @@
|
|
|
2561
2440
|
max-width: var(--container-sm);
|
|
2562
2441
|
}
|
|
2563
2442
|
}
|
|
2564
|
-
.md\:px-2 {
|
|
2565
|
-
@media (width >= 48rem) {
|
|
2566
|
-
padding-inline: calc(var(--spacing) * 2);
|
|
2567
|
-
}
|
|
2568
|
-
}
|
|
2569
2443
|
.lg\:block {
|
|
2570
2444
|
@media (width >= 64rem) {
|
|
2571
2445
|
display: block;
|
|
@@ -2586,32 +2460,6 @@
|
|
|
2586
2460
|
gap: calc(var(--spacing) * 8);
|
|
2587
2461
|
}
|
|
2588
2462
|
}
|
|
2589
|
-
.dark\:scale-0 {
|
|
2590
|
-
&:is(.dark *) {
|
|
2591
|
-
--tw-scale-x: 0%;
|
|
2592
|
-
--tw-scale-y: 0%;
|
|
2593
|
-
--tw-scale-z: 0%;
|
|
2594
|
-
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
2595
|
-
}
|
|
2596
|
-
}
|
|
2597
|
-
.dark\:scale-100 {
|
|
2598
|
-
&:is(.dark *) {
|
|
2599
|
-
--tw-scale-x: 100%;
|
|
2600
|
-
--tw-scale-y: 100%;
|
|
2601
|
-
--tw-scale-z: 100%;
|
|
2602
|
-
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
2603
|
-
}
|
|
2604
|
-
}
|
|
2605
|
-
.dark\:-rotate-90 {
|
|
2606
|
-
&:is(.dark *) {
|
|
2607
|
-
rotate: calc(90deg * -1);
|
|
2608
|
-
}
|
|
2609
|
-
}
|
|
2610
|
-
.dark\:rotate-0 {
|
|
2611
|
-
&:is(.dark *) {
|
|
2612
|
-
rotate: 0deg;
|
|
2613
|
-
}
|
|
2614
|
-
}
|
|
2615
2463
|
.dark\:border-destructive {
|
|
2616
2464
|
&:is(.dark *) {
|
|
2617
2465
|
border-color: var(--destructive);
|
|
@@ -2936,9 +2784,6 @@
|
|
|
2936
2784
|
@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
|
|
2937
2785
|
@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
|
|
2938
2786
|
@property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
|
|
2939
|
-
@property --tw-scale-x { syntax: "*"; inherits: false; initial-value: 1; }
|
|
2940
|
-
@property --tw-scale-y { syntax: "*"; inherits: false; initial-value: 1; }
|
|
2941
|
-
@property --tw-scale-z { syntax: "*"; inherits: false; initial-value: 1; }
|
|
2942
2787
|
@property --tw-rotate-x { syntax: "*"; inherits: false; initial-value: rotateX(0); }
|
|
2943
2788
|
@property --tw-rotate-y { syntax: "*"; inherits: false; initial-value: rotateY(0); }
|
|
2944
2789
|
@property --tw-rotate-z { syntax: "*"; inherits: false; initial-value: rotateZ(0); }
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shadcn-ui-react",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Bleker Cordova <bleker@gliyen.com>",
|
|
6
|
-
"description": "React UI library for
|
|
6
|
+
"description": "React UI library for Shadcn",
|
|
7
7
|
"sideEffect": [
|
|
8
8
|
"**/*.css"
|
|
9
9
|
],
|
|
@@ -59,7 +59,6 @@
|
|
|
59
59
|
"react": "^19.0.0",
|
|
60
60
|
"react-day-picker": "^9.5.1",
|
|
61
61
|
"react-dom": "^19.0.0",
|
|
62
|
-
"react-router-dom": "^7.2.0",
|
|
63
62
|
"react-test-renderer": "^19.0.0",
|
|
64
63
|
"rimraf": "^6.0.1",
|
|
65
64
|
"tailwindcss": "^4.0.9",
|
|
@@ -121,6 +120,7 @@
|
|
|
121
120
|
"react-dropzone": "^14.3.8",
|
|
122
121
|
"react-helmet-next": "^0.0.1",
|
|
123
122
|
"react-resizable-panels": "^2.1.7",
|
|
123
|
+
"vaul": "^1.1.2",
|
|
124
124
|
"sonner": "^2.0.1",
|
|
125
125
|
"tailwind-merge": "^3.0.2",
|
|
126
126
|
"tailwind-variants": "^0.3.1",
|