shadcn-ui-react 0.7.11 → 0.7.13
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 +386 -245
- package/dist/index.d.cts +2 -4
- package/dist/index.d.ts +2 -4
- package/dist/index.js +386 -245
- package/dist/style.css +81 -88
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -61,10 +61,13 @@
|
|
|
61
61
|
--color-black: #000;
|
|
62
62
|
--color-white: #fff;
|
|
63
63
|
--spacing: 0.25rem;
|
|
64
|
+
--container-xs: 20rem;
|
|
64
65
|
--container-sm: 24rem;
|
|
65
66
|
--container-md: 28rem;
|
|
66
67
|
--container-lg: 32rem;
|
|
67
68
|
--container-xl: 36rem;
|
|
69
|
+
--container-2xl: 42rem;
|
|
70
|
+
--container-3xl: 48rem;
|
|
68
71
|
--text-xs: 0.75rem;
|
|
69
72
|
--text-xs--line-height: calc(1 / 0.75);
|
|
70
73
|
--text-sm: 0.875rem;
|
|
@@ -313,9 +316,6 @@
|
|
|
313
316
|
.invisible {
|
|
314
317
|
visibility: hidden;
|
|
315
318
|
}
|
|
316
|
-
.visible {
|
|
317
|
-
visibility: visible;
|
|
318
|
-
}
|
|
319
319
|
.sr-only {
|
|
320
320
|
position: absolute;
|
|
321
321
|
width: 1px;
|
|
@@ -468,6 +468,9 @@
|
|
|
468
468
|
.my-1 {
|
|
469
469
|
margin-block: calc(var(--spacing) * 1);
|
|
470
470
|
}
|
|
471
|
+
.-mt-0\.75 {
|
|
472
|
+
margin-top: calc(var(--spacing) * -0.75);
|
|
473
|
+
}
|
|
471
474
|
.-mt-4 {
|
|
472
475
|
margin-top: calc(var(--spacing) * -4);
|
|
473
476
|
}
|
|
@@ -628,12 +631,12 @@
|
|
|
628
631
|
.h-px {
|
|
629
632
|
height: 1px;
|
|
630
633
|
}
|
|
631
|
-
.max-h-72 {
|
|
632
|
-
max-height: calc(var(--spacing) * 72);
|
|
633
|
-
}
|
|
634
634
|
.max-h-\[300px\] {
|
|
635
635
|
max-height: 300px;
|
|
636
636
|
}
|
|
637
|
+
.max-h-\[calc\(100vh-2rem\)\] {
|
|
638
|
+
max-height: calc(100vh - 2rem);
|
|
639
|
+
}
|
|
637
640
|
.max-h-full {
|
|
638
641
|
max-height: 100%;
|
|
639
642
|
}
|
|
@@ -649,9 +652,6 @@
|
|
|
649
652
|
.min-h-screen {
|
|
650
653
|
min-height: 100vh;
|
|
651
654
|
}
|
|
652
|
-
.w-\(--radix-select-trigger-width\) {
|
|
653
|
-
width: var(--radix-select-trigger-width);
|
|
654
|
-
}
|
|
655
655
|
.w-2 {
|
|
656
656
|
width: calc(var(--spacing) * 2);
|
|
657
657
|
}
|
|
@@ -724,6 +724,9 @@
|
|
|
724
724
|
.w-\[100px\] {
|
|
725
725
|
width: 100px;
|
|
726
726
|
}
|
|
727
|
+
.w-\[calc\(100vw-1rem\)\] {
|
|
728
|
+
width: calc(100vw - 1rem);
|
|
729
|
+
}
|
|
727
730
|
.w-full {
|
|
728
731
|
width: 100%;
|
|
729
732
|
}
|
|
@@ -747,9 +750,6 @@
|
|
|
747
750
|
.max-w-xl {
|
|
748
751
|
max-width: var(--container-xl);
|
|
749
752
|
}
|
|
750
|
-
.min-w-\(--radix-select-trigger-width\) {
|
|
751
|
-
min-width: var(--radix-select-trigger-width);
|
|
752
|
-
}
|
|
753
753
|
.min-w-0 {
|
|
754
754
|
min-width: calc(var(--spacing) * 0);
|
|
755
755
|
}
|
|
@@ -854,15 +854,16 @@
|
|
|
854
854
|
.resize {
|
|
855
855
|
resize: both;
|
|
856
856
|
}
|
|
857
|
-
|
|
858
|
-
scrollbar-width: thin;
|
|
859
|
-
}
|
|
860
|
-
.\[scrollbar-gutter\:stable\] {
|
|
857
|
+
.scrollbar-gutter-stable {
|
|
861
858
|
scrollbar-gutter: stable;
|
|
862
859
|
}
|
|
863
860
|
.list-none {
|
|
864
861
|
list-style-type: none;
|
|
865
862
|
}
|
|
863
|
+
.columns-3 {
|
|
864
|
+
-moz-columns: 3;
|
|
865
|
+
columns: 3;
|
|
866
|
+
}
|
|
866
867
|
.grid-cols-1 {
|
|
867
868
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
868
869
|
}
|
|
@@ -917,6 +918,13 @@
|
|
|
917
918
|
.gap-6 {
|
|
918
919
|
gap: calc(var(--spacing) * 6);
|
|
919
920
|
}
|
|
921
|
+
.space-y-0\.5 {
|
|
922
|
+
:where(& > :not(:last-child)) {
|
|
923
|
+
--tw-space-y-reverse: 0;
|
|
924
|
+
margin-block-start: calc(calc(var(--spacing) * 0.5) * var(--tw-space-y-reverse));
|
|
925
|
+
margin-block-end: calc(calc(var(--spacing) * 0.5) * calc(1 - var(--tw-space-y-reverse)));
|
|
926
|
+
}
|
|
927
|
+
}
|
|
920
928
|
.space-y-1 {
|
|
921
929
|
:where(& > :not(:last-child)) {
|
|
922
930
|
--tw-space-y-reverse: 0;
|
|
@@ -984,21 +992,12 @@
|
|
|
984
992
|
.overflow-hidden {
|
|
985
993
|
overflow: hidden;
|
|
986
994
|
}
|
|
987
|
-
.overflow-hidden\! {
|
|
988
|
-
overflow: hidden !important;
|
|
989
|
-
}
|
|
990
995
|
.overflow-visible {
|
|
991
996
|
overflow: visible;
|
|
992
997
|
}
|
|
993
|
-
.\!overflow-x-hidden {
|
|
994
|
-
overflow-x: hidden !important;
|
|
995
|
-
}
|
|
996
998
|
.overflow-x-hidden {
|
|
997
999
|
overflow-x: hidden;
|
|
998
1000
|
}
|
|
999
|
-
.\!overflow-y-scroll {
|
|
1000
|
-
overflow-y: scroll !important;
|
|
1001
|
-
}
|
|
1002
1001
|
.overflow-y-auto {
|
|
1003
1002
|
overflow-y: auto;
|
|
1004
1003
|
}
|
|
@@ -1489,6 +1488,9 @@
|
|
|
1489
1488
|
.py-4 {
|
|
1490
1489
|
padding-block: calc(var(--spacing) * 4);
|
|
1491
1490
|
}
|
|
1491
|
+
.py-5 {
|
|
1492
|
+
padding-block: calc(var(--spacing) * 5);
|
|
1493
|
+
}
|
|
1492
1494
|
.py-6 {
|
|
1493
1495
|
padding-block: calc(var(--spacing) * 6);
|
|
1494
1496
|
}
|
|
@@ -1501,6 +1503,9 @@
|
|
|
1501
1503
|
.pt-4 {
|
|
1502
1504
|
padding-top: calc(var(--spacing) * 4);
|
|
1503
1505
|
}
|
|
1506
|
+
.pt-5 {
|
|
1507
|
+
padding-top: calc(var(--spacing) * 5);
|
|
1508
|
+
}
|
|
1504
1509
|
.pt-6 {
|
|
1505
1510
|
padding-top: calc(var(--spacing) * 6);
|
|
1506
1511
|
}
|
|
@@ -1558,6 +1563,9 @@
|
|
|
1558
1563
|
.text-left {
|
|
1559
1564
|
text-align: left;
|
|
1560
1565
|
}
|
|
1566
|
+
.text-start {
|
|
1567
|
+
text-align: start;
|
|
1568
|
+
}
|
|
1561
1569
|
.align-middle {
|
|
1562
1570
|
vertical-align: middle;
|
|
1563
1571
|
}
|
|
@@ -1741,9 +1749,6 @@
|
|
|
1741
1749
|
.opacity-90 {
|
|
1742
1750
|
opacity: 90%;
|
|
1743
1751
|
}
|
|
1744
|
-
.opacity-100 {
|
|
1745
|
-
opacity: 100%;
|
|
1746
|
-
}
|
|
1747
1752
|
.shadow {
|
|
1748
1753
|
--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));
|
|
1749
1754
|
box-shadow:
|
|
@@ -2992,6 +2997,11 @@
|
|
|
2992
2997
|
opacity: 50%;
|
|
2993
2998
|
}
|
|
2994
2999
|
}
|
|
3000
|
+
.has-\[\[role\=checkbox\]\]\:pr-0 {
|
|
3001
|
+
&:has(*:is([role=checkbox])) {
|
|
3002
|
+
padding-right: calc(var(--spacing) * 0);
|
|
3003
|
+
}
|
|
3004
|
+
}
|
|
2995
3005
|
.aria-selected\:bg-accent {
|
|
2996
3006
|
&[aria-selected=true] {
|
|
2997
3007
|
background-color: var(--accent);
|
|
@@ -3726,11 +3736,52 @@
|
|
|
3726
3736
|
display: none;
|
|
3727
3737
|
}
|
|
3728
3738
|
}
|
|
3739
|
+
.sm\:w-fit {
|
|
3740
|
+
@media (width >= 40rem) {
|
|
3741
|
+
width: -moz-fit-content;
|
|
3742
|
+
width: fit-content;
|
|
3743
|
+
}
|
|
3744
|
+
}
|
|
3745
|
+
.sm\:max-w-2xl {
|
|
3746
|
+
@media (width >= 40rem) {
|
|
3747
|
+
max-width: var(--container-2xl);
|
|
3748
|
+
}
|
|
3749
|
+
}
|
|
3750
|
+
.sm\:max-w-3xl {
|
|
3751
|
+
@media (width >= 40rem) {
|
|
3752
|
+
max-width: var(--container-3xl);
|
|
3753
|
+
}
|
|
3754
|
+
}
|
|
3755
|
+
.sm\:max-w-\[calc\(100vw-2rem\)\] {
|
|
3756
|
+
@media (width >= 40rem) {
|
|
3757
|
+
max-width: calc(100vw - 2rem);
|
|
3758
|
+
}
|
|
3759
|
+
}
|
|
3760
|
+
.sm\:max-w-lg {
|
|
3761
|
+
@media (width >= 40rem) {
|
|
3762
|
+
max-width: var(--container-lg);
|
|
3763
|
+
}
|
|
3764
|
+
}
|
|
3765
|
+
.sm\:max-w-md {
|
|
3766
|
+
@media (width >= 40rem) {
|
|
3767
|
+
max-width: var(--container-md);
|
|
3768
|
+
}
|
|
3769
|
+
}
|
|
3729
3770
|
.sm\:max-w-sm {
|
|
3730
3771
|
@media (width >= 40rem) {
|
|
3731
3772
|
max-width: var(--container-sm);
|
|
3732
3773
|
}
|
|
3733
3774
|
}
|
|
3775
|
+
.sm\:max-w-xl {
|
|
3776
|
+
@media (width >= 40rem) {
|
|
3777
|
+
max-width: var(--container-xl);
|
|
3778
|
+
}
|
|
3779
|
+
}
|
|
3780
|
+
.sm\:max-w-xs {
|
|
3781
|
+
@media (width >= 40rem) {
|
|
3782
|
+
max-width: var(--container-xs);
|
|
3783
|
+
}
|
|
3784
|
+
}
|
|
3734
3785
|
.sm\:grid-cols-\[1fr_auto\] {
|
|
3735
3786
|
@media (width >= 40rem) {
|
|
3736
3787
|
grid-template-columns: 1fr auto;
|
|
@@ -3993,26 +4044,6 @@
|
|
|
3993
4044
|
width: calc(var(--spacing) * 5);
|
|
3994
4045
|
}
|
|
3995
4046
|
}
|
|
3996
|
-
.\[\&_\[data-radix-select-viewport\]\]\:max-h-72 {
|
|
3997
|
-
& [data-radix-select-viewport] {
|
|
3998
|
-
max-height: calc(var(--spacing) * 72);
|
|
3999
|
-
}
|
|
4000
|
-
}
|
|
4001
|
-
.\[\&_\[data-radix-select-viewport\]\]\:\[scrollbar-gutter\:stable\] {
|
|
4002
|
-
& [data-radix-select-viewport] {
|
|
4003
|
-
scrollbar-gutter: stable;
|
|
4004
|
-
}
|
|
4005
|
-
}
|
|
4006
|
-
.\[\&_\[data-radix-select-viewport\]\]\:overflow-y-auto {
|
|
4007
|
-
& [data-radix-select-viewport] {
|
|
4008
|
-
overflow-y: auto;
|
|
4009
|
-
}
|
|
4010
|
-
}
|
|
4011
|
-
.\[\&_\[data-radix-select-viewport\]\]\:overscroll-contain {
|
|
4012
|
-
& [data-radix-select-viewport] {
|
|
4013
|
-
overscroll-behavior: contain;
|
|
4014
|
-
}
|
|
4015
|
-
}
|
|
4016
4047
|
.\[\&_p\]\:leading-relaxed {
|
|
4017
4048
|
& p {
|
|
4018
4049
|
--tw-leading: var(--leading-relaxed);
|
|
@@ -4245,36 +4276,6 @@
|
|
|
4245
4276
|
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
4246
4277
|
}
|
|
4247
4278
|
}
|
|
4248
|
-
.\[\&\:\:-webkit-scrollbar\]\:\!block {
|
|
4249
|
-
&::-webkit-scrollbar {
|
|
4250
|
-
display: block !important;
|
|
4251
|
-
}
|
|
4252
|
-
}
|
|
4253
|
-
.\[\&\:\:-webkit-scrollbar\]\:\!w-2 {
|
|
4254
|
-
&::-webkit-scrollbar {
|
|
4255
|
-
width: calc(var(--spacing) * 2) !important;
|
|
4256
|
-
}
|
|
4257
|
-
}
|
|
4258
|
-
.\[\&\:\:-webkit-scrollbar-thumb\]\:\!rounded-full {
|
|
4259
|
-
&::-webkit-scrollbar-thumb {
|
|
4260
|
-
border-radius: calc(infinity * 1px) !important;
|
|
4261
|
-
}
|
|
4262
|
-
}
|
|
4263
|
-
.\[\&\:\:-webkit-scrollbar-thumb\]\:\!bg-border {
|
|
4264
|
-
&::-webkit-scrollbar-thumb {
|
|
4265
|
-
background-color: var(--border) !important;
|
|
4266
|
-
}
|
|
4267
|
-
}
|
|
4268
|
-
.\[\&\:\:-webkit-scrollbar-track\]\:\!bg-transparent {
|
|
4269
|
-
&::-webkit-scrollbar-track {
|
|
4270
|
-
background-color: transparent !important;
|
|
4271
|
-
}
|
|
4272
|
-
}
|
|
4273
|
-
.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0 {
|
|
4274
|
-
&:has([role=checkbox]) {
|
|
4275
|
-
padding-right: calc(var(--spacing) * 0);
|
|
4276
|
-
}
|
|
4277
|
-
}
|
|
4278
4279
|
.\*\:\[\[role\=checkbox\]\]\:translate-y-0\.5 {
|
|
4279
4280
|
:is(& > *) {
|
|
4280
4281
|
&:is([role=checkbox]) {
|
|
@@ -4350,14 +4351,6 @@
|
|
|
4350
4351
|
color: var(--primary-foreground);
|
|
4351
4352
|
}
|
|
4352
4353
|
}
|
|
4353
|
-
.\[\&\>span\]\:line-clamp-1 {
|
|
4354
|
-
& > span {
|
|
4355
|
-
overflow: hidden;
|
|
4356
|
-
display: -webkit-box;
|
|
4357
|
-
-webkit-box-orient: vertical;
|
|
4358
|
-
-webkit-line-clamp: 1;
|
|
4359
|
-
}
|
|
4360
|
-
}
|
|
4361
4354
|
.\[\&\>svg\]\:absolute {
|
|
4362
4355
|
& > svg {
|
|
4363
4356
|
position: absolute;
|
|
@@ -4531,7 +4524,7 @@
|
|
|
4531
4524
|
}
|
|
4532
4525
|
}
|
|
4533
4526
|
[data-select-scroll-content] {
|
|
4534
|
-
overflow-y:
|
|
4527
|
+
overflow-y: auto !important;
|
|
4535
4528
|
scrollbar-width: thin !important;
|
|
4536
4529
|
}
|
|
4537
4530
|
[data-select-scroll-content]::-webkit-scrollbar {
|
|
@@ -4543,7 +4536,7 @@
|
|
|
4543
4536
|
}
|
|
4544
4537
|
[data-select-scroll-content]::-webkit-scrollbar-thumb {
|
|
4545
4538
|
border-radius: 9999px !important;
|
|
4546
|
-
background:
|
|
4539
|
+
background: var(--border) !important;
|
|
4547
4540
|
}
|
|
4548
4541
|
@keyframes enter {
|
|
4549
4542
|
from {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shadcn-ui-react",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Bleker <bleker@gliyen.com>",
|
|
6
6
|
"description": "A collection of components for building beautiful and accessible user interfaces with React and Tailwind CSS.",
|