shadcn-ui-react 0.7.10 → 0.7.12
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/README.md +1 -1
- package/dist/index.cjs +1152 -406
- package/dist/index.d.cts +99 -29
- package/dist/index.d.ts +99 -29
- package/dist/index.js +1157 -424
- package/dist/style.css +98 -94
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -313,9 +313,6 @@
|
|
|
313
313
|
.invisible {
|
|
314
314
|
visibility: hidden;
|
|
315
315
|
}
|
|
316
|
-
.visible {
|
|
317
|
-
visibility: visible;
|
|
318
|
-
}
|
|
319
316
|
.sr-only {
|
|
320
317
|
position: absolute;
|
|
321
318
|
width: 1px;
|
|
@@ -468,6 +465,9 @@
|
|
|
468
465
|
.my-1 {
|
|
469
466
|
margin-block: calc(var(--spacing) * 1);
|
|
470
467
|
}
|
|
468
|
+
.-mt-0\.75 {
|
|
469
|
+
margin-top: calc(var(--spacing) * -0.75);
|
|
470
|
+
}
|
|
471
471
|
.-mt-4 {
|
|
472
472
|
margin-top: calc(var(--spacing) * -4);
|
|
473
473
|
}
|
|
@@ -628,14 +628,11 @@
|
|
|
628
628
|
.h-px {
|
|
629
629
|
height: 1px;
|
|
630
630
|
}
|
|
631
|
-
.max-h-72 {
|
|
632
|
-
max-height: calc(var(--spacing) * 72);
|
|
633
|
-
}
|
|
634
631
|
.max-h-\[300px\] {
|
|
635
632
|
max-height: 300px;
|
|
636
633
|
}
|
|
637
|
-
.max-h
|
|
638
|
-
max-height:
|
|
634
|
+
.max-h-full {
|
|
635
|
+
max-height: 100%;
|
|
639
636
|
}
|
|
640
637
|
.max-h-screen {
|
|
641
638
|
max-height: 100vh;
|
|
@@ -643,18 +640,12 @@
|
|
|
643
640
|
.min-h-0 {
|
|
644
641
|
min-height: calc(var(--spacing) * 0);
|
|
645
642
|
}
|
|
646
|
-
.min-h-10 {
|
|
647
|
-
min-height: calc(var(--spacing) * 10);
|
|
648
|
-
}
|
|
649
643
|
.min-h-\[60px\] {
|
|
650
644
|
min-height: 60px;
|
|
651
645
|
}
|
|
652
646
|
.min-h-screen {
|
|
653
647
|
min-height: 100vh;
|
|
654
648
|
}
|
|
655
|
-
.w-\(--radix-select-trigger-width\) {
|
|
656
|
-
width: var(--radix-select-trigger-width);
|
|
657
|
-
}
|
|
658
649
|
.w-2 {
|
|
659
650
|
width: calc(var(--spacing) * 2);
|
|
660
651
|
}
|
|
@@ -750,9 +741,6 @@
|
|
|
750
741
|
.max-w-xl {
|
|
751
742
|
max-width: var(--container-xl);
|
|
752
743
|
}
|
|
753
|
-
.min-w-\(--radix-select-trigger-width\) {
|
|
754
|
-
min-width: var(--radix-select-trigger-width);
|
|
755
|
-
}
|
|
756
744
|
.min-w-0 {
|
|
757
745
|
min-width: calc(var(--spacing) * 0);
|
|
758
746
|
}
|
|
@@ -854,12 +842,19 @@
|
|
|
854
842
|
.touch-none {
|
|
855
843
|
touch-action: none;
|
|
856
844
|
}
|
|
857
|
-
|
|
845
|
+
.resize {
|
|
846
|
+
resize: both;
|
|
847
|
+
}
|
|
848
|
+
.scrollbar-gutter-stable {
|
|
858
849
|
scrollbar-gutter: stable;
|
|
859
850
|
}
|
|
860
851
|
.list-none {
|
|
861
852
|
list-style-type: none;
|
|
862
853
|
}
|
|
854
|
+
.columns-3 {
|
|
855
|
+
-moz-columns: 3;
|
|
856
|
+
columns: 3;
|
|
857
|
+
}
|
|
863
858
|
.grid-cols-1 {
|
|
864
859
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
865
860
|
}
|
|
@@ -914,6 +909,13 @@
|
|
|
914
909
|
.gap-6 {
|
|
915
910
|
gap: calc(var(--spacing) * 6);
|
|
916
911
|
}
|
|
912
|
+
.space-y-0\.5 {
|
|
913
|
+
:where(& > :not(:last-child)) {
|
|
914
|
+
--tw-space-y-reverse: 0;
|
|
915
|
+
margin-block-start: calc(calc(var(--spacing) * 0.5) * var(--tw-space-y-reverse));
|
|
916
|
+
margin-block-end: calc(calc(var(--spacing) * 0.5) * calc(1 - var(--tw-space-y-reverse)));
|
|
917
|
+
}
|
|
918
|
+
}
|
|
917
919
|
.space-y-1 {
|
|
918
920
|
:where(& > :not(:last-child)) {
|
|
919
921
|
--tw-space-y-reverse: 0;
|
|
@@ -981,9 +983,6 @@
|
|
|
981
983
|
.overflow-hidden {
|
|
982
984
|
overflow: hidden;
|
|
983
985
|
}
|
|
984
|
-
.overflow-hidden\! {
|
|
985
|
-
overflow: hidden !important;
|
|
986
|
-
}
|
|
987
986
|
.overflow-visible {
|
|
988
987
|
overflow: visible;
|
|
989
988
|
}
|
|
@@ -1435,6 +1434,9 @@
|
|
|
1435
1434
|
.px-0 {
|
|
1436
1435
|
padding-inline: calc(var(--spacing) * 0);
|
|
1437
1436
|
}
|
|
1437
|
+
.px-1 {
|
|
1438
|
+
padding-inline: calc(var(--spacing) * 1);
|
|
1439
|
+
}
|
|
1438
1440
|
.px-2 {
|
|
1439
1441
|
padding-inline: calc(var(--spacing) * 2);
|
|
1440
1442
|
}
|
|
@@ -1729,9 +1731,6 @@
|
|
|
1729
1731
|
.opacity-90 {
|
|
1730
1732
|
opacity: 90%;
|
|
1731
1733
|
}
|
|
1732
|
-
.opacity-100 {
|
|
1733
|
-
opacity: 100%;
|
|
1734
|
-
}
|
|
1735
1734
|
.shadow {
|
|
1736
1735
|
--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));
|
|
1737
1736
|
box-shadow:
|
|
@@ -1837,9 +1836,6 @@
|
|
|
1837
1836
|
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-fuchsia-500) 20%, transparent) var(--tw-shadow-alpha), transparent);
|
|
1838
1837
|
}
|
|
1839
1838
|
}
|
|
1840
|
-
.ring-destructive {
|
|
1841
|
-
--tw-ring-color: var(--destructive);
|
|
1842
|
-
}
|
|
1843
1839
|
.ring-destructive\/20 {
|
|
1844
1840
|
--tw-ring-color: var(--destructive);
|
|
1845
1841
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -2170,19 +2166,54 @@
|
|
|
2170
2166
|
z-index: 20;
|
|
2171
2167
|
}
|
|
2172
2168
|
}
|
|
2169
|
+
.focus-within\:border-b-2 {
|
|
2170
|
+
&:focus-within {
|
|
2171
|
+
border-bottom-style: var(--tw-border-style);
|
|
2172
|
+
border-bottom-width: 2px;
|
|
2173
|
+
}
|
|
2174
|
+
}
|
|
2175
|
+
.focus-within\:border-destructive {
|
|
2176
|
+
&:focus-within {
|
|
2177
|
+
border-color: var(--destructive);
|
|
2178
|
+
}
|
|
2179
|
+
}
|
|
2173
2180
|
.focus-within\:border-primary {
|
|
2174
2181
|
&:focus-within {
|
|
2175
2182
|
border-color: var(--primary);
|
|
2176
2183
|
}
|
|
2177
2184
|
}
|
|
2178
|
-
.focus-within\:
|
|
2185
|
+
.focus-within\:bg-input\/70 {
|
|
2179
2186
|
&:focus-within {
|
|
2180
|
-
|
|
2187
|
+
background-color: var(--input);
|
|
2181
2188
|
@supports (color: color-mix(in lab, red, red)) {
|
|
2182
|
-
|
|
2189
|
+
background-color: color-mix(in oklab, var(--input) 70%, transparent);
|
|
2183
2190
|
}
|
|
2184
2191
|
}
|
|
2185
2192
|
}
|
|
2193
|
+
.focus-within\:bg-input\/80 {
|
|
2194
|
+
&:focus-within {
|
|
2195
|
+
background-color: var(--input);
|
|
2196
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2197
|
+
background-color: color-mix(in oklab, var(--input) 80%, transparent);
|
|
2198
|
+
}
|
|
2199
|
+
}
|
|
2200
|
+
}
|
|
2201
|
+
.focus-within\:underline {
|
|
2202
|
+
&:focus-within {
|
|
2203
|
+
text-decoration-line: underline;
|
|
2204
|
+
}
|
|
2205
|
+
}
|
|
2206
|
+
.focus-within\:ring-0 {
|
|
2207
|
+
&:focus-within {
|
|
2208
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
2209
|
+
box-shadow:
|
|
2210
|
+
var(--tw-inset-shadow),
|
|
2211
|
+
var(--tw-inset-ring-shadow),
|
|
2212
|
+
var(--tw-ring-offset-shadow),
|
|
2213
|
+
var(--tw-ring-shadow),
|
|
2214
|
+
var(--tw-shadow);
|
|
2215
|
+
}
|
|
2216
|
+
}
|
|
2186
2217
|
.focus-within\:ring-2 {
|
|
2187
2218
|
&:focus-within {
|
|
2188
2219
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
@@ -2194,6 +2225,14 @@
|
|
|
2194
2225
|
var(--tw-shadow);
|
|
2195
2226
|
}
|
|
2196
2227
|
}
|
|
2228
|
+
.focus-within\:ring-destructive\/20 {
|
|
2229
|
+
&:focus-within {
|
|
2230
|
+
--tw-ring-color: var(--destructive);
|
|
2231
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2232
|
+
--tw-ring-color: color-mix(in oklab, var(--destructive) 20%, transparent);
|
|
2233
|
+
}
|
|
2234
|
+
}
|
|
2235
|
+
}
|
|
2197
2236
|
.focus-within\:ring-primary\/20 {
|
|
2198
2237
|
&:focus-within {
|
|
2199
2238
|
--tw-ring-color: var(--primary);
|
|
@@ -2202,6 +2241,11 @@
|
|
|
2202
2241
|
}
|
|
2203
2242
|
}
|
|
2204
2243
|
}
|
|
2244
|
+
.focus-within\:ring-ring {
|
|
2245
|
+
&:focus-within {
|
|
2246
|
+
--tw-ring-color: var(--ring);
|
|
2247
|
+
}
|
|
2248
|
+
}
|
|
2205
2249
|
.hover\:border-gray-400 {
|
|
2206
2250
|
&:hover {
|
|
2207
2251
|
@media (hover: hover) {
|
|
@@ -2747,14 +2791,6 @@
|
|
|
2747
2791
|
}
|
|
2748
2792
|
}
|
|
2749
2793
|
}
|
|
2750
|
-
.focus\:ring-destructive\/40 {
|
|
2751
|
-
&:focus {
|
|
2752
|
-
--tw-ring-color: var(--destructive);
|
|
2753
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2754
|
-
--tw-ring-color: color-mix(in oklab, var(--destructive) 40%, transparent);
|
|
2755
|
-
}
|
|
2756
|
-
}
|
|
2757
|
-
}
|
|
2758
2794
|
.focus\:ring-primary\/20 {
|
|
2759
2795
|
&:focus {
|
|
2760
2796
|
--tw-ring-color: var(--primary);
|
|
@@ -2958,14 +2994,14 @@
|
|
|
2958
2994
|
flex-direction: column;
|
|
2959
2995
|
}
|
|
2960
2996
|
}
|
|
2961
|
-
.data-
|
|
2962
|
-
&[data-
|
|
2963
|
-
|
|
2997
|
+
.data-highlighted\:bg-accent {
|
|
2998
|
+
&[data-highlighted] {
|
|
2999
|
+
background-color: var(--accent);
|
|
2964
3000
|
}
|
|
2965
3001
|
}
|
|
2966
|
-
.data-
|
|
2967
|
-
&[data-
|
|
2968
|
-
|
|
3002
|
+
.data-highlighted\:text-accent-foreground {
|
|
3003
|
+
&[data-highlighted] {
|
|
3004
|
+
color: var(--accent-foreground);
|
|
2969
3005
|
}
|
|
2970
3006
|
}
|
|
2971
3007
|
.data-\[accent\=on\]\:before\:bg-\[color\:var\(--dt-accent\)\] {
|
|
@@ -3176,10 +3212,9 @@
|
|
|
3176
3212
|
}
|
|
3177
3213
|
}
|
|
3178
3214
|
}
|
|
3179
|
-
.data-\[
|
|
3180
|
-
&[data-
|
|
3181
|
-
|
|
3182
|
-
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
3215
|
+
.data-\[placeholder\]\:text-muted-foreground {
|
|
3216
|
+
&[data-placeholder] {
|
|
3217
|
+
color: var(--muted-foreground);
|
|
3183
3218
|
}
|
|
3184
3219
|
}
|
|
3185
3220
|
.data-\[side\=bottom\]\:slide-in-from-top-2 {
|
|
@@ -3187,34 +3222,16 @@
|
|
|
3187
3222
|
--tw-enter-translate-y: -0.5rem;
|
|
3188
3223
|
}
|
|
3189
3224
|
}
|
|
3190
|
-
.data-\[side\=left\]\:-translate-x-1 {
|
|
3191
|
-
&[data-side=left] {
|
|
3192
|
-
--tw-translate-x: calc(var(--spacing) * -1);
|
|
3193
|
-
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
3194
|
-
}
|
|
3195
|
-
}
|
|
3196
3225
|
.data-\[side\=left\]\:slide-in-from-right-2 {
|
|
3197
3226
|
&[data-side=left] {
|
|
3198
3227
|
--tw-enter-translate-x: 0.5rem;
|
|
3199
3228
|
}
|
|
3200
3229
|
}
|
|
3201
|
-
.data-\[side\=right\]\:translate-x-1 {
|
|
3202
|
-
&[data-side=right] {
|
|
3203
|
-
--tw-translate-x: calc(var(--spacing) * 1);
|
|
3204
|
-
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
3205
|
-
}
|
|
3206
|
-
}
|
|
3207
3230
|
.data-\[side\=right\]\:slide-in-from-left-2 {
|
|
3208
3231
|
&[data-side=right] {
|
|
3209
3232
|
--tw-enter-translate-x: -0.5rem;
|
|
3210
3233
|
}
|
|
3211
3234
|
}
|
|
3212
|
-
.data-\[side\=top\]\:-translate-y-1 {
|
|
3213
|
-
&[data-side=top] {
|
|
3214
|
-
--tw-translate-y: calc(var(--spacing) * -1);
|
|
3215
|
-
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
3216
|
-
}
|
|
3217
|
-
}
|
|
3218
3235
|
.data-\[side\=top\]\:slide-in-from-bottom-2 {
|
|
3219
3236
|
&[data-side=top] {
|
|
3220
3237
|
--tw-enter-translate-y: 0.5rem;
|
|
@@ -3963,26 +3980,6 @@
|
|
|
3963
3980
|
width: calc(var(--spacing) * 5);
|
|
3964
3981
|
}
|
|
3965
3982
|
}
|
|
3966
|
-
.\[\&_\[data-radix-select-viewport\]\]\:max-h-72 {
|
|
3967
|
-
& [data-radix-select-viewport] {
|
|
3968
|
-
max-height: calc(var(--spacing) * 72);
|
|
3969
|
-
}
|
|
3970
|
-
}
|
|
3971
|
-
.\[\&_\[data-radix-select-viewport\]\]\:\[scrollbar-gutter\:stable\] {
|
|
3972
|
-
& [data-radix-select-viewport] {
|
|
3973
|
-
scrollbar-gutter: stable;
|
|
3974
|
-
}
|
|
3975
|
-
}
|
|
3976
|
-
.\[\&_\[data-radix-select-viewport\]\]\:overflow-y-auto {
|
|
3977
|
-
& [data-radix-select-viewport] {
|
|
3978
|
-
overflow-y: auto;
|
|
3979
|
-
}
|
|
3980
|
-
}
|
|
3981
|
-
.\[\&_\[data-radix-select-viewport\]\]\:overscroll-contain {
|
|
3982
|
-
& [data-radix-select-viewport] {
|
|
3983
|
-
overscroll-behavior: contain;
|
|
3984
|
-
}
|
|
3985
|
-
}
|
|
3986
3983
|
.\[\&_p\]\:leading-relaxed {
|
|
3987
3984
|
& p {
|
|
3988
3985
|
--tw-leading: var(--leading-relaxed);
|
|
@@ -4295,14 +4292,6 @@
|
|
|
4295
4292
|
color: var(--primary-foreground);
|
|
4296
4293
|
}
|
|
4297
4294
|
}
|
|
4298
|
-
.\[\&\>span\]\:line-clamp-1 {
|
|
4299
|
-
& > span {
|
|
4300
|
-
overflow: hidden;
|
|
4301
|
-
display: -webkit-box;
|
|
4302
|
-
-webkit-box-orient: vertical;
|
|
4303
|
-
-webkit-line-clamp: 1;
|
|
4304
|
-
}
|
|
4305
|
-
}
|
|
4306
4295
|
.\[\&\>svg\]\:absolute {
|
|
4307
4296
|
& > svg {
|
|
4308
4297
|
position: absolute;
|
|
@@ -4475,6 +4464,21 @@
|
|
|
4475
4464
|
color: var(--foreground);
|
|
4476
4465
|
}
|
|
4477
4466
|
}
|
|
4467
|
+
[data-select-scroll-content] {
|
|
4468
|
+
overflow-y: auto !important;
|
|
4469
|
+
scrollbar-width: thin !important;
|
|
4470
|
+
}
|
|
4471
|
+
[data-select-scroll-content]::-webkit-scrollbar {
|
|
4472
|
+
display: block !important;
|
|
4473
|
+
width: 8px !important;
|
|
4474
|
+
}
|
|
4475
|
+
[data-select-scroll-content]::-webkit-scrollbar-track {
|
|
4476
|
+
background: transparent !important;
|
|
4477
|
+
}
|
|
4478
|
+
[data-select-scroll-content]::-webkit-scrollbar-thumb {
|
|
4479
|
+
border-radius: 9999px !important;
|
|
4480
|
+
background: var(--border) !important;
|
|
4481
|
+
}
|
|
4478
4482
|
@keyframes enter {
|
|
4479
4483
|
from {
|
|
4480
4484
|
opacity: var(--tw-enter-opacity, 1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shadcn-ui-react",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.12",
|
|
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.",
|