shadcn-ui-react 0.7.7 → 0.7.9

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/style.css CHANGED
@@ -312,6 +312,9 @@
312
312
  .invisible {
313
313
  visibility: hidden;
314
314
  }
315
+ .visible {
316
+ visibility: visible;
317
+ }
315
318
  .sr-only {
316
319
  position: absolute;
317
320
  width: 1px;
@@ -422,6 +425,9 @@
422
425
  .left-3 {
423
426
  left: calc(var(--spacing) * 3);
424
427
  }
428
+ .left-4 {
429
+ left: calc(var(--spacing) * 4);
430
+ }
425
431
  .left-\[50\%\] {
426
432
  left: 50%;
427
433
  }
@@ -521,9 +527,6 @@
521
527
  .hidden {
522
528
  display: none;
523
529
  }
524
- .inline {
525
- display: inline;
526
- }
527
530
  .inline-flex {
528
531
  display: inline-flex;
529
532
  }
@@ -533,10 +536,30 @@
533
536
  .aspect-square {
534
537
  aspect-ratio: 1 / 1;
535
538
  }
539
+ .size-3 {
540
+ width: calc(var(--spacing) * 3);
541
+ height: calc(var(--spacing) * 3);
542
+ }
543
+ .size-3\.5 {
544
+ width: calc(var(--spacing) * 3.5);
545
+ height: calc(var(--spacing) * 3.5);
546
+ }
536
547
  .size-4 {
537
548
  width: calc(var(--spacing) * 4);
538
549
  height: calc(var(--spacing) * 4);
539
550
  }
551
+ .size-5 {
552
+ width: calc(var(--spacing) * 5);
553
+ height: calc(var(--spacing) * 5);
554
+ }
555
+ .size-6 {
556
+ width: calc(var(--spacing) * 6);
557
+ height: calc(var(--spacing) * 6);
558
+ }
559
+ .size-7 {
560
+ width: calc(var(--spacing) * 7);
561
+ height: calc(var(--spacing) * 7);
562
+ }
540
563
  .size-8 {
541
564
  width: calc(var(--spacing) * 8);
542
565
  height: calc(var(--spacing) * 8);
@@ -586,6 +609,9 @@
586
609
  .h-12 {
587
610
  height: calc(var(--spacing) * 12);
588
611
  }
612
+ .h-14 {
613
+ height: calc(var(--spacing) * 14);
614
+ }
589
615
  .h-28 {
590
616
  height: calc(var(--spacing) * 28);
591
617
  }
@@ -610,8 +636,8 @@
610
636
  .h-px {
611
637
  height: 1px;
612
638
  }
613
- .max-h-80 {
614
- max-height: calc(var(--spacing) * 80);
639
+ .max-h-72 {
640
+ max-height: calc(var(--spacing) * 72);
615
641
  }
616
642
  .max-h-96 {
617
643
  max-height: calc(var(--spacing) * 96);
@@ -628,6 +654,9 @@
628
654
  .min-h-\[60px\] {
629
655
  min-height: 60px;
630
656
  }
657
+ .w-\(--radix-select-trigger-width\) {
658
+ width: var(--radix-select-trigger-width);
659
+ }
631
660
  .w-2 {
632
661
  width: calc(var(--spacing) * 2);
633
662
  }
@@ -729,9 +758,6 @@
729
758
  .min-w-32 {
730
759
  min-width: calc(var(--spacing) * 32);
731
760
  }
732
- .min-w-48 {
733
- min-width: calc(var(--spacing) * 48);
734
- }
735
761
  .min-w-\[8rem\] {
736
762
  min-width: 8rem;
737
763
  }
@@ -803,6 +829,9 @@
803
829
  .rotate-90 {
804
830
  rotate: 90deg;
805
831
  }
832
+ .rotate-180 {
833
+ rotate: 180deg;
834
+ }
806
835
  .transform {
807
836
  transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
808
837
  }
@@ -934,12 +963,20 @@
934
963
  .gap-y-1 {
935
964
  row-gap: calc(var(--spacing) * 1);
936
965
  }
966
+ .truncate {
967
+ overflow: hidden;
968
+ text-overflow: ellipsis;
969
+ white-space: nowrap;
970
+ }
937
971
  .overflow-auto {
938
972
  overflow: auto;
939
973
  }
940
974
  .overflow-hidden {
941
975
  overflow: hidden;
942
976
  }
977
+ .overflow-hidden\! {
978
+ overflow: hidden !important;
979
+ }
943
980
  .overflow-visible {
944
981
  overflow: visible;
945
982
  }
@@ -949,6 +986,9 @@
949
986
  .overflow-y-auto {
950
987
  overflow-y: auto;
951
988
  }
989
+ .overscroll-contain {
990
+ overscroll-behavior: contain;
991
+ }
952
992
  .rounded {
953
993
  border-radius: 0.25rem;
954
994
  }
@@ -1452,6 +1492,9 @@
1452
1492
  .pr-12 {
1453
1493
  padding-right: calc(var(--spacing) * 12);
1454
1494
  }
1495
+ .pr-14 {
1496
+ padding-right: calc(var(--spacing) * 14);
1497
+ }
1455
1498
  .pb-4 {
1456
1499
  padding-bottom: calc(var(--spacing) * 4);
1457
1500
  }
@@ -1473,6 +1516,9 @@
1473
1516
  .pl-12 {
1474
1517
  padding-left: calc(var(--spacing) * 12);
1475
1518
  }
1519
+ .pl-14 {
1520
+ padding-left: calc(var(--spacing) * 14);
1521
+ }
1476
1522
  .text-center {
1477
1523
  text-align: center;
1478
1524
  }
@@ -1505,6 +1551,15 @@
1505
1551
  .text-\[0\.8rem\] {
1506
1552
  font-size: 0.8rem;
1507
1553
  }
1554
+ .text-\[0\.85rem\] {
1555
+ font-size: 0.85rem;
1556
+ }
1557
+ .text-\[1\.2rem\] {
1558
+ font-size: 1.2rem;
1559
+ }
1560
+ .text-\[1\.3rem\] {
1561
+ font-size: 1.3rem;
1562
+ }
1508
1563
  .text-\[1\.15rem\] {
1509
1564
  font-size: 1.15rem;
1510
1565
  }
@@ -1557,7 +1612,7 @@
1557
1612
  --tw-tracking: var(--tracking-widest);
1558
1613
  letter-spacing: var(--tracking-widest);
1559
1614
  }
1560
- .break-words {
1615
+ .wrap-break-word {
1561
1616
  overflow-wrap: break-word;
1562
1617
  }
1563
1618
  .whitespace-nowrap {
@@ -1653,6 +1708,9 @@
1653
1708
  .opacity-90 {
1654
1709
  opacity: 90%;
1655
1710
  }
1711
+ .opacity-100 {
1712
+ opacity: 100%;
1713
+ }
1656
1714
  .shadow {
1657
1715
  --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));
1658
1716
  box-shadow:
@@ -1725,6 +1783,15 @@
1725
1783
  var(--tw-ring-shadow),
1726
1784
  var(--tw-shadow);
1727
1785
  }
1786
+ .shadow-xl {
1787
+ --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
1788
+ box-shadow:
1789
+ var(--tw-inset-shadow),
1790
+ var(--tw-inset-ring-shadow),
1791
+ var(--tw-ring-offset-shadow),
1792
+ var(--tw-ring-shadow),
1793
+ var(--tw-shadow);
1794
+ }
1728
1795
  .ring-0 {
1729
1796
  --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1730
1797
  box-shadow:
@@ -1883,6 +1950,9 @@
1883
1950
  -moz-user-select: none;
1884
1951
  user-select: none;
1885
1952
  }
1953
+ .\[scrollbar-gutter\:stable\] {
1954
+ scrollbar-gutter: stable;
1955
+ }
1886
1956
  .duration-200 {
1887
1957
  animation-duration: 200ms;
1888
1958
  }
@@ -2082,6 +2152,33 @@
2082
2152
  z-index: 20;
2083
2153
  }
2084
2154
  }
2155
+ .focus-within\:border-primary\/60 {
2156
+ &:focus-within {
2157
+ border-color: var(--primary);
2158
+ @supports (color: color-mix(in lab, red, red)) {
2159
+ border-color: color-mix(in oklab, var(--primary) 60%, transparent);
2160
+ }
2161
+ }
2162
+ }
2163
+ .focus-within\:ring-2 {
2164
+ &:focus-within {
2165
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
2166
+ box-shadow:
2167
+ var(--tw-inset-shadow),
2168
+ var(--tw-inset-ring-shadow),
2169
+ var(--tw-ring-offset-shadow),
2170
+ var(--tw-ring-shadow),
2171
+ var(--tw-shadow);
2172
+ }
2173
+ }
2174
+ .focus-within\:ring-primary\/20 {
2175
+ &:focus-within {
2176
+ --tw-ring-color: var(--primary);
2177
+ @supports (color: color-mix(in lab, red, red)) {
2178
+ --tw-ring-color: color-mix(in oklab, var(--primary) 20%, transparent);
2179
+ }
2180
+ }
2181
+ }
2085
2182
  .hover\:border-gray-400 {
2086
2183
  &:hover {
2087
2184
  @media (hover: hover) {
@@ -2126,6 +2223,16 @@
2126
2223
  }
2127
2224
  }
2128
2225
  }
2226
+ .hover\:bg-accent\/70 {
2227
+ &:hover {
2228
+ @media (hover: hover) {
2229
+ background-color: var(--accent);
2230
+ @supports (color: color-mix(in lab, red, red)) {
2231
+ background-color: color-mix(in oklab, var(--accent) 70%, transparent);
2232
+ }
2233
+ }
2234
+ }
2235
+ }
2129
2236
  .hover\:bg-amber-500\/10 {
2130
2237
  &:hover {
2131
2238
  @media (hover: hover) {
@@ -2662,14 +2769,6 @@
2662
2769
  --tw-ring-color: var(--ring);
2663
2770
  }
2664
2771
  }
2665
- .focus\:ring-ring\/40 {
2666
- &:focus {
2667
- --tw-ring-color: var(--ring);
2668
- @supports (color: color-mix(in lab, red, red)) {
2669
- --tw-ring-color: color-mix(in oklab, var(--ring) 40%, transparent);
2670
- }
2671
- }
2672
- }
2673
2772
  .focus\:ring-offset-2 {
2674
2773
  &:focus {
2675
2774
  --tw-ring-offset-width: 2px;
@@ -3736,11 +3835,6 @@
3736
3835
  max-width: 420px;
3737
3836
  }
3738
3837
  }
3739
- .md\:max-w-sm {
3740
- @media (width >= 48rem) {
3741
- max-width: var(--container-sm);
3742
- }
3743
- }
3744
3838
  .lg\:block {
3745
3839
  @media (width >= 64rem) {
3746
3840
  display: block;
@@ -3900,6 +3994,26 @@
3900
3994
  width: calc(var(--spacing) * 5);
3901
3995
  }
3902
3996
  }
3997
+ .\[\&_\[data-radix-select-viewport\]\]\:max-h-72 {
3998
+ & [data-radix-select-viewport] {
3999
+ max-height: calc(var(--spacing) * 72);
4000
+ }
4001
+ }
4002
+ .\[\&_\[data-radix-select-viewport\]\]\:overflow-y-auto {
4003
+ & [data-radix-select-viewport] {
4004
+ overflow-y: auto;
4005
+ }
4006
+ }
4007
+ .\[\&_\[data-radix-select-viewport\]\]\:overscroll-contain {
4008
+ & [data-radix-select-viewport] {
4009
+ overscroll-behavior: contain;
4010
+ }
4011
+ }
4012
+ .\[\&_\[data-radix-select-viewport\]\]\:\[scrollbar-gutter\:stable\] {
4013
+ & [data-radix-select-viewport] {
4014
+ scrollbar-gutter: stable;
4015
+ }
4016
+ }
3903
4017
  .\[\&_p\]\:leading-relaxed {
3904
4018
  & p {
3905
4019
  --tw-leading: var(--leading-relaxed);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shadcn-ui-react",
3
- "version": "0.7.7",
3
+ "version": "0.7.9",
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.",
@@ -29,11 +29,12 @@
29
29
  },
30
30
  "keywords": [
31
31
  "shadcn-ui-react",
32
- "react",
33
- "react-component",
34
32
  "ui",
35
33
  "shadcn",
36
- "shadcn-ui"
34
+ "shadcn/ui",
35
+ "shadcn-ui",
36
+ "react",
37
+ "react-component"
37
38
  ],
38
39
  "repository": {
39
40
  "type": "git",
@@ -58,45 +59,45 @@
58
59
  "@eslint/config-array": "^0.23.5",
59
60
  "@eslint/object-schema": "^3.0.5",
60
61
  "@hookform/resolvers": "^5.2.2",
61
- "@tailwindcss/postcss": "^4.2.4",
62
- "@tailwindcss/vite": "^4.2.4",
62
+ "@tailwindcss/postcss": "^4.3.0",
63
+ "@tailwindcss/vite": "^4.3.0",
63
64
  "@testing-library/dom": "^10.4.1",
64
65
  "@testing-library/jest-dom": "^6.9.1",
65
66
  "@testing-library/react": "^16.3.2",
66
67
  "@testing-library/user-event": "^14.6.1",
67
68
  "@types/jest": "^30.0.0",
68
- "@types/node": "^25.6.0",
69
+ "@types/node": "^25.6.2",
69
70
  "@types/react": "^19.2.14",
70
71
  "@types/react-dom": "^19.2.3",
71
72
  "@typescript-eslint/eslint-plugin": "^8.59.2",
72
73
  "@typescript-eslint/parser": "^8.59.2",
73
74
  "autoprefixer": "^10.5.0",
74
- "babel-jest": "^30.3.0",
75
+ "babel-jest": "^30.4.1",
75
76
  "cross-env": "^10.1.0",
76
77
  "eslint": "^10.3.0",
77
78
  "eslint-plugin-react-hooks": "^7.1.1",
78
79
  "eslint-plugin-react-refresh": "^0.5.2",
79
80
  "identity-obj-proxy": "^3.0.0",
80
- "jest": "^30.3.0",
81
- "jest-environment-jsdom": "^30.3.0",
82
- "react": "^19.2.5",
83
- "react-day-picker": "^9.14.0",
84
- "react-dom": "^19.2.5",
85
- "react-test-renderer": "^19.2.5",
81
+ "jest": "^30.4.2",
82
+ "jest-environment-jsdom": "^30.4.1",
83
+ "react": "^19.2.6",
84
+ "react-day-picker": "^10.0.0",
85
+ "react-dom": "^19.2.6",
86
+ "react-test-renderer": "^19.2.6",
86
87
  "rimraf": "^6.1.3",
87
- "tailwindcss": "^4.2.4",
88
+ "tailwindcss": "^4.3.0",
88
89
  "tailwindcss-animate": "^1.0.7",
89
90
  "tsup": "^8.5.1",
90
91
  "typescript": "^6.0.3",
91
92
  "vaul": "^1.1.2",
92
- "vite": "^8.0.10",
93
+ "vite": "^8.0.11",
93
94
  "vite-plugin-dts": "^5.0.0",
94
95
  "vite-plugin-ts-alias": "^0.1.1",
95
96
  "zod": "^4.4.3"
96
97
  },
97
98
  "peerDependencies": {
98
- "react": "^17.0.0 || ^18.3.1 || ^19.2.5 || ^20.0.0",
99
- "react-dom": "^17.0.0 || ^18.3.1 || ^19.2.5 || ^20.0.0"
99
+ "react": "^17.0.0 || ^18.3.1 || ^19.2.6 || ^20.0.0",
100
+ "react-dom": "^17.0.0 || ^18.3.1 || ^19.2.6 || ^20.0.0"
100
101
  },
101
102
  "publishConfig": {
102
103
  "access": "public"
@@ -151,4 +152,4 @@
151
152
  "use-debounce": "^10.1.1",
152
153
  "vaul": "^1.1.2"
153
154
  }
154
- }
155
+ }