shadcn-ui-react 0.7.10 → 0.7.11
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 +860 -253
- package/dist/index.d.cts +100 -28
- package/dist/index.d.ts +100 -28
- package/dist/index.js +865 -271
- package/dist/style.css +117 -47
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -634,8 +634,8 @@
|
|
|
634
634
|
.max-h-\[300px\] {
|
|
635
635
|
max-height: 300px;
|
|
636
636
|
}
|
|
637
|
-
.max-h
|
|
638
|
-
max-height:
|
|
637
|
+
.max-h-full {
|
|
638
|
+
max-height: 100%;
|
|
639
639
|
}
|
|
640
640
|
.max-h-screen {
|
|
641
641
|
max-height: 100vh;
|
|
@@ -643,9 +643,6 @@
|
|
|
643
643
|
.min-h-0 {
|
|
644
644
|
min-height: calc(var(--spacing) * 0);
|
|
645
645
|
}
|
|
646
|
-
.min-h-10 {
|
|
647
|
-
min-height: calc(var(--spacing) * 10);
|
|
648
|
-
}
|
|
649
646
|
.min-h-\[60px\] {
|
|
650
647
|
min-height: 60px;
|
|
651
648
|
}
|
|
@@ -854,6 +851,12 @@
|
|
|
854
851
|
.touch-none {
|
|
855
852
|
touch-action: none;
|
|
856
853
|
}
|
|
854
|
+
.resize {
|
|
855
|
+
resize: both;
|
|
856
|
+
}
|
|
857
|
+
.\[scrollbar-width\:thin\] {
|
|
858
|
+
scrollbar-width: thin;
|
|
859
|
+
}
|
|
857
860
|
.\[scrollbar-gutter\:stable\] {
|
|
858
861
|
scrollbar-gutter: stable;
|
|
859
862
|
}
|
|
@@ -987,9 +990,15 @@
|
|
|
987
990
|
.overflow-visible {
|
|
988
991
|
overflow: visible;
|
|
989
992
|
}
|
|
993
|
+
.\!overflow-x-hidden {
|
|
994
|
+
overflow-x: hidden !important;
|
|
995
|
+
}
|
|
990
996
|
.overflow-x-hidden {
|
|
991
997
|
overflow-x: hidden;
|
|
992
998
|
}
|
|
999
|
+
.\!overflow-y-scroll {
|
|
1000
|
+
overflow-y: scroll !important;
|
|
1001
|
+
}
|
|
993
1002
|
.overflow-y-auto {
|
|
994
1003
|
overflow-y: auto;
|
|
995
1004
|
}
|
|
@@ -1435,6 +1444,9 @@
|
|
|
1435
1444
|
.px-0 {
|
|
1436
1445
|
padding-inline: calc(var(--spacing) * 0);
|
|
1437
1446
|
}
|
|
1447
|
+
.px-1 {
|
|
1448
|
+
padding-inline: calc(var(--spacing) * 1);
|
|
1449
|
+
}
|
|
1438
1450
|
.px-2 {
|
|
1439
1451
|
padding-inline: calc(var(--spacing) * 2);
|
|
1440
1452
|
}
|
|
@@ -1837,9 +1849,6 @@
|
|
|
1837
1849
|
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-fuchsia-500) 20%, transparent) var(--tw-shadow-alpha), transparent);
|
|
1838
1850
|
}
|
|
1839
1851
|
}
|
|
1840
|
-
.ring-destructive {
|
|
1841
|
-
--tw-ring-color: var(--destructive);
|
|
1842
|
-
}
|
|
1843
1852
|
.ring-destructive\/20 {
|
|
1844
1853
|
--tw-ring-color: var(--destructive);
|
|
1845
1854
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -2170,19 +2179,54 @@
|
|
|
2170
2179
|
z-index: 20;
|
|
2171
2180
|
}
|
|
2172
2181
|
}
|
|
2182
|
+
.focus-within\:border-b-2 {
|
|
2183
|
+
&:focus-within {
|
|
2184
|
+
border-bottom-style: var(--tw-border-style);
|
|
2185
|
+
border-bottom-width: 2px;
|
|
2186
|
+
}
|
|
2187
|
+
}
|
|
2188
|
+
.focus-within\:border-destructive {
|
|
2189
|
+
&:focus-within {
|
|
2190
|
+
border-color: var(--destructive);
|
|
2191
|
+
}
|
|
2192
|
+
}
|
|
2173
2193
|
.focus-within\:border-primary {
|
|
2174
2194
|
&:focus-within {
|
|
2175
2195
|
border-color: var(--primary);
|
|
2176
2196
|
}
|
|
2177
2197
|
}
|
|
2178
|
-
.focus-within\:
|
|
2198
|
+
.focus-within\:bg-input\/70 {
|
|
2179
2199
|
&:focus-within {
|
|
2180
|
-
|
|
2200
|
+
background-color: var(--input);
|
|
2181
2201
|
@supports (color: color-mix(in lab, red, red)) {
|
|
2182
|
-
|
|
2202
|
+
background-color: color-mix(in oklab, var(--input) 70%, transparent);
|
|
2183
2203
|
}
|
|
2184
2204
|
}
|
|
2185
2205
|
}
|
|
2206
|
+
.focus-within\:bg-input\/80 {
|
|
2207
|
+
&:focus-within {
|
|
2208
|
+
background-color: var(--input);
|
|
2209
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2210
|
+
background-color: color-mix(in oklab, var(--input) 80%, transparent);
|
|
2211
|
+
}
|
|
2212
|
+
}
|
|
2213
|
+
}
|
|
2214
|
+
.focus-within\:underline {
|
|
2215
|
+
&:focus-within {
|
|
2216
|
+
text-decoration-line: underline;
|
|
2217
|
+
}
|
|
2218
|
+
}
|
|
2219
|
+
.focus-within\:ring-0 {
|
|
2220
|
+
&:focus-within {
|
|
2221
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
2222
|
+
box-shadow:
|
|
2223
|
+
var(--tw-inset-shadow),
|
|
2224
|
+
var(--tw-inset-ring-shadow),
|
|
2225
|
+
var(--tw-ring-offset-shadow),
|
|
2226
|
+
var(--tw-ring-shadow),
|
|
2227
|
+
var(--tw-shadow);
|
|
2228
|
+
}
|
|
2229
|
+
}
|
|
2186
2230
|
.focus-within\:ring-2 {
|
|
2187
2231
|
&:focus-within {
|
|
2188
2232
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
@@ -2194,6 +2238,14 @@
|
|
|
2194
2238
|
var(--tw-shadow);
|
|
2195
2239
|
}
|
|
2196
2240
|
}
|
|
2241
|
+
.focus-within\:ring-destructive\/20 {
|
|
2242
|
+
&:focus-within {
|
|
2243
|
+
--tw-ring-color: var(--destructive);
|
|
2244
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2245
|
+
--tw-ring-color: color-mix(in oklab, var(--destructive) 20%, transparent);
|
|
2246
|
+
}
|
|
2247
|
+
}
|
|
2248
|
+
}
|
|
2197
2249
|
.focus-within\:ring-primary\/20 {
|
|
2198
2250
|
&:focus-within {
|
|
2199
2251
|
--tw-ring-color: var(--primary);
|
|
@@ -2202,6 +2254,11 @@
|
|
|
2202
2254
|
}
|
|
2203
2255
|
}
|
|
2204
2256
|
}
|
|
2257
|
+
.focus-within\:ring-ring {
|
|
2258
|
+
&:focus-within {
|
|
2259
|
+
--tw-ring-color: var(--ring);
|
|
2260
|
+
}
|
|
2261
|
+
}
|
|
2205
2262
|
.hover\:border-gray-400 {
|
|
2206
2263
|
&:hover {
|
|
2207
2264
|
@media (hover: hover) {
|
|
@@ -2747,14 +2804,6 @@
|
|
|
2747
2804
|
}
|
|
2748
2805
|
}
|
|
2749
2806
|
}
|
|
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
2807
|
.focus\:ring-primary\/20 {
|
|
2759
2808
|
&:focus {
|
|
2760
2809
|
--tw-ring-color: var(--primary);
|
|
@@ -2958,14 +3007,14 @@
|
|
|
2958
3007
|
flex-direction: column;
|
|
2959
3008
|
}
|
|
2960
3009
|
}
|
|
2961
|
-
.data-
|
|
2962
|
-
&[data-
|
|
2963
|
-
|
|
3010
|
+
.data-highlighted\:bg-accent {
|
|
3011
|
+
&[data-highlighted] {
|
|
3012
|
+
background-color: var(--accent);
|
|
2964
3013
|
}
|
|
2965
3014
|
}
|
|
2966
|
-
.data-
|
|
2967
|
-
&[data-
|
|
2968
|
-
|
|
3015
|
+
.data-highlighted\:text-accent-foreground {
|
|
3016
|
+
&[data-highlighted] {
|
|
3017
|
+
color: var(--accent-foreground);
|
|
2969
3018
|
}
|
|
2970
3019
|
}
|
|
2971
3020
|
.data-\[accent\=on\]\:before\:bg-\[color\:var\(--dt-accent\)\] {
|
|
@@ -3176,10 +3225,9 @@
|
|
|
3176
3225
|
}
|
|
3177
3226
|
}
|
|
3178
3227
|
}
|
|
3179
|
-
.data-\[
|
|
3180
|
-
&[data-
|
|
3181
|
-
|
|
3182
|
-
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
3228
|
+
.data-\[placeholder\]\:text-muted-foreground {
|
|
3229
|
+
&[data-placeholder] {
|
|
3230
|
+
color: var(--muted-foreground);
|
|
3183
3231
|
}
|
|
3184
3232
|
}
|
|
3185
3233
|
.data-\[side\=bottom\]\:slide-in-from-top-2 {
|
|
@@ -3187,34 +3235,16 @@
|
|
|
3187
3235
|
--tw-enter-translate-y: -0.5rem;
|
|
3188
3236
|
}
|
|
3189
3237
|
}
|
|
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
3238
|
.data-\[side\=left\]\:slide-in-from-right-2 {
|
|
3197
3239
|
&[data-side=left] {
|
|
3198
3240
|
--tw-enter-translate-x: 0.5rem;
|
|
3199
3241
|
}
|
|
3200
3242
|
}
|
|
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
3243
|
.data-\[side\=right\]\:slide-in-from-left-2 {
|
|
3208
3244
|
&[data-side=right] {
|
|
3209
3245
|
--tw-enter-translate-x: -0.5rem;
|
|
3210
3246
|
}
|
|
3211
3247
|
}
|
|
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
3248
|
.data-\[side\=top\]\:slide-in-from-bottom-2 {
|
|
3219
3249
|
&[data-side=top] {
|
|
3220
3250
|
--tw-enter-translate-y: 0.5rem;
|
|
@@ -4215,6 +4245,31 @@
|
|
|
4215
4245
|
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
4216
4246
|
}
|
|
4217
4247
|
}
|
|
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
|
+
}
|
|
4218
4273
|
.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0 {
|
|
4219
4274
|
&:has([role=checkbox]) {
|
|
4220
4275
|
padding-right: calc(var(--spacing) * 0);
|
|
@@ -4475,6 +4530,21 @@
|
|
|
4475
4530
|
color: var(--foreground);
|
|
4476
4531
|
}
|
|
4477
4532
|
}
|
|
4533
|
+
[data-select-scroll-content] {
|
|
4534
|
+
overflow-y: scroll !important;
|
|
4535
|
+
scrollbar-width: thin !important;
|
|
4536
|
+
}
|
|
4537
|
+
[data-select-scroll-content]::-webkit-scrollbar {
|
|
4538
|
+
display: block !important;
|
|
4539
|
+
width: 8px !important;
|
|
4540
|
+
}
|
|
4541
|
+
[data-select-scroll-content]::-webkit-scrollbar-track {
|
|
4542
|
+
background: transparent !important;
|
|
4543
|
+
}
|
|
4544
|
+
[data-select-scroll-content]::-webkit-scrollbar-thumb {
|
|
4545
|
+
border-radius: 9999px !important;
|
|
4546
|
+
background: hsl(var(--border)) !important;
|
|
4547
|
+
}
|
|
4478
4548
|
@keyframes enter {
|
|
4479
4549
|
from {
|
|
4480
4550
|
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.11",
|
|
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.",
|